From 1f710167de17f587aaa9f0b89bcbd22c03df5626 Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Thu, 12 Mar 2020 10:54:30 -0700 Subject: [PATCH] Ensure that we have seenAffectedFiles map when files are added to pending emit because they were present in the old state (#37302) * Make the systems for baselining default to pretty * Ensure that we have seenAffectedFiles map when files are added to pending emit because they were present in the old state This happens in build scenarios since semantic diagnostics are queried before emit and hence files are added to seenAffectedFiles pending emit Fixes #37269 --- src/compiler/builder.ts | 5 +- src/harness/fakesHosts.ts | 5 + src/harness/virtualFileSystemWithWatch.ts | 5 + src/testRunner/unittests/tsbuild/watchMode.ts | 32 ++++ .../modules-and-globals-mixed-in-amd.js | 12 +- .../multiple-emitHelpers-in-all-projects.js | 12 +- .../multiple-prologues-in-all-projects.js | 12 +- .../shebang-in-all-projects.js | 12 +- .../stripInternal.js | 12 +- .../triple-slash-refs-in-all-projects.js | 12 +- .../multiple-emitHelpers-in-all-projects.js | 12 +- .../multiple-prologues-in-all-projects.js | 12 +- .../stripInternal.js | 10 +- .../modules-and-globals-mixed-in-amd.js | 10 +- .../multiple-emitHelpers-in-all-projects.js | 10 +- .../multiple-prologues-in-all-projects.js | 10 +- .../initial-build/shebang-in-all-projects.js | 10 +- .../initial-build/stripInternal.js | 10 +- .../triple-slash-refs-in-all-projects.js | 10 +- ...e-resolution-finds-original-source-file.js | 10 +- ...ntax-errors-after-change-to-config-file.js | 9 +- ...s-syntax-errors-after-change-to-ts-file.js | 9 +- .../reports-syntax-errors-in-config-file.js | 9 +- .../when-tsconfig-extends-the-missing-file.js | 15 +- .../reports-syntax-errors-in-config-file.js | 9 +- ...ter-initial-build-doesnt-build-anything.js | 14 +- ...ter-initial-build-doesnt-build-anything.js | 8 +- ...s-not-in-rootDir-at-the-import-location.js | 59 +++++-- ...ts-the-error-about-it-by-stopping-build.js | 8 +- ...ng-setup-correctly-and-reports-no-error.js | 14 +- ...-emitDeclarationOnly-and-declarationMap.js | 6 +- ...import-project-with-emitDeclarationOnly.js | 6 +- ...mports-project-with-emitDeclarationOnly.js | 6 +- ...mports-project-with-emitDeclarationOnly.js | 8 +- ...-emitDeclarationOnly-and-declarationMap.js | 6 +- ...import-project-with-emitDeclarationOnly.js | 6 +- ...mports-project-with-emitDeclarationOnly.js | 6 +- ...is-empty-and-no-references-are-provided.js | 9 +- .../initial-build/test-exit-code.js | 6 +- ...-transitive-module-with-isolatedModules.js | 8 +- .../inferred-type-from-transitive-module.js | 8 +- ...hange-in-signature-with-isolatedModules.js | 15 +- ...-transitive-module-with-isolatedModules.js | 6 +- .../inferred-type-from-transitive-module.js | 6 +- ...hange-in-signature-with-isolatedModules.js | 6 +- ...s-merged-and-contains-late-bound-member.js | 8 +- ...s-merged-and-contains-late-bound-member.js | 6 +- ...zed-module-specifiers-resolve-correctly.js | 14 +- ...is-empty-and-no-references-are-provided.js | 9 +- .../non-module-projects-without-prepend.js | 14 +- ...erated-when-incremental-is-set-to-false.js | 14 +- ...-buildInfo-absence-results-in-new-build.js | 14 +- .../baseline-sectioned-sourcemaps.js | 12 +- .../emitHelpers-in-all-projects.js | 12 +- .../multiple-prologues-in-all-projects.js | 12 +- .../shebang-in-all-projects.js | 12 +- .../strict-in-all-projects.js | 12 +- ...en-one-two-three-are-prepended-in-order.js | 14 +- .../stripInternal.js | 12 +- .../triple-slash-refs-in-all-projects.js | 12 +- .../baseline-sectioned-sourcemaps.js | 14 +- .../emitHelpers-in-all-projects.js | 14 +- ...tHelpers-in-only-one-dependency-project.js | 14 +- .../multiple-emitHelpers-in-all-projects.js | 14 +- ...tiple-emitHelpers-in-different-projects.js | 14 +- .../multiple-prologues-in-all-projects.js | 14 +- ...ultiple-prologues-in-different-projects.js | 14 +- .../shebang-in-all-projects.js | 14 +- .../shebang-in-only-one-dependency-project.js | 14 +- .../strict-in-all-projects.js | 14 +- .../strict-in-one-dependency.js | 14 +- ...en-one-two-three-are-prepended-in-order.js | 18 +-- .../stripInternal-jsdoc-style-comment.js | 14 +- ...en-one-two-three-are-prepended-in-order.js | 18 +-- ...-jsdoc-style-with-comments-emit-enabled.js | 14 +- ...en-one-two-three-are-prepended-in-order.js | 18 +-- ...en-one-two-three-are-prepended-in-order.js | 18 +-- ...tripInternal-with-comments-emit-enabled.js | 14 +- .../stripInternal.js | 14 +- .../triple-slash-refs-in-all-projects.js | 14 +- .../triple-slash-refs-in-one-project.js | 14 +- ...t-composite-but-uses-project-references.js | 12 +- ...-source-files-are-empty-in-the-own-file.js | 14 +- .../emitHelpers-in-all-projects.js | 14 +- ...tHelpers-in-only-one-dependency-project.js | 14 +- .../multiple-emitHelpers-in-all-projects.js | 14 +- ...tiple-emitHelpers-in-different-projects.js | 14 +- .../multiple-prologues-in-all-projects.js | 14 +- ...ultiple-prologues-in-different-projects.js | 14 +- .../strict-in-all-projects.js | 14 +- .../strict-in-one-dependency.js | 14 +- ...en-one-two-three-are-prepended-in-order.js | 18 +-- .../stripInternal-jsdoc-style-comment.js | 14 +- ...en-one-two-three-are-prepended-in-order.js | 18 +-- ...en-one-two-three-are-prepended-in-order.js | 18 +-- ...tripInternal-with-comments-emit-enabled.js | 14 +- .../stripInternal.js | 14 +- .../baseline-sectioned-sourcemaps.js | 14 +- .../declarationMap-and-sourceMap-disabled.js | 14 +- .../emitHelpers-in-all-projects.js | 14 +- ...tHelpers-in-only-one-dependency-project.js | 14 +- .../multiple-emitHelpers-in-all-projects.js | 14 +- ...tiple-emitHelpers-in-different-projects.js | 14 +- .../multiple-prologues-in-all-projects.js | 14 +- ...ultiple-prologues-in-different-projects.js | 14 +- .../initial-build/shebang-in-all-projects.js | 14 +- .../shebang-in-only-one-dependency-project.js | 14 +- .../initial-build/strict-in-all-projects.js | 14 +- .../initial-build/strict-in-one-dependency.js | 14 +- ...hen-internal-is-inside-another-internal.js | 14 +- ...en-one-two-three-are-prepended-in-order.js | 14 +- .../stripInternal-jsdoc-style-comment.js | 14 +- ...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 | 14 +- ...en-one-two-three-are-prepended-in-order.js | 14 +- ...nal-when-prepend-is-completely-internal.js | 10 +- ...en-one-two-three-are-prepended-in-order.js | 14 +- ...tripInternal-with-comments-emit-enabled.js | 14 +- .../initial-build/stripInternal.js | 14 +- .../triple-slash-refs-in-all-projects.js | 14 +- .../triple-slash-refs-in-one-project.js | 14 +- ...roject-is-not-composite-but-incremental.js | 14 +- ...t-composite-but-uses-project-references.js | 14 +- ...final-project-specifies-tsBuildInfoFile.js | 14 +- ...-source-files-are-empty-in-the-own-file.js | 14 +- ...nfo-file-because-no-rootDir-in-the-base.js | 19 ++- ...reports-error-for-same-tsbuildinfo-file.js | 19 ++- ...eports-no-error-when-tsbuildinfo-differ.js | 10 +- ...ting-json-module-from-project-reference.js | 10 +- .../initial-build/include-only.js | 9 +- .../initial-build/sourcemap.js | 6 +- .../initial-build/without-outDir.js | 6 +- ...ting-json-module-from-project-reference.js | 6 +- .../no-change-run/sourcemap.js | 4 +- .../no-change-run/without-outDir.js | 4 +- ...-type-only-changes-in-upstream-projects.js | 16 +- ...uilds-from-start-if-force-option-is-set.js | 14 +- ...uilds-when-extended-config-file-changes.js | 10 +- .../rebuilds-when-tsconfig-changes.js | 10 +- .../incremental-declaration-changes/sample.js | 16 +- .../when-declaration-option-changes.js | 6 +- .../when-esModuleInterop-option-changes.js | 10 +- ...en-logic-config-changes-declaration-dir.js | 12 +- .../when-module-option-changes.js | 6 +- .../when-target-option-changes.js | 6 +- .../Only-builds-the-leaf-node-project.js | 10 +- ...it-would-skip-builds-during-a-dry-build.js | 6 +- .../sample.js | 16 +- ...composite-or-doesnt-have-any-references.js | 6 +- .../can-detect-when-and-what-to-rebuild.js | 8 +- ...ojects-if-upstream-projects-have-errors.js | 23 ++- ...does-not-write-any-files-in-a-dry-build.js | 6 +- ...uilds-when-extended-config-file-changes.js | 14 +- .../tsbuild/sample1/initial-build/sample.js | 14 +- .../when-declaration-option-changes.js | 6 +- .../when-esModuleInterop-option-changes.js | 14 +- .../when-logic-specifies-tsBuildInfoFile.js | 14 +- .../when-module-option-changes.js | 6 +- .../when-target-option-changes.js | 6 +- .../tsbuild/sample1/no-change-run/sample.js | 8 +- ...de-resolution-with-external-module-name.js | 9 +- .../reports-syntax-errors-in-config-file.js | 52 +++--- .../demo/updates-with-bad-reference.js | 138 +++++++++++----- .../demo/updates-with-circular-reference.js | 27 ++-- .../does-not-emit-any-files-on-error.js | 26 +-- .../creates-solution-in-watch-mode.js | 4 +- .../incremental-updates-in-verbose-mode.js | 42 ++--- .../when-file-with-no-error-changes.js | 28 ++-- ...ing-errors-only-changed-file-is-emitted.js | 20 ++- .../when-file-with-no-error-changes.js | 24 ++- ...ixing-error-files-all-files-are-emitted.js | 16 +- .../when-preserveWatchOutput-is-not-used.js | 36 +++-- ...veWatchOutput-is-passed-on-command-line.js | 39 +++-- ...tches-config-files-that-are-not-present.js | 13 +- ...e-down-stream-project-and-then-fixes-it.js | 25 ++- ...ncing-project-even-for-non-local-change.js | 12 +- ...le-is-added,-and-its-subsequent-updates.js | 12 +- ...hanges-and-reports-found-errors-message.js | 16 +- ...not-start-build-of-referencing-projects.js | 8 +- ...le-is-added,-and-its-subsequent-updates.js | 12 +- ...hanges-and-reports-found-errors-message.js | 16 +- ...not-start-build-of-referencing-projects.js | 8 +- ...hen-noUnusedParameters-changes-to-false.js | 102 ++++++++++++ .../reexport/Reports-errors-correctly.js | 53 ++++--- ...and-line-but-has-tsbuild-info-in-config.js | 9 +- ...ibling-package-through-indirect-symlink.js | 9 +- .../initial-build/with-noEmitOnError.js | 9 +- ...Result-on-WatchCompilerHostOfConfigFile.js | 10 +- .../consoleClearing/with---diagnostics.js | 10 +- .../with---extendedDiagnostics.js | 10 +- .../with---preserveWatchOutput.js | 10 +- ...---diagnostics-or---extendedDiagnostics.js | 8 +- ...ms-correctly-in-incremental-compilation.js | 8 +- ...s-deleted-and-created-as-part-of-change.js | 8 +- ...ndles-new-lines-carriageReturn-lineFeed.js | 8 +- .../handles-new-lines-lineFeed.js | 8 +- .../should-emit-specified-file.js | 8 +- ...elf-if-'--isolatedModules'-is-specified.js | 24 ++- ...-if-'--out'-or-'--outFile'-is-specified.js | 8 +- ...should-be-up-to-date-with-deleted-files.js | 8 +- ...-be-up-to-date-with-newly-created-files.js | 8 +- ...-to-date-with-the-reference-map-changes.js | 64 +++++--- ...les-referencing-it-if-its-shape-changed.js | 20 ++- ...should-detect-changes-in-non-root-files.js | 12 +- .../should-detect-non-existing-code-file.js | 68 +++++--- .../should-detect-removed-code-file.js | 32 ++-- ...ll-files-if-a-global-file-changed-shape.js | 8 +- ...ould-return-cascaded-affected-file-list.js | 16 +- ...fine-for-files-with-circular-references.js | 8 +- .../config-does-not-have-out-or-outFile.js | 8 +- .../config-has-out.js | 8 +- .../config-has-outFile.js | 8 +- ...ltiple-declaration-files-in-the-program.js | 12 +- ...ltiple-declaration-files-in-the-program.js | 12 +- ...-recursive-directory-watcher-is-invoked.js | 8 +- ...es-errors-when-deep-import-file-changes.js | 8 +- ...import-through-declaration-file-changes.js | 8 +- ...g-a-deep-multilevel-import-that-changes.js | 50 ++++-- ...n-there-are-circular-import-and-exports.js | 8 +- ...here-are-no-circular-import-and-exports.js | 8 +- .../with-noEmitOnError.js | 16 +- ...es-errors-when-deep-import-file-changes.js | 8 +- ...import-through-declaration-file-changes.js | 8 +- ...g-a-deep-multilevel-import-that-changes.js | 50 ++++-- ...n-there-are-circular-import-and-exports.js | 8 +- ...here-are-no-circular-import-and-exports.js | 8 +- .../with-noEmitOnError.js | 16 +- ...es-errors-when-deep-import-file-changes.js | 16 +- ...import-through-declaration-file-changes.js | 16 +- ...g-a-deep-multilevel-import-that-changes.js | 29 +++- ...n-there-are-circular-import-and-exports.js | 16 +- ...here-are-no-circular-import-and-exports.js | 16 +- .../default/with-noEmitOnError.js | 16 +- ...es-errors-when-deep-import-file-changes.js | 16 +- ...import-through-declaration-file-changes.js | 16 +- ...g-a-deep-multilevel-import-that-changes.js | 29 +++- ...n-there-are-circular-import-and-exports.js | 16 +- ...here-are-no-circular-import-and-exports.js | 16 +- .../defaultAndD/with-noEmitOnError.js | 16 +- ...es-errors-when-deep-import-file-changes.js | 16 +- ...import-through-declaration-file-changes.js | 16 +- ...g-a-deep-multilevel-import-that-changes.js | 29 +++- ...n-there-are-circular-import-and-exports.js | 16 +- ...here-are-no-circular-import-and-exports.js | 16 +- .../isolatedModules/with-noEmitOnError.js | 16 +- ...es-errors-when-deep-import-file-changes.js | 16 +- ...import-through-declaration-file-changes.js | 16 +- ...g-a-deep-multilevel-import-that-changes.js | 29 +++- ...n-there-are-circular-import-and-exports.js | 16 +- ...here-are-no-circular-import-and-exports.js | 16 +- .../isolatedModulesAndD/with-noEmitOnError.js | 16 +- ...nging-module-name-with-different-casing.js | 16 +- ...hen-renaming-file-with-different-casing.js | 16 +- ...al-with-circular-references-incremental.js | 2 + ...remental-with-circular-references-watch.js | 8 +- .../own-file-emit-with-errors-incremental.js | 20 ++- .../own-file-emit-with-errors-watch.js | 24 ++- ...wn-file-emit-without-errors-incremental.js | 2 + .../own-file-emit-without-errors-watch.js | 8 +- .../with---out-incremental.js | 1 + .../module-compilation/with---out-watch.js | 4 +- .../own-file-emit-with-errors-incremental.js | 20 ++- .../own-file-emit-with-errors-watch.js | 24 ++- ...eters-that-are-not-relative-incremental.js | 2 + ...-parameters-that-are-not-relative-watch.js | 8 +- ...without-commandline-options-incremental.js | 2 + .../without-commandline-options-watch.js | 8 +- .../incremental/with---out-incremental.js | 1 + .../tscWatch/incremental/with---out-watch.js | 4 +- ...nerated-when-the-config-file-has-errors.js | 20 ++- ...configFile-contents-when-options-change.js | 56 +++++-- ...rs-document-is-not-contained-in-project.js | 12 +- ...rts-errors-when-the-config-file-changes.js | 20 ++- ...nostics-when-'--noUnusedLabels'-changes.js | 20 ++- ...-a-configured-program-without-file-list.js | 8 +- ...hould-remove-the-module-not-found-error.js | 16 +- ...has-changed-(new-file-in-list-of-files).js | 8 +- ...ot-files-has-changed-(new-file-on-disk).js | 8 +- ...config-file-name-with-difference-casing.js | 4 +- ...-when-set-of-root-files-was-not-changed.js | 8 +- ...iles-are-reflected-in-project-structure.js | 8 +- .../config-file-includes-the-file.js | 4 +- .../programUpdates/config-file-is-deleted.js | 9 +- ...s-changes-in-lib-section-of-config-file.js | 16 +- ...te-configured-project-without-file-list.js | 4 +- .../create-watch-without-config-file.js | 20 ++- ...eleted-files-affect-project-structure-2.js | 16 +- .../deleted-files-affect-project-structure.js | 16 +- ...iles-explicitly-excluded-in-config-file.js | 4 +- .../handle-recreated-files-correctly.js | 12 +- ...se-they-were-added-with-tripleSlashRefs.js | 24 ++- ...esnt-have-errors,-they-are-not-reported.js | 4 +- ...ndle-@types-if-input-file-list-is-empty.js | 12 +- ...e-tolerated-without-crashing-the-server.js | 9 +- ...tore-the-states-for-configured-projects.js | 20 ++- ...estore-the-states-for-inferred-projects.js | 20 ++- ...rors-correctly-with-file-not-in-rootDir.js | 24 ++- ...s-errors-correctly-with-isolatedModules.js | 16 +- ...non-existing-directories-in-config-file.js | 4 +- ...ting-files-specified-in-the-config-file.js | 9 +- .../declarationDir-is-specified.js | 4 +- ...-outDir-and-declarationDir-is-specified.js | 4 +- .../when-outDir-is-specified.js | 4 +- .../with-outFile.js | 4 +- .../without-outDir-or-outFile-is-specified.js | 4 +- ...odule-resolution-changes-in-config-file.js | 8 +- .../should-reflect-change-in-config-file.js | 8 +- ...errors-and-still-try-to-build-a-project.js | 12 +- ...when-file-changes-from-global-to-module.js | 8 +- ...-from-config-file-path-if-config-exists.js | 4 +- ...tes-diagnostics-and-emit-for-decorators.js | 36 +++-- ...it-when-useDefineForClassFields-changes.js | 16 +- ...mit-when-importsNotUsedAsValues-changes.js | 24 +-- ...on-emit-is-disabled-in-compiler-options.js | 44 ++++-- .../with-default-options.js | 44 ++++-- .../with-skipDefaultLibCheck.js | 28 ++-- .../with-skipLibCheck.js | 28 ++-- .../with-default-options.js | 44 ++++-- .../with-skipDefaultLibCheck.js | 28 ++-- .../with-skipLibCheck.js | 28 ++-- ...when-ambient-modules-of-program-changes.js | 38 +++-- ...orceConsistentCasingInFileNames-changes.js | 16 +- ...s-errors-when-noErrorTruncation-changes.js | 24 ++- ...es-errors-when-strictNullChecks-changes.js | 32 ++-- ...solution-when-resolveJsonModule-changes.js | 16 +- ...and-new-file-is-added-as-part-of-change.js | 8 +- ...ibCheck-and-skipDefaultLibCheck-changes.js | 148 ++++++++++++------ ...-file-is-changed-but-its-content-havent.js | 8 +- .../watch-with-configFile.js | 4 +- .../watch-without-configFile.js | 4 +- ...are-global-and-installed-at-later-point.js | 13 +- .../with-modules-linked-to-sibling-folder.js | 4 +- ...cluded-file-with-ambient-module-changes.js | 16 +- ...le-resolution-changes-to-ambient-module.js | 16 +- ...der-that-already-contains-@types-folder.js | 16 +- ...rogram-with-files-from-external-library.js | 8 +- ...polling-when-renaming-file-in-subfolder.js | 8 +- ...rectory-when-renaming-file-in-subfolder.js | 8 +- ...tchFile-when-renaming-file-in-subfolder.js | 8 +- ...ymlinks-to-folders-in-recursive-folders.js | 5 +- .../with-non-synchronous-watch-directory.js | 36 +++-- .../using-dynamic-priority-polling.js | 8 +- .../with-fallbackPolling-option.js | 4 +- .../with-watchDirectory-option.js | 4 +- ...th-watchFile-as-watch-options-to-extend.js | 4 +- .../watchOptions/with-watchFile-option.js | 4 +- 347 files changed, 3157 insertions(+), 2065 deletions(-) create mode 100644 tests/baselines/reference/tsbuild/watchMode/programUpdates/works-when-noUnusedParameters-changes-to-false.js diff --git a/src/compiler/builder.ts b/src/compiler/builder.ts index d79ca0447a8..a58b9bf7f36 100644 --- a/src/compiler/builder.ts +++ b/src/compiler/builder.ts @@ -201,6 +201,7 @@ namespace ts { state.affectedFilesPendingEmit = oldState!.affectedFilesPendingEmit.slice(); state.affectedFilesPendingEmitKind = cloneMapOrUndefined(oldState!.affectedFilesPendingEmitKind); state.affectedFilesPendingEmitIndex = oldState!.affectedFilesPendingEmitIndex; + state.seenAffectedFiles = createMap(); } } @@ -247,8 +248,8 @@ namespace ts { if (oldCompilerOptions && 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 === undefined); - state.seenAffectedFiles = createMap(); + Debug.assert(!state.seenAffectedFiles || !state.seenAffectedFiles.size); + state.seenAffectedFiles = state.seenAffectedFiles || createMap(); } state.emittedBuildInfo = !state.changedFilesSet.size && !state.affectedFilesPendingEmit; diff --git a/src/harness/fakesHosts.ts b/src/harness/fakesHosts.ts index 58e9ec783e5..e34892e2950 100644 --- a/src/harness/fakesHosts.ts +++ b/src/harness/fakesHosts.ts @@ -32,6 +32,11 @@ namespace fakes { this._env = env; } + // Pretty output + writeOutputIsTTY() { + return true; + } + public write(message: string) { this.output.push(message); } diff --git a/src/harness/virtualFileSystemWithWatch.ts b/src/harness/virtualFileSystemWithWatch.ts index 0bda650b19b..867e5d204d3 100644 --- a/src/harness/virtualFileSystemWithWatch.ts +++ b/src/harness/virtualFileSystemWithWatch.ts @@ -445,6 +445,11 @@ interface Array { length: number; [n: number]: T; }` this.reloadFS(fileOrFolderorSymLinkList); } + // Output is pretty + writeOutputIsTTY() { + return true; + } + getNewLine() { return this.newLine; } diff --git a/src/testRunner/unittests/tsbuild/watchMode.ts b/src/testRunner/unittests/tsbuild/watchMode.ts index 7cc466bfaf1..308c229776d 100644 --- a/src/testRunner/unittests/tsbuild/watchMode.ts +++ b/src/testRunner/unittests/tsbuild/watchMode.ts @@ -1131,6 +1131,38 @@ export function someFn() { }`); } ], }); + + verifyTscWatch({ + scenario, + subScenario: "works when noUnusedParameters changes to false", + commandLineArgs: ["-b", "-w"], + sys: () => { + const index: File = { + path: `${projectRoot}/index.ts`, + content: `const fn = (a: string, b: string) => b;` + }; + const configFile: File = { + path: `${projectRoot}/tsconfig.json`, + content: JSON.stringify({ + compilerOptions: { + noUnusedParameters: true + } + }) + }; + return createWatchedSystem([index, configFile, libFile], { currentDirectory: projectRoot }); + }, + changes: [ + sys => { + sys.writeFile(`${projectRoot}/tsconfig.json`, JSON.stringify({ + compilerOptions: { + noUnusedParameters: false + } + })); + sys.runQueuedTimeoutCallbacks(); + return "Change tsconfig to set noUnusedParameters to false"; + }, + ] + }); }); describe("unittests:: tsbuild:: watchMode:: with demo project", () => { diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-declaration-doesnt-change/modules-and-globals-mixed-in-amd.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-declaration-doesnt-change/modules-and-globals-mixed-in-amd.js index 969dd0663e5..c2d1035fc8c 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-declaration-doesnt-change/modules-and-globals-mixed-in-amd.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-declaration-doesnt-change/modules-and-globals-mixed-in-amd.js @@ -1,18 +1,18 @@ //// [/lib/incremental-declaration-doesnt-changeOutput.txt] /lib/tsc --b /src/app --verbose -12:04:00 AM - Projects in this build: +[12:04:00 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: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:04:00 AM - Building project '/src/lib/tsconfig.json'... +[12:04:00 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:04:00 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:04:00 AM] Updating output of project '/src/app/tsconfig.json'... -12:04:00 AM - Updating unchanged output timestamps of project '/src/app/tsconfig.json'... +[12:04:00 AM] Updating unchanged output timestamps of project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-declaration-doesnt-change/multiple-emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-declaration-doesnt-change/multiple-emitHelpers-in-all-projects.js index c76652977eb..ee0a027df1d 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-declaration-doesnt-change/multiple-emitHelpers-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-declaration-doesnt-change/multiple-emitHelpers-in-all-projects.js @@ -1,18 +1,18 @@ //// [/lib/incremental-declaration-doesnt-changeOutput.txt] /lib/tsc --b /src/app --verbose -12:04:00 AM - Projects in this build: +[12:04:00 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: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:04:00 AM - Building project '/src/lib/tsconfig.json'... +[12:04:00 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:04:00 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:04:00 AM] Updating output of project '/src/app/tsconfig.json'... -12:04:00 AM - Updating unchanged output timestamps of project '/src/app/tsconfig.json'... +[12:04:00 AM] Updating unchanged output timestamps of project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-declaration-doesnt-change/multiple-prologues-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-declaration-doesnt-change/multiple-prologues-in-all-projects.js index 704840beeca..03ae15191b9 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-declaration-doesnt-change/multiple-prologues-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-declaration-doesnt-change/multiple-prologues-in-all-projects.js @@ -1,18 +1,18 @@ //// [/lib/incremental-declaration-doesnt-changeOutput.txt] /lib/tsc --b /src/app --verbose -12:04:00 AM - Projects in this build: +[12:04:00 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: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:04:00 AM - Building project '/src/lib/tsconfig.json'... +[12:04:00 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:04:00 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:04:00 AM] Updating output of project '/src/app/tsconfig.json'... -12:04:00 AM - Updating unchanged output timestamps of project '/src/app/tsconfig.json'... +[12:04:00 AM] Updating unchanged output timestamps of project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-declaration-doesnt-change/shebang-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-declaration-doesnt-change/shebang-in-all-projects.js index be17effd760..3fc4cacb86d 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-declaration-doesnt-change/shebang-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-declaration-doesnt-change/shebang-in-all-projects.js @@ -1,18 +1,18 @@ //// [/lib/incremental-declaration-doesnt-changeOutput.txt] /lib/tsc --b /src/app --verbose -12:04:00 AM - Projects in this build: +[12:04:00 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: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:04:00 AM - Building project '/src/lib/tsconfig.json'... +[12:04:00 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:04:00 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:04:00 AM] Updating output of project '/src/app/tsconfig.json'... -12:04:00 AM - Updating unchanged output timestamps of project '/src/app/tsconfig.json'... +[12:04:00 AM] Updating unchanged output timestamps of project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-declaration-doesnt-change/stripInternal.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-declaration-doesnt-change/stripInternal.js index e946cf6c589..b5bddf58596 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-declaration-doesnt-change/stripInternal.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-declaration-doesnt-change/stripInternal.js @@ -1,18 +1,18 @@ //// [/lib/incremental-declaration-doesnt-changeOutput.txt] /lib/tsc --b /src/app --verbose -12:04:00 AM - Projects in this build: +[12:04:00 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: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:04:00 AM - Building project '/src/lib/tsconfig.json'... +[12:04:00 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:04:00 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:04:00 AM] Updating output of project '/src/app/tsconfig.json'... -12:04:00 AM - Updating unchanged output timestamps of project '/src/app/tsconfig.json'... +[12:04:00 AM] Updating unchanged output timestamps of project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-declaration-doesnt-change/triple-slash-refs-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-declaration-doesnt-change/triple-slash-refs-in-all-projects.js index 43629bfd11b..688ca0cc27e 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-declaration-doesnt-change/triple-slash-refs-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-declaration-doesnt-change/triple-slash-refs-in-all-projects.js @@ -1,18 +1,18 @@ //// [/lib/incremental-declaration-doesnt-changeOutput.txt] /lib/tsc --b /src/app --verbose -12:04:00 AM - Projects in this build: +[12:04:00 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: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:04:00 AM - Building project '/src/lib/tsconfig.json'... +[12:04:00 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:04:00 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:04:00 AM] Updating output of project '/src/app/tsconfig.json'... -12:04:00 AM - Updating unchanged output timestamps of project '/src/app/tsconfig.json'... +[12:04:00 AM] Updating unchanged output timestamps of project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-headers-change-without-dts-changes/multiple-emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-headers-change-without-dts-changes/multiple-emitHelpers-in-all-projects.js index 51a0c79f1c6..6705e95e22b 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-headers-change-without-dts-changes/multiple-emitHelpers-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-headers-change-without-dts-changes/multiple-emitHelpers-in-all-projects.js @@ -1,18 +1,18 @@ //// [/lib/incremental-headers-change-without-dts-changesOutput.txt] /lib/tsc --b /src/app --verbose -12:08:00 AM - Projects in this build: +[12:08:00 AM] Projects in this build: * src/lib/tsconfig.json * src/app/tsconfig.json -12:08: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:08: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:08:00 AM - Building project '/src/lib/tsconfig.json'... +[12:08:00 AM] Building project '/src/lib/tsconfig.json'... -12:08:00 AM - Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed +[12:08:00 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed -12:08:00 AM - Updating output of project '/src/app/tsconfig.json'... +[12:08:00 AM] Updating output of project '/src/app/tsconfig.json'... -12:08:00 AM - Updating unchanged output timestamps of project '/src/app/tsconfig.json'... +[12:08:00 AM] Updating unchanged output timestamps of project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-headers-change-without-dts-changes/multiple-prologues-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-headers-change-without-dts-changes/multiple-prologues-in-all-projects.js index e8f4270e0b9..685305aa38d 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-headers-change-without-dts-changes/multiple-prologues-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-headers-change-without-dts-changes/multiple-prologues-in-all-projects.js @@ -1,18 +1,18 @@ //// [/lib/incremental-headers-change-without-dts-changesOutput.txt] /lib/tsc --b /src/app --verbose -12:08:00 AM - Projects in this build: +[12:08:00 AM] Projects in this build: * src/lib/tsconfig.json * src/app/tsconfig.json -12:08: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:08: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:08:00 AM - Building project '/src/lib/tsconfig.json'... +[12:08:00 AM] Building project '/src/lib/tsconfig.json'... -12:08:00 AM - Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed +[12:08:00 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed -12:08:00 AM - Updating output of project '/src/app/tsconfig.json'... +[12:08:00 AM] Updating output of project '/src/app/tsconfig.json'... -12:08:00 AM - Updating unchanged output timestamps of project '/src/app/tsconfig.json'... +[12:08:00 AM] Updating unchanged output timestamps of project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-headers-change-without-dts-changes/stripInternal.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-headers-change-without-dts-changes/stripInternal.js index c827bf17580..ebe8a5f9295 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-headers-change-without-dts-changes/stripInternal.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-headers-change-without-dts-changes/stripInternal.js @@ -1,16 +1,16 @@ //// [/lib/incremental-headers-change-without-dts-changesOutput.txt] /lib/tsc --b /src/app --verbose -12:08:00 AM - Projects in this build: +[12:08:00 AM] Projects in this build: * src/lib/tsconfig.json * src/app/tsconfig.json -12:08: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:08: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:08:00 AM - Building project '/src/lib/tsconfig.json'... +[12:08:00 AM] Building project '/src/lib/tsconfig.json'... -12:08:00 AM - Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed +[12:08:00 AM] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed -12:08:00 AM - Updating output of project '/src/app/tsconfig.json'... +[12:08:00 AM] Updating output of project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/initial-build/modules-and-globals-mixed-in-amd.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/initial-build/modules-and-globals-mixed-in-amd.js index 0868f1a2788..be5554e722d 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/initial-build/modules-and-globals-mixed-in-amd.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/initial-build/modules-and-globals-mixed-in-amd.js @@ -1,16 +1,16 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/app --verbose -12:01:00 AM - Projects in this build: +[12:01:00 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:01:00 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:01:00 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:01:00 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:01:00 AM] Building project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/initial-build/multiple-emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/initial-build/multiple-emitHelpers-in-all-projects.js index aed5979556e..74eb3ab5ed4 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/initial-build/multiple-emitHelpers-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/initial-build/multiple-emitHelpers-in-all-projects.js @@ -1,16 +1,16 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/app --verbose -12:01:00 AM - Projects in this build: +[12:01:00 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:01:00 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:01:00 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:01:00 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:01:00 AM] Building project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/initial-build/multiple-prologues-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/initial-build/multiple-prologues-in-all-projects.js index 6aff84759ad..49dac70814c 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/initial-build/multiple-prologues-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/initial-build/multiple-prologues-in-all-projects.js @@ -1,16 +1,16 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/app --verbose -12:01:00 AM - Projects in this build: +[12:01:00 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:01:00 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:01:00 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:01:00 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:01:00 AM] Building project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/initial-build/shebang-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/initial-build/shebang-in-all-projects.js index 631ac2c4462..74bab6f4229 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/initial-build/shebang-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/initial-build/shebang-in-all-projects.js @@ -1,16 +1,16 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/app --verbose -12:01:00 AM - Projects in this build: +[12:01:00 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:01:00 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:01:00 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:01:00 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:01:00 AM] Building project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/initial-build/stripInternal.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/initial-build/stripInternal.js index 05c00a33fd3..d235c145f99 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/initial-build/stripInternal.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/initial-build/stripInternal.js @@ -1,16 +1,16 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/app --verbose -12:01:00 AM - Projects in this build: +[12:01:00 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:01:00 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:01:00 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:01:00 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:01:00 AM] Building project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/initial-build/triple-slash-refs-in-all-projects.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/initial-build/triple-slash-refs-in-all-projects.js index 9f0ef1dd60c..af0e9a6ea5f 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/initial-build/triple-slash-refs-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/initial-build/triple-slash-refs-in-all-projects.js @@ -1,16 +1,16 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/app --verbose -12:01:00 AM - Projects in this build: +[12:01:00 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:01:00 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:01:00 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:01:00 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:01:00 AM] Building project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/initial-build/when-the-module-resolution-finds-original-source-file.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/initial-build/when-the-module-resolution-finds-original-source-file.js index 8028a1d72ca..04d3212b993 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/initial-build/when-the-module-resolution-finds-original-source-file.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/initial-build/when-the-module-resolution-finds-original-source-file.js @@ -1,16 +1,16 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc -b /src/app --verbose -12:00:00 AM - Projects in this build: +[12:00:00 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:00 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:00 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:00 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:00 AM] Building project '/src/app/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/configFileErrors/incremental-declaration-doesnt-change/reports-syntax-errors-after-change-to-config-file.js b/tests/baselines/reference/tsbuild/configFileErrors/incremental-declaration-doesnt-change/reports-syntax-errors-after-change-to-config-file.js index c5f31f8e8b6..e9c41eb95c6 100644 --- a/tests/baselines/reference/tsbuild/configFileErrors/incremental-declaration-doesnt-change/reports-syntax-errors-after-change-to-config-file.js +++ b/tests/baselines/reference/tsbuild/configFileErrors/incremental-declaration-doesnt-change/reports-syntax-errors-after-change-to-config-file.js @@ -1,6 +1,13 @@ //// [/lib/incremental-declaration-doesnt-changeOutput.txt] /lib/tsc --b /src/tsconfig.json -src/tsconfig.json(8,9): error TS1005: ',' expected. +src/tsconfig.json:8:9 - error TS1005: ',' expected. + +8 "b.ts" +   ~~~~~~ + + +Found 1 error. + exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped diff --git a/tests/baselines/reference/tsbuild/configFileErrors/incremental-declaration-doesnt-change/reports-syntax-errors-after-change-to-ts-file.js b/tests/baselines/reference/tsbuild/configFileErrors/incremental-declaration-doesnt-change/reports-syntax-errors-after-change-to-ts-file.js index 6bafb2968e9..a69f31cf4d4 100644 --- a/tests/baselines/reference/tsbuild/configFileErrors/incremental-declaration-doesnt-change/reports-syntax-errors-after-change-to-ts-file.js +++ b/tests/baselines/reference/tsbuild/configFileErrors/incremental-declaration-doesnt-change/reports-syntax-errors-after-change-to-ts-file.js @@ -1,6 +1,13 @@ //// [/lib/incremental-declaration-doesnt-changeOutput.txt] /lib/tsc --b /src/tsconfig.json -src/tsconfig.json(7,9): error TS1005: ',' expected. +src/tsconfig.json:7:9 - error TS1005: ',' expected. + +7 "b.ts" +   ~~~~~~ + + +Found 1 error. + exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped diff --git a/tests/baselines/reference/tsbuild/configFileErrors/initial-build/reports-syntax-errors-in-config-file.js b/tests/baselines/reference/tsbuild/configFileErrors/initial-build/reports-syntax-errors-in-config-file.js index b7e1d4a6632..baa03114421 100644 --- a/tests/baselines/reference/tsbuild/configFileErrors/initial-build/reports-syntax-errors-in-config-file.js +++ b/tests/baselines/reference/tsbuild/configFileErrors/initial-build/reports-syntax-errors-in-config-file.js @@ -1,6 +1,13 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/tsconfig.json -src/tsconfig.json(7,9): error TS1005: ',' expected. +src/tsconfig.json:7:9 - error TS1005: ',' expected. + +7 "b.ts" +   ~~~~~~ + + +Found 1 error. + exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped diff --git a/tests/baselines/reference/tsbuild/configFileErrors/initial-build/when-tsconfig-extends-the-missing-file.js b/tests/baselines/reference/tsbuild/configFileErrors/initial-build/when-tsconfig-extends-the-missing-file.js index 1221147bc8e..4b8a6e326cc 100644 --- a/tests/baselines/reference/tsbuild/configFileErrors/initial-build/when-tsconfig-extends-the-missing-file.js +++ b/tests/baselines/reference/tsbuild/configFileErrors/initial-build/when-tsconfig-extends-the-missing-file.js @@ -1,9 +1,16 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/tsconfig.json -error TS5058: The specified path does not exist: '/src/foobar.json'. -error TS18003: No inputs were found in config file '/src/tsconfig.first.json'. Specified 'include' paths were '["**/*"]' and 'exclude' paths were '[]'. -error TS5058: The specified path does not exist: '/src/foobar.json'. -error TS18003: No inputs were found in config file '/src/tsconfig.second.json'. Specified 'include' paths were '["**/*"]' and 'exclude' paths were '[]'. +error TS5058: The specified path does not exist: '/src/foobar.json'. + +error TS18003: No inputs were found in config file '/src/tsconfig.first.json'. Specified 'include' paths were '["**/*"]' and 'exclude' paths were '[]'. + +error TS5058: The specified path does not exist: '/src/foobar.json'. + +error TS18003: No inputs were found in config file '/src/tsconfig.second.json'. Specified 'include' paths were '["**/*"]' and 'exclude' paths were '[]'. + + +Found 4 errors. + exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped diff --git a/tests/baselines/reference/tsbuild/configFileErrors/no-change-run/reports-syntax-errors-in-config-file.js b/tests/baselines/reference/tsbuild/configFileErrors/no-change-run/reports-syntax-errors-in-config-file.js index 2778f443b00..a3a339da3c8 100644 --- a/tests/baselines/reference/tsbuild/configFileErrors/no-change-run/reports-syntax-errors-in-config-file.js +++ b/tests/baselines/reference/tsbuild/configFileErrors/no-change-run/reports-syntax-errors-in-config-file.js @@ -1,6 +1,13 @@ //// [/lib/no-change-runOutput.txt] /lib/tsc --b /src/tsconfig.json -src/tsconfig.json(7,9): error TS1005: ',' expected. +src/tsconfig.json:7:9 - error TS1005: ',' expected. + +7 "b.ts" +   ~~~~~~ + + +Found 1 error. + exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped diff --git a/tests/baselines/reference/tsbuild/containerOnlyReferenced/initial-build/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js b/tests/baselines/reference/tsbuild/containerOnlyReferenced/initial-build/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js index d4aef469d6c..6cc0bfa08bd 100644 --- a/tests/baselines/reference/tsbuild/containerOnlyReferenced/initial-build/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js +++ b/tests/baselines/reference/tsbuild/containerOnlyReferenced/initial-build/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js @@ -1,23 +1,23 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src --verbose -12:01:00 AM - Projects in this build: +[12:01:00 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: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:01:00 AM - Building project '/src/src/folder/tsconfig.json'... +[12:01:00 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: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:01:00 AM - Building project '/src/src/folder2/tsconfig.json'... +[12:01:00 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:01:00 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:01:00 AM] Building project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/containerOnlyReferenced/no-change-run/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js b/tests/baselines/reference/tsbuild/containerOnlyReferenced/no-change-run/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js index d47940ed3e2..fa95a039a61 100644 --- a/tests/baselines/reference/tsbuild/containerOnlyReferenced/no-change-run/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js +++ b/tests/baselines/reference/tsbuild/containerOnlyReferenced/no-change-run/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js @@ -1,17 +1,17 @@ //// [/lib/no-change-runOutput.txt] /lib/tsc --b /src --verbose -12:04:00 AM - Projects in this build: +[12:04:00 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: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: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: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: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: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' exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/demo/initial-build/in-bad-ref-branch-reports-the-error-about-files-not-in-rootDir-at-the-import-location.js b/tests/baselines/reference/tsbuild/demo/initial-build/in-bad-ref-branch-reports-the-error-about-files-not-in-rootDir-at-the-import-location.js index bcc933cdbdb..ad10d211630 100644 --- a/tests/baselines/reference/tsbuild/demo/initial-build/in-bad-ref-branch-reports-the-error-about-files-not-in-rootDir-at-the-import-location.js +++ b/tests/baselines/reference/tsbuild/demo/initial-build/in-bad-ref-branch-reports-the-error-about-files-not-in-rootDir-at-the-import-location.js @@ -1,29 +1,60 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/tsconfig.json --verbose -12:00:00 AM - Projects in this build: +[12:00:00 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:00 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:00 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. -src/animals/index.ts(1,20): error TS6307: File '/src/animals/animal.ts' is not listed within the file list of project '/src/core/tsconfig.json'. Projects must list all files or use an 'include' pattern. -src/animals/index.ts(4,32): error TS6059: File '/src/animals/dog.ts' is not under 'rootDir' '/src/core'. 'rootDir' is expected to contain all source files. -src/animals/index.ts(4,32): error TS6307: File '/src/animals/dog.ts' is not listed within the file list of project '/src/core/tsconfig.json'. Projects must list all files or use an 'include' pattern. -src/core/utilities.ts(1,1): error TS6133: 'A' is declared but its value is never read. -src/core/utilities.ts(1,20): error TS6059: File '/src/animals/index.ts' is not under 'rootDir' '/src/core'. 'rootDir' is expected to contain all source files. -src/core/utilities.ts(1,20): error TS6307: File '/src/animals/index.ts' is not listed within the file list of project '/src/core/tsconfig.json'. Projects must list all files or use an 'include' pattern. -12:00:00 AM - Project 'src/animals/tsconfig.json' can't be built because its dependency 'src/core' has errors +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. -12:00:00 AM - Skipping build of project '/src/animals/tsconfig.json' because its dependency '/src/core' has errors +1 import Animal from './animal'; +   ~~~~~~~~~~ -12:00:00 AM - Project 'src/zoo/tsconfig.json' can't be built because its dependency 'src/animals' was not built +src/animals/index.ts:1:20 - error TS6307: File '/src/animals/animal.ts' is not listed within the file list of project '/src/core/tsconfig.json'. Projects must list all files or use an 'include' pattern. -12:00:00 AM - Skipping build of project '/src/zoo/tsconfig.json' because its dependency '/src/animals' was not built +1 import Animal from './animal'; +   ~~~~~~~~~~ + +src/animals/index.ts:4:32 - error TS6059: File '/src/animals/dog.ts' is not under 'rootDir' '/src/core'. 'rootDir' is expected to contain all source files. + +4 import { createDog, Dog } from './dog'; +   ~~~~~~~ + +src/animals/index.ts:4:32 - error TS6307: File '/src/animals/dog.ts' is not listed within the file list of project '/src/core/tsconfig.json'. Projects must list all files or use an 'include' pattern. + +4 import { createDog, Dog } from './dog'; +   ~~~~~~~ + +src/core/utilities.ts:1:1 - error TS6133: 'A' is declared but its value is never read. + +1 import * as A from '../animals'; +  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +src/core/utilities.ts:1:20 - error TS6059: File '/src/animals/index.ts' is not under 'rootDir' '/src/core'. 'rootDir' is expected to contain all source files. + +1 import * as A from '../animals'; +   ~~~~~~~~~~~~ + +src/core/utilities.ts:1:20 - error TS6307: File '/src/animals/index.ts' is not listed within the file list of project '/src/core/tsconfig.json'. Projects must list all files or use an 'include' pattern. + +1 import * as A from '../animals'; +   ~~~~~~~~~~~~ + +[12:00:00 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:00 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 + + +Found 7 errors. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped diff --git a/tests/baselines/reference/tsbuild/demo/initial-build/in-circular-branch-reports-the-error-about-it-by-stopping-build.js b/tests/baselines/reference/tsbuild/demo/initial-build/in-circular-branch-reports-the-error-about-it-by-stopping-build.js index c7376c362e7..759404e0d19 100644 --- a/tests/baselines/reference/tsbuild/demo/initial-build/in-circular-branch-reports-the-error-about-it-by-stopping-build.js +++ b/tests/baselines/reference/tsbuild/demo/initial-build/in-circular-branch-reports-the-error-about-it-by-stopping-build.js @@ -1,15 +1,19 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/tsconfig.json --verbose -12:00:00 AM - Projects in this build: +[12:00:00 AM] Projects in this build: * src/animals/tsconfig.json * src/zoo/tsconfig.json * src/core/tsconfig.json * src/tsconfig.json -error TS6202: Project references may not form a circular graph. Cycle detected: /src/tsconfig.json +error TS6202: Project references may not form a circular graph. Cycle detected: /src/tsconfig.json /src/core/tsconfig.json /src/zoo/tsconfig.json /src/animals/tsconfig.json + + +Found 1 error. + exitCode:: ExitStatus.ProjectReferenceCycle_OutputsSkupped diff --git a/tests/baselines/reference/tsbuild/demo/initial-build/in-master-branch-with-everything-setup-correctly-and-reports-no-error.js b/tests/baselines/reference/tsbuild/demo/initial-build/in-master-branch-with-everything-setup-correctly-and-reports-no-error.js index ae3250826ae..f9cf45a63ea 100644 --- a/tests/baselines/reference/tsbuild/demo/initial-build/in-master-branch-with-everything-setup-correctly-and-reports-no-error.js +++ b/tests/baselines/reference/tsbuild/demo/initial-build/in-master-branch-with-everything-setup-correctly-and-reports-no-error.js @@ -1,22 +1,22 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/tsconfig.json --verbose -12:00:00 AM - Projects in this build: +[12:00:00 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:00 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:00 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:00 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:00 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:00 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:00 AM] Building project '/src/zoo/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/emitDeclarationOnly/incremental-declaration-changes/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js b/tests/baselines/reference/tsbuild/emitDeclarationOnly/incremental-declaration-changes/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js index 41f2beaa281..ea9e79cd050 100644 --- a/tests/baselines/reference/tsbuild/emitDeclarationOnly/incremental-declaration-changes/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js +++ b/tests/baselines/reference/tsbuild/emitDeclarationOnly/incremental-declaration-changes/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js @@ -1,11 +1,11 @@ //// [/lib/incremental-declaration-changesOutput.txt] /lib/tsc --b /src --verbose -12:04:00 AM - Projects in this build: +[12:04:00 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: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:04:00 AM - Building project '/src/tsconfig.json'... +[12:04:00 AM] Building project '/src/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/emitDeclarationOnly/incremental-declaration-changes/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js b/tests/baselines/reference/tsbuild/emitDeclarationOnly/incremental-declaration-changes/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js index 747e3ee3a36..6913041ae0d 100644 --- a/tests/baselines/reference/tsbuild/emitDeclarationOnly/incremental-declaration-changes/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js +++ b/tests/baselines/reference/tsbuild/emitDeclarationOnly/incremental-declaration-changes/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js @@ -1,11 +1,11 @@ //// [/lib/incremental-declaration-changesOutput.txt] /lib/tsc --b /src --verbose -12:04:00 AM - Projects in this build: +[12:04:00 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: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:04:00 AM - Building project '/src/tsconfig.json'... +[12:04:00 AM] Building project '/src/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/emitDeclarationOnly/incremental-declaration-changes/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js b/tests/baselines/reference/tsbuild/emitDeclarationOnly/incremental-declaration-changes/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js index 3ce9402fb24..33ceba21638 100644 --- a/tests/baselines/reference/tsbuild/emitDeclarationOnly/incremental-declaration-changes/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js +++ b/tests/baselines/reference/tsbuild/emitDeclarationOnly/incremental-declaration-changes/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js @@ -1,11 +1,11 @@ //// [/lib/incremental-declaration-changesOutput.txt] /lib/tsc --b /src --verbose -12:04:00 AM - Projects in this build: +[12:04:00 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: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:04:00 AM - Building project '/src/tsconfig.json'... +[12:04:00 AM] Building project '/src/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/emitDeclarationOnly/incremental-declaration-doesnt-change/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js b/tests/baselines/reference/tsbuild/emitDeclarationOnly/incremental-declaration-doesnt-change/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js index 1ab42631bc3..1b57e140b52 100644 --- a/tests/baselines/reference/tsbuild/emitDeclarationOnly/incremental-declaration-doesnt-change/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js +++ b/tests/baselines/reference/tsbuild/emitDeclarationOnly/incremental-declaration-doesnt-change/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js @@ -1,13 +1,13 @@ //// [/lib/incremental-declaration-doesnt-changeOutput.txt] /lib/tsc --b /src --verbose -12:08:00 AM - Projects in this build: +[12:08:00 AM] Projects in this build: * src/tsconfig.json -12:08: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:08: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:08:00 AM - Building project '/src/tsconfig.json'... +[12:08:00 AM] Building project '/src/tsconfig.json'... -12:08:00 AM - Updating unchanged output timestamps of project '/src/tsconfig.json'... +[12:08:00 AM] Updating unchanged output timestamps of project '/src/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/emitDeclarationOnly/initial-build/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js b/tests/baselines/reference/tsbuild/emitDeclarationOnly/initial-build/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js index 6acd9f13604..923d5aa8a29 100644 --- a/tests/baselines/reference/tsbuild/emitDeclarationOnly/initial-build/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js +++ b/tests/baselines/reference/tsbuild/emitDeclarationOnly/initial-build/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js @@ -1,11 +1,11 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src --verbose -12:01:00 AM - Projects in this build: +[12:01:00 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:01:00 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:01:00 AM] Building project '/src/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/emitDeclarationOnly/initial-build/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js b/tests/baselines/reference/tsbuild/emitDeclarationOnly/initial-build/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js index b854647cbed..2239f1d96da 100644 --- a/tests/baselines/reference/tsbuild/emitDeclarationOnly/initial-build/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js +++ b/tests/baselines/reference/tsbuild/emitDeclarationOnly/initial-build/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js @@ -1,11 +1,11 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src --verbose -12:01:00 AM - Projects in this build: +[12:01:00 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:01:00 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:01:00 AM] Building project '/src/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/emitDeclarationOnly/initial-build/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js b/tests/baselines/reference/tsbuild/emitDeclarationOnly/initial-build/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js index 679a7c01703..10989a86a2b 100644 --- a/tests/baselines/reference/tsbuild/emitDeclarationOnly/initial-build/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js +++ b/tests/baselines/reference/tsbuild/emitDeclarationOnly/initial-build/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js @@ -1,11 +1,11 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src --verbose -12:01:00 AM - Projects in this build: +[12:01:00 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:01:00 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:01:00 AM] Building project '/src/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/emptyFiles/initial-build/has-empty-files-diagnostic-when-files-is-empty-and-no-references-are-provided.js b/tests/baselines/reference/tsbuild/emptyFiles/initial-build/has-empty-files-diagnostic-when-files-is-empty-and-no-references-are-provided.js index 6db6e8fe608..5d5d7be5394 100644 --- a/tests/baselines/reference/tsbuild/emptyFiles/initial-build/has-empty-files-diagnostic-when-files-is-empty-and-no-references-are-provided.js +++ b/tests/baselines/reference/tsbuild/emptyFiles/initial-build/has-empty-files-diagnostic-when-files-is-empty-and-no-references-are-provided.js @@ -1,6 +1,13 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/no-references -src/no-references/tsconfig.json(3,14): error TS18002: The 'files' list in config file '/src/no-references/tsconfig.json' is empty. +src/no-references/tsconfig.json:3:14 - error TS18002: The 'files' list in config file '/src/no-references/tsconfig.json' is empty. + +3 "files": [], +   ~~ + + +Found 1 error. + exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped diff --git a/tests/baselines/reference/tsbuild/exitCodeOnBogusFile/initial-build/test-exit-code.js b/tests/baselines/reference/tsbuild/exitCodeOnBogusFile/initial-build/test-exit-code.js index eb94c8cd71c..fcd2a5c5b74 100644 --- a/tests/baselines/reference/tsbuild/exitCodeOnBogusFile/initial-build/test-exit-code.js +++ b/tests/baselines/reference/tsbuild/exitCodeOnBogusFile/initial-build/test-exit-code.js @@ -1,6 +1,10 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc -b bogus.json -error TS6053: File '/bogus.json' not found. +error TS6053: File '/bogus.json' not found. + + +Found 1 error. + exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped diff --git a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/incremental-declaration-changes/inferred-type-from-transitive-module-with-isolatedModules.js b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/incremental-declaration-changes/inferred-type-from-transitive-module-with-isolatedModules.js index bfe04451775..4fca791a83b 100644 --- a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/incremental-declaration-changes/inferred-type-from-transitive-module-with-isolatedModules.js +++ b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/incremental-declaration-changes/inferred-type-from-transitive-module-with-isolatedModules.js @@ -1,13 +1,13 @@ //// [/lib/incremental-declaration-changesOutput.txt] /lib/tsc --b /src --verbose -12:04:00 AM - Projects in this build: +[12:04:00 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: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:04:00 AM - Building project '/src/tsconfig.json'... +[12:04:00 AM] Building project '/src/tsconfig.json'... -12:04:00 AM - Updating unchanged output timestamps of project '/src/tsconfig.json'... +[12:04:00 AM] Updating unchanged output timestamps of project '/src/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/incremental-declaration-changes/inferred-type-from-transitive-module.js b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/incremental-declaration-changes/inferred-type-from-transitive-module.js index 4e7610dc52f..4de970db2c0 100644 --- a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/incremental-declaration-changes/inferred-type-from-transitive-module.js +++ b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/incremental-declaration-changes/inferred-type-from-transitive-module.js @@ -1,13 +1,13 @@ //// [/lib/incremental-declaration-changesOutput.txt] /lib/tsc --b /src --verbose -12:04:00 AM - Projects in this build: +[12:04:00 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: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:04:00 AM - Building project '/src/tsconfig.json'... +[12:04:00 AM] Building project '/src/tsconfig.json'... -12:04:00 AM - Updating unchanged output timestamps of project '/src/tsconfig.json'... +[12:04:00 AM] Updating unchanged output timestamps of project '/src/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/incremental-declaration-changes/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/incremental-declaration-changes/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js index 2462f65292e..6b72fb26bc7 100644 --- a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/incremental-declaration-changes/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js +++ b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/incremental-declaration-changes/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js @@ -1,13 +1,20 @@ //// [/lib/incremental-declaration-changesOutput.txt] /lib/tsc --b /src --verbose -12:04:00 AM - Projects in this build: +[12:04:00 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: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:04:00 AM - Building project '/src/tsconfig.json'... +[12:04:00 AM] Building project '/src/tsconfig.json'... + +src/lazyIndex.ts:4:5 - error TS2554: Expected 0 arguments, but got 1. + +4 bar("hello"); +   ~~~~~~~ + + +Found 1 error. -src/lazyIndex.ts(4,5): error TS2554: Expected 0 arguments, but got 1. exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped diff --git a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/initial-build/inferred-type-from-transitive-module-with-isolatedModules.js b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/initial-build/inferred-type-from-transitive-module-with-isolatedModules.js index c7ae169d215..20af3e62957 100644 --- a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/initial-build/inferred-type-from-transitive-module-with-isolatedModules.js +++ b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/initial-build/inferred-type-from-transitive-module-with-isolatedModules.js @@ -1,11 +1,11 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src --verbose -12:01:00 AM - Projects in this build: +[12:01:00 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:01:00 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:01:00 AM] Building project '/src/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/initial-build/inferred-type-from-transitive-module.js b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/initial-build/inferred-type-from-transitive-module.js index 09bad47a9f1..0681f3c1223 100644 --- a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/initial-build/inferred-type-from-transitive-module.js +++ b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/initial-build/inferred-type-from-transitive-module.js @@ -1,11 +1,11 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src --verbose -12:01:00 AM - Projects in this build: +[12:01:00 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:01:00 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:01:00 AM] Building project '/src/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/initial-build/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/initial-build/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js index 91a9a9b6b3d..66d6358bf4a 100644 --- a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/initial-build/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js +++ b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/initial-build/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js @@ -1,11 +1,11 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src --verbose -12:01:00 AM - Projects in this build: +[12:01:00 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:01:00 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:01:00 AM] Building project '/src/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/lateBoundSymbol/incremental-declaration-doesnt-change/interface-is-merged-and-contains-late-bound-member.js b/tests/baselines/reference/tsbuild/lateBoundSymbol/incremental-declaration-doesnt-change/interface-is-merged-and-contains-late-bound-member.js index 1cdbffe6cc6..b555046824f 100644 --- a/tests/baselines/reference/tsbuild/lateBoundSymbol/incremental-declaration-doesnt-change/interface-is-merged-and-contains-late-bound-member.js +++ b/tests/baselines/reference/tsbuild/lateBoundSymbol/incremental-declaration-doesnt-change/interface-is-merged-and-contains-late-bound-member.js @@ -1,13 +1,13 @@ //// [/lib/incremental-declaration-doesnt-changeOutput.txt] /lib/tsc --b /src/tsconfig.json --verbose -12:04:00 AM - Projects in this build: +[12:04:00 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: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:04:00 AM - Building project '/src/tsconfig.json'... +[12:04:00 AM] Building project '/src/tsconfig.json'... -12:04:00 AM - Updating unchanged output timestamps of project '/src/tsconfig.json'... +[12:04:00 AM] Updating unchanged output timestamps of project '/src/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/lateBoundSymbol/initial-build/interface-is-merged-and-contains-late-bound-member.js b/tests/baselines/reference/tsbuild/lateBoundSymbol/initial-build/interface-is-merged-and-contains-late-bound-member.js index d89b3a9c894..8ccfdda6b41 100644 --- a/tests/baselines/reference/tsbuild/lateBoundSymbol/initial-build/interface-is-merged-and-contains-late-bound-member.js +++ b/tests/baselines/reference/tsbuild/lateBoundSymbol/initial-build/interface-is-merged-and-contains-late-bound-member.js @@ -1,11 +1,11 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/tsconfig.json --verbose -12:01:00 AM - Projects in this build: +[12:01:00 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:01:00 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:01:00 AM] Building project '/src/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/moduleSpecifiers/initial-build/synthesized-module-specifiers-resolve-correctly.js b/tests/baselines/reference/tsbuild/moduleSpecifiers/initial-build/synthesized-module-specifiers-resolve-correctly.js index 55943e66d7c..df1bab129b9 100644 --- a/tests/baselines/reference/tsbuild/moduleSpecifiers/initial-build/synthesized-module-specifiers-resolve-correctly.js +++ b/tests/baselines/reference/tsbuild/moduleSpecifiers/initial-build/synthesized-module-specifiers-resolve-correctly.js @@ -1,23 +1,23 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc -b /src --verbose -12:00:00 AM - Projects in this build: +[12:00:00 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: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:00 AM - Building project '/src/solution/common/tsconfig.json'... +[12:00:00 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: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:00 AM - Building project '/src/solution/sub-project/tsconfig.json'... +[12:00:00 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: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:00 AM - Building project '/src/solution/sub-project-2/tsconfig.json'... +[12:00:00 AM] Building project '/src/solution/sub-project-2/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/initial-build/has-empty-files-diagnostic-when-files-is-empty-and-no-references-are-provided.js b/tests/baselines/reference/tsbuild/noEmitOnError/initial-build/has-empty-files-diagnostic-when-files-is-empty-and-no-references-are-provided.js index 4d20cea86d6..b98ea8eba93 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/initial-build/has-empty-files-diagnostic-when-files-is-empty-and-no-references-are-provided.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/initial-build/has-empty-files-diagnostic-when-files-is-empty-and-no-references-are-provided.js @@ -1,6 +1,13 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/tsconfig.json -src/src/main.ts(4,1): error TS1005: ',' expected. +src/src/main.ts:4:1 - error TS1005: ',' expected. + +4 ; +  ~ + + +Found 1 error. + exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped diff --git a/tests/baselines/reference/tsbuild/outFile/initial-build/non-module-projects-without-prepend.js b/tests/baselines/reference/tsbuild/outFile/initial-build/non-module-projects-without-prepend.js index 6fde70fe4cf..a2e2f7a5c2e 100644 --- a/tests/baselines/reference/tsbuild/outFile/initial-build/non-module-projects-without-prepend.js +++ b/tests/baselines/reference/tsbuild/outFile/initial-build/non-module-projects-without-prepend.js @@ -1,21 +1,21 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/third --verbose -12:00:00 AM - Projects in this build: +[12:00:00 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:00 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:00 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:00 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:00 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:00 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:00 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outFile/initial-build/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js b/tests/baselines/reference/tsbuild/outFile/initial-build/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js index 30fe2be5a86..71fd3e3fe5f 100644 --- a/tests/baselines/reference/tsbuild/outFile/initial-build/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js +++ b/tests/baselines/reference/tsbuild/outFile/initial-build/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js @@ -1,21 +1,21 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/third --verbose -12:00:00 AM - Projects in this build: +[12:00:00 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: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:00 AM - Building project '/src/first/tsconfig.json'... +[12:00:00 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:00 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:00 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: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:00 AM - Building project '/src/third/tsconfig.json'... +[12:00:00 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outFile/initial-build/verify-buildInfo-absence-results-in-new-build.js b/tests/baselines/reference/tsbuild/outFile/initial-build/verify-buildInfo-absence-results-in-new-build.js index 310e56c01fb..101b6835a66 100644 --- a/tests/baselines/reference/tsbuild/outFile/initial-build/verify-buildInfo-absence-results-in-new-build.js +++ b/tests/baselines/reference/tsbuild/outFile/initial-build/verify-buildInfo-absence-results-in-new-build.js @@ -1,21 +1,21 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/third --verbose -12:00:00 AM - Projects in this build: +[12:00:00 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: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:00 AM - Building project '/src/first/tsconfig.json'... +[12:00:00 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: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:00 AM - Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:00:00 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:00 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:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-changes/baseline-sectioned-sourcemaps.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-changes/baseline-sectioned-sourcemaps.js index e5d4f35c93f..f325ef7008a 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-changes/baseline-sectioned-sourcemaps.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-changes/baseline-sectioned-sourcemaps.js @@ -1,19 +1,19 @@ //// [/lib/incremental-declaration-changesOutput.txt] /lib/tsc --b /src/third --verbose -12:04:00 AM - Projects in this build: +[12:04:00 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: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:04:00 AM - Building project '/src/first/tsconfig.json'... +[12:04:00 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: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: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: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:04:00 AM - Building project '/src/third/tsconfig.json'... +[12:04:00 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-changes/emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-changes/emitHelpers-in-all-projects.js index 5b05d6cff8c..cd0bd0473ba 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-changes/emitHelpers-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-changes/emitHelpers-in-all-projects.js @@ -1,19 +1,19 @@ //// [/lib/incremental-declaration-changesOutput.txt] /lib/tsc --b /src/third --verbose -12:04:00 AM - Projects in this build: +[12:04:00 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: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:04:00 AM - Building project '/src/first/tsconfig.json'... +[12:04:00 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: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: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: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:04:00 AM - Building project '/src/third/tsconfig.json'... +[12:04:00 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-changes/multiple-prologues-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-changes/multiple-prologues-in-all-projects.js index c8a9d53d874..9185f9ac0e2 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-changes/multiple-prologues-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-changes/multiple-prologues-in-all-projects.js @@ -1,19 +1,19 @@ //// [/lib/incremental-declaration-changesOutput.txt] /lib/tsc --b /src/third --verbose -12:04:00 AM - Projects in this build: +[12:04:00 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: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:04:00 AM - Building project '/src/first/tsconfig.json'... +[12:04:00 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: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: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: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:04:00 AM - Building project '/src/third/tsconfig.json'... +[12:04:00 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-changes/shebang-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-changes/shebang-in-all-projects.js index 68482354748..5f2c9410a2e 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-changes/shebang-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-changes/shebang-in-all-projects.js @@ -1,19 +1,19 @@ //// [/lib/incremental-declaration-changesOutput.txt] /lib/tsc --b /src/third --verbose -12:04:00 AM - Projects in this build: +[12:04:00 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: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:04:00 AM - Building project '/src/first/tsconfig.json'... +[12:04:00 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: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: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: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:04:00 AM - Building project '/src/third/tsconfig.json'... +[12:04:00 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-changes/strict-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-changes/strict-in-all-projects.js index 009e53ddc3a..83bb109249d 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-changes/strict-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-changes/strict-in-all-projects.js @@ -1,19 +1,19 @@ //// [/lib/incremental-declaration-changesOutput.txt] /lib/tsc --b /src/third --verbose -12:04:00 AM - Projects in this build: +[12:04:00 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: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:04:00 AM - Building project '/src/first/tsconfig.json'... +[12:04:00 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: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: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: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:04:00 AM - Building project '/src/third/tsconfig.json'... +[12:04:00 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-changes/stripInternal-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-changes/stripInternal-when-one-two-three-are-prepended-in-order.js index 330f9247847..e2c254da707 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-changes/stripInternal-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-changes/stripInternal-when-one-two-three-are-prepended-in-order.js @@ -1,21 +1,21 @@ //// [/lib/incremental-declaration-changesOutput.txt] /lib/tsc --b /src/third --verbose -12:04:00 AM - Projects in this build: +[12:04:00 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: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:04:00 AM - Building project '/src/first/tsconfig.json'... +[12:04:00 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: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:04:00 AM - Building project '/src/second/tsconfig.json'... +[12:04:00 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: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:04:00 AM - Building project '/src/third/tsconfig.json'... +[12:04:00 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-changes/stripInternal.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-changes/stripInternal.js index cbef4e79c26..8a7c483b3df 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-changes/stripInternal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-changes/stripInternal.js @@ -1,19 +1,19 @@ //// [/lib/incremental-declaration-changesOutput.txt] /lib/tsc --b /src/third --verbose -12:04:00 AM - Projects in this build: +[12:04:00 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: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:04:00 AM - Building project '/src/first/tsconfig.json'... +[12:04:00 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: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: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: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:04:00 AM - Building project '/src/third/tsconfig.json'... +[12:04:00 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-changes/triple-slash-refs-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-changes/triple-slash-refs-in-all-projects.js index e8896f24c61..e98afcd7bf0 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-changes/triple-slash-refs-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-changes/triple-slash-refs-in-all-projects.js @@ -1,19 +1,19 @@ //// [/lib/incremental-declaration-changesOutput.txt] /lib/tsc --b /src/third --verbose -12:04:00 AM - Projects in this build: +[12:04:00 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: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:04:00 AM - Building project '/src/first/tsconfig.json'... +[12:04:00 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: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: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: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:04:00 AM - Building project '/src/third/tsconfig.json'... +[12:04:00 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/baseline-sectioned-sourcemaps.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/baseline-sectioned-sourcemaps.js index a805c14be90..9d1086253f0 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/baseline-sectioned-sourcemaps.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/baseline-sectioned-sourcemaps.js @@ -1,21 +1,21 @@ //// [/lib/incremental-declaration-doesnt-changeOutput.txt] /lib/tsc --b /src/third --verbose -12:08:00 AM - Projects in this build: +[12:08:00 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -12:08: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:08: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:08:00 AM - Building project '/src/first/tsconfig.json'... +[12:08:00 AM] Building project '/src/first/tsconfig.json'... -12:08: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:08: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:08:00 AM - Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:08:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -12:08:00 AM - Updating output of project '/src/third/tsconfig.json'... +[12:08:00 AM] Updating output of project '/src/third/tsconfig.json'... -12:08:00 AM - Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:08:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/emitHelpers-in-all-projects.js index f841221d940..9abcd68d15f 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/emitHelpers-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/emitHelpers-in-all-projects.js @@ -1,21 +1,21 @@ //// [/lib/incremental-declaration-doesnt-changeOutput.txt] /lib/tsc --b /src/third --verbose -12:08:00 AM - Projects in this build: +[12:08:00 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -12:08: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:08: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:08:00 AM - Building project '/src/first/tsconfig.json'... +[12:08:00 AM] Building project '/src/first/tsconfig.json'... -12:08: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:08: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:08:00 AM - Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:08:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -12:08:00 AM - Updating output of project '/src/third/tsconfig.json'... +[12:08:00 AM] Updating output of project '/src/third/tsconfig.json'... -12:08:00 AM - Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:08:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/emitHelpers-in-only-one-dependency-project.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/emitHelpers-in-only-one-dependency-project.js index c9238840812..38f63e7110b 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/emitHelpers-in-only-one-dependency-project.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/emitHelpers-in-only-one-dependency-project.js @@ -1,21 +1,21 @@ //// [/lib/incremental-declaration-doesnt-changeOutput.txt] /lib/tsc --b /src/third --verbose -12:04:00 AM - Projects in this build: +[12:04:00 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: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:04:00 AM - Building project '/src/first/tsconfig.json'... +[12:04:00 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: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:04:00 AM - Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:04: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:04: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:04:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/multiple-emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/multiple-emitHelpers-in-all-projects.js index 468e4b45ad6..660e803f153 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/multiple-emitHelpers-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/multiple-emitHelpers-in-all-projects.js @@ -1,21 +1,21 @@ //// [/lib/incremental-declaration-doesnt-changeOutput.txt] /lib/tsc --b /src/third --verbose -12:04:00 AM - Projects in this build: +[12:04:00 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: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:04:00 AM - Building project '/src/first/tsconfig.json'... +[12:04:00 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: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:04:00 AM - Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:04: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:04: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:04:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/multiple-emitHelpers-in-different-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/multiple-emitHelpers-in-different-projects.js index 838cd926887..0eed0f734b0 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/multiple-emitHelpers-in-different-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/multiple-emitHelpers-in-different-projects.js @@ -1,21 +1,21 @@ //// [/lib/incremental-declaration-doesnt-changeOutput.txt] /lib/tsc --b /src/third --verbose -12:04:00 AM - Projects in this build: +[12:04:00 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: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:04:00 AM - Building project '/src/first/tsconfig.json'... +[12:04:00 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: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:04:00 AM - Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:04: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:04: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:04:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/multiple-prologues-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/multiple-prologues-in-all-projects.js index 6ed01121bcf..4cfbde10e5a 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/multiple-prologues-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/multiple-prologues-in-all-projects.js @@ -1,21 +1,21 @@ //// [/lib/incremental-declaration-doesnt-changeOutput.txt] /lib/tsc --b /src/third --verbose -12:08:00 AM - Projects in this build: +[12:08:00 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -12:08: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:08: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:08:00 AM - Building project '/src/first/tsconfig.json'... +[12:08:00 AM] Building project '/src/first/tsconfig.json'... -12:08: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:08: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:08:00 AM - Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:08:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -12:08:00 AM - Updating output of project '/src/third/tsconfig.json'... +[12:08:00 AM] Updating output of project '/src/third/tsconfig.json'... -12:08:00 AM - Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:08:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/multiple-prologues-in-different-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/multiple-prologues-in-different-projects.js index 8e36508f65b..9b82c4526ae 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/multiple-prologues-in-different-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/multiple-prologues-in-different-projects.js @@ -1,21 +1,21 @@ //// [/lib/incremental-declaration-doesnt-changeOutput.txt] /lib/tsc --b /src/third --verbose -12:04:00 AM - Projects in this build: +[12:04:00 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: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:04:00 AM - Building project '/src/first/tsconfig.json'... +[12:04:00 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: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:04:00 AM - Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:04: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:04: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:04:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/shebang-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/shebang-in-all-projects.js index 1a06d37841a..e7a673b3d9d 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/shebang-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/shebang-in-all-projects.js @@ -1,21 +1,21 @@ //// [/lib/incremental-declaration-doesnt-changeOutput.txt] /lib/tsc --b /src/third --verbose -12:08:00 AM - Projects in this build: +[12:08:00 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -12:08: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:08: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:08:00 AM - Building project '/src/first/tsconfig.json'... +[12:08:00 AM] Building project '/src/first/tsconfig.json'... -12:08: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:08: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:08:00 AM - Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:08:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -12:08:00 AM - Updating output of project '/src/third/tsconfig.json'... +[12:08:00 AM] Updating output of project '/src/third/tsconfig.json'... -12:08:00 AM - Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:08:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/shebang-in-only-one-dependency-project.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/shebang-in-only-one-dependency-project.js index 38ad3648800..d804a95c447 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/shebang-in-only-one-dependency-project.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/shebang-in-only-one-dependency-project.js @@ -1,21 +1,21 @@ //// [/lib/incremental-declaration-doesnt-changeOutput.txt] /lib/tsc --b /src/third --verbose -12:04:00 AM - Projects in this build: +[12:04:00 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: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:04:00 AM - Building project '/src/first/tsconfig.json'... +[12:04:00 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: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:04:00 AM - Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:04: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:04: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:04:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/strict-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/strict-in-all-projects.js index f5d6f6035f4..e4bcbaaab17 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/strict-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/strict-in-all-projects.js @@ -1,21 +1,21 @@ //// [/lib/incremental-declaration-doesnt-changeOutput.txt] /lib/tsc --b /src/third --verbose -12:08:00 AM - Projects in this build: +[12:08:00 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -12:08: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:08: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:08:00 AM - Building project '/src/first/tsconfig.json'... +[12:08:00 AM] Building project '/src/first/tsconfig.json'... -12:08: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:08: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:08:00 AM - Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:08:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -12:08:00 AM - Updating output of project '/src/third/tsconfig.json'... +[12:08:00 AM] Updating output of project '/src/third/tsconfig.json'... -12:08:00 AM - Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:08:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/strict-in-one-dependency.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/strict-in-one-dependency.js index b1068d14dd8..e48734c69cc 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/strict-in-one-dependency.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/strict-in-one-dependency.js @@ -1,21 +1,21 @@ //// [/lib/incremental-declaration-doesnt-changeOutput.txt] /lib/tsc --b /src/third --verbose -12:04:00 AM - Projects in this build: +[12:04:00 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: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:04:00 AM - Building project '/src/first/tsconfig.json'... +[12:04:00 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: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:04:00 AM - Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:04: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:04: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:04:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js index fc01bc4a23c..9b0d7049b4f 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js @@ -1,25 +1,25 @@ //// [/lib/incremental-declaration-doesnt-changeOutput.txt] /lib/tsc --b /src/third --verbose -12:04:00 AM - Projects in this build: +[12:04:00 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: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:04:00 AM - Building project '/src/first/tsconfig.json'... +[12:04:00 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:04: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:04:00 AM] Updating output of project '/src/second/tsconfig.json'... -12:04:00 AM - Updating unchanged output timestamps of project '/src/second/tsconfig.json'... +[12:04:00 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:04:00 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:04: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:04:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/stripInternal-jsdoc-style-comment.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/stripInternal-jsdoc-style-comment.js index 4acef29ac79..ba145a9ef7a 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/stripInternal-jsdoc-style-comment.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/stripInternal-jsdoc-style-comment.js @@ -1,21 +1,21 @@ //// [/lib/incremental-declaration-doesnt-changeOutput.txt] /lib/tsc --b /src/third --verbose -12:04:00 AM - Projects in this build: +[12:04:00 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: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:04:00 AM - Building project '/src/first/tsconfig.json'... +[12:04:00 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: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:04:00 AM - Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:04: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:04: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:04:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js index ca8fbac858e..d0b67eb0aff 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js @@ -1,25 +1,25 @@ //// [/lib/incremental-declaration-doesnt-changeOutput.txt] /lib/tsc --b /src/third --verbose -12:04:00 AM - Projects in this build: +[12:04:00 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: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:04:00 AM - Building project '/src/first/tsconfig.json'... +[12:04:00 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:04: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:04:00 AM] Updating output of project '/src/second/tsconfig.json'... -12:04:00 AM - Updating unchanged output timestamps of project '/src/second/tsconfig.json'... +[12:04:00 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:04:00 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:04: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:04:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/stripInternal-jsdoc-style-with-comments-emit-enabled.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/stripInternal-jsdoc-style-with-comments-emit-enabled.js index 0268f265a20..1b6673e4e73 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/stripInternal-jsdoc-style-with-comments-emit-enabled.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/stripInternal-jsdoc-style-with-comments-emit-enabled.js @@ -1,21 +1,21 @@ //// [/lib/incremental-declaration-doesnt-changeOutput.txt] /lib/tsc --b /src/third --verbose -12:04:00 AM - Projects in this build: +[12:04:00 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: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:04:00 AM - Building project '/src/first/tsconfig.json'... +[12:04:00 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: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:04:00 AM - Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:04: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:04: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:04:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/stripInternal-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/stripInternal-when-one-two-three-are-prepended-in-order.js index 49f9b33b92f..5e66dbb2d59 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/stripInternal-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/stripInternal-when-one-two-three-are-prepended-in-order.js @@ -1,25 +1,25 @@ //// [/lib/incremental-declaration-doesnt-changeOutput.txt] /lib/tsc --b /src/third --verbose -12:08:00 AM - Projects in this build: +[12:08:00 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -12:08: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:08: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:08:00 AM - Building project '/src/first/tsconfig.json'... +[12:08:00 AM] Building project '/src/first/tsconfig.json'... -12:08:00 AM - Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:08:00 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -12:08:00 AM - Updating output of project '/src/second/tsconfig.json'... +[12:08:00 AM] Updating output of project '/src/second/tsconfig.json'... -12:08:00 AM - Updating unchanged output timestamps of project '/src/second/tsconfig.json'... +[12:08:00 AM] Updating unchanged output timestamps of project '/src/second/tsconfig.json'... -12:08:00 AM - Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed +[12:08:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed -12:08:00 AM - Updating output of project '/src/third/tsconfig.json'... +[12:08:00 AM] Updating output of project '/src/third/tsconfig.json'... -12:08:00 AM - Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:08:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js index b099862a171..4625eada85d 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js @@ -1,25 +1,25 @@ //// [/lib/incremental-declaration-doesnt-changeOutput.txt] /lib/tsc --b /src/third --verbose -12:04:00 AM - Projects in this build: +[12:04:00 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: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:04:00 AM - Building project '/src/first/tsconfig.json'... +[12:04:00 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:04: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:04:00 AM] Updating output of project '/src/second/tsconfig.json'... -12:04:00 AM - Updating unchanged output timestamps of project '/src/second/tsconfig.json'... +[12:04:00 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:04:00 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:04: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:04:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/stripInternal-with-comments-emit-enabled.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/stripInternal-with-comments-emit-enabled.js index 93278768516..8fe5f69f1b6 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/stripInternal-with-comments-emit-enabled.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/stripInternal-with-comments-emit-enabled.js @@ -1,21 +1,21 @@ //// [/lib/incremental-declaration-doesnt-changeOutput.txt] /lib/tsc --b /src/third --verbose -12:04:00 AM - Projects in this build: +[12:04:00 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: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:04:00 AM - Building project '/src/first/tsconfig.json'... +[12:04:00 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: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:04:00 AM - Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:04: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:04: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:04:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/stripInternal.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/stripInternal.js index b08266853f1..b3539f7ef4d 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/stripInternal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/stripInternal.js @@ -1,21 +1,21 @@ //// [/lib/incremental-declaration-doesnt-changeOutput.txt] /lib/tsc --b /src/third --verbose -12:08:00 AM - Projects in this build: +[12:08:00 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -12:08: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:08: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:08:00 AM - Building project '/src/first/tsconfig.json'... +[12:08:00 AM] Building project '/src/first/tsconfig.json'... -12:08: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:08: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:08:00 AM - Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:08:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -12:08:00 AM - Updating output of project '/src/third/tsconfig.json'... +[12:08:00 AM] Updating output of project '/src/third/tsconfig.json'... -12:08:00 AM - Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:08:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/triple-slash-refs-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/triple-slash-refs-in-all-projects.js index 285c570630d..2aa12549298 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/triple-slash-refs-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/triple-slash-refs-in-all-projects.js @@ -1,21 +1,21 @@ //// [/lib/incremental-declaration-doesnt-changeOutput.txt] /lib/tsc --b /src/third --verbose -12:08:00 AM - Projects in this build: +[12:08:00 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -12:08: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:08: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:08:00 AM - Building project '/src/first/tsconfig.json'... +[12:08:00 AM] Building project '/src/first/tsconfig.json'... -12:08: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:08: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:08:00 AM - Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:08:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -12:08:00 AM - Updating output of project '/src/third/tsconfig.json'... +[12:08:00 AM] Updating output of project '/src/third/tsconfig.json'... -12:08:00 AM - Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:08:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/triple-slash-refs-in-one-project.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/triple-slash-refs-in-one-project.js index 1beaaa4d915..aeb73f5fabb 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/triple-slash-refs-in-one-project.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/triple-slash-refs-in-one-project.js @@ -1,21 +1,21 @@ //// [/lib/incremental-declaration-doesnt-changeOutput.txt] /lib/tsc --b /src/third --verbose -12:04:00 AM - Projects in this build: +[12:04:00 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: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:04:00 AM - Building project '/src/first/tsconfig.json'... +[12:04:00 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: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:04:00 AM - Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:04: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:04: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:04:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/when-final-project-is-not-composite-but-uses-project-references.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/when-final-project-is-not-composite-but-uses-project-references.js index 71052c4b610..73a71564615 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/when-final-project-is-not-composite-but-uses-project-references.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/when-final-project-is-not-composite-but-uses-project-references.js @@ -1,19 +1,19 @@ //// [/lib/incremental-declaration-doesnt-changeOutput.txt] /lib/tsc --b /src/third --verbose -12:04:00 AM - Projects in this build: +[12:04:00 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: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:04:00 AM - Building project '/src/first/tsconfig.json'... +[12:04:00 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: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:04:00 AM - Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:04:00 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:04:00 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/when-source-files-are-empty-in-the-own-file.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/when-source-files-are-empty-in-the-own-file.js index 9df84107d04..39068288c81 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/when-source-files-are-empty-in-the-own-file.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-declaration-doesnt-change/when-source-files-are-empty-in-the-own-file.js @@ -1,21 +1,21 @@ //// [/lib/incremental-declaration-doesnt-changeOutput.txt] /lib/tsc --b /src/third --verbose -12:04:00 AM - Projects in this build: +[12:04:00 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: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:04:00 AM - Building project '/src/first/tsconfig.json'... +[12:04:00 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: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:04:00 AM - Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:04: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:04: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:04:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change-without-dts-changes/emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change-without-dts-changes/emitHelpers-in-all-projects.js index 8a95a54f99a..593748bf3a5 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change-without-dts-changes/emitHelpers-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change-without-dts-changes/emitHelpers-in-all-projects.js @@ -1,21 +1,21 @@ //// [/lib/incremental-headers-change-without-dts-changesOutput.txt] /lib/tsc --b /src/third --verbose -12:12:00 AM - Projects in this build: +[12:12:00 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -12:12: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:12: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:12:00 AM - Building project '/src/first/tsconfig.json'... +[12:12:00 AM] Building project '/src/first/tsconfig.json'... -12:12: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:12: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:12:00 AM - Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:12:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -12:12:00 AM - Updating output of project '/src/third/tsconfig.json'... +[12:12:00 AM] Updating output of project '/src/third/tsconfig.json'... -12:12:00 AM - Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:12:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change-without-dts-changes/emitHelpers-in-only-one-dependency-project.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change-without-dts-changes/emitHelpers-in-only-one-dependency-project.js index aa9240a62a7..ef8e6848265 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change-without-dts-changes/emitHelpers-in-only-one-dependency-project.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change-without-dts-changes/emitHelpers-in-only-one-dependency-project.js @@ -1,21 +1,21 @@ //// [/lib/incremental-headers-change-without-dts-changesOutput.txt] /lib/tsc --b /src/third --verbose -12:08:00 AM - Projects in this build: +[12:08:00 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -12:08: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:08: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:08:00 AM - Building project '/src/first/tsconfig.json'... +[12:08:00 AM] Building project '/src/first/tsconfig.json'... -12:08: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:08: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:08:00 AM - Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:08:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -12:08:00 AM - Updating output of project '/src/third/tsconfig.json'... +[12:08:00 AM] Updating output of project '/src/third/tsconfig.json'... -12:08:00 AM - Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:08:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change-without-dts-changes/multiple-emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change-without-dts-changes/multiple-emitHelpers-in-all-projects.js index d6dded28089..9ae6cf408d5 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change-without-dts-changes/multiple-emitHelpers-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change-without-dts-changes/multiple-emitHelpers-in-all-projects.js @@ -1,21 +1,21 @@ //// [/lib/incremental-headers-change-without-dts-changesOutput.txt] /lib/tsc --b /src/third --verbose -12:08:00 AM - Projects in this build: +[12:08:00 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -12:08: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:08: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:08:00 AM - Building project '/src/first/tsconfig.json'... +[12:08:00 AM] Building project '/src/first/tsconfig.json'... -12:08: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:08: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:08:00 AM - Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:08:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -12:08:00 AM - Updating output of project '/src/third/tsconfig.json'... +[12:08:00 AM] Updating output of project '/src/third/tsconfig.json'... -12:08:00 AM - Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:08:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change-without-dts-changes/multiple-emitHelpers-in-different-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change-without-dts-changes/multiple-emitHelpers-in-different-projects.js index 2185893e4cb..d829ba90b35 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change-without-dts-changes/multiple-emitHelpers-in-different-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change-without-dts-changes/multiple-emitHelpers-in-different-projects.js @@ -1,21 +1,21 @@ //// [/lib/incremental-headers-change-without-dts-changesOutput.txt] /lib/tsc --b /src/third --verbose -12:08:00 AM - Projects in this build: +[12:08:00 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -12:08: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:08: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:08:00 AM - Building project '/src/first/tsconfig.json'... +[12:08:00 AM] Building project '/src/first/tsconfig.json'... -12:08: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:08: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:08:00 AM - Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:08:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -12:08:00 AM - Updating output of project '/src/third/tsconfig.json'... +[12:08:00 AM] Updating output of project '/src/third/tsconfig.json'... -12:08:00 AM - Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:08:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change-without-dts-changes/multiple-prologues-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change-without-dts-changes/multiple-prologues-in-all-projects.js index f1ed7eceec2..88b5e1c9d67 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change-without-dts-changes/multiple-prologues-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change-without-dts-changes/multiple-prologues-in-all-projects.js @@ -1,21 +1,21 @@ //// [/lib/incremental-headers-change-without-dts-changesOutput.txt] /lib/tsc --b /src/third --verbose -12:12:00 AM - Projects in this build: +[12:12:00 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -12:12: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:12: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:12:00 AM - Building project '/src/first/tsconfig.json'... +[12:12:00 AM] Building project '/src/first/tsconfig.json'... -12:12: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:12: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:12:00 AM - Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:12:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -12:12:00 AM - Updating output of project '/src/third/tsconfig.json'... +[12:12:00 AM] Updating output of project '/src/third/tsconfig.json'... -12:12:00 AM - Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:12:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change-without-dts-changes/multiple-prologues-in-different-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change-without-dts-changes/multiple-prologues-in-different-projects.js index 0813221bc46..a464c3addc4 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change-without-dts-changes/multiple-prologues-in-different-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change-without-dts-changes/multiple-prologues-in-different-projects.js @@ -1,21 +1,21 @@ //// [/lib/incremental-headers-change-without-dts-changesOutput.txt] /lib/tsc --b /src/third --verbose -12:08:00 AM - Projects in this build: +[12:08:00 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -12:08: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:08: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:08:00 AM - Building project '/src/first/tsconfig.json'... +[12:08:00 AM] Building project '/src/first/tsconfig.json'... -12:08: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:08: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:08:00 AM - Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:08:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -12:08:00 AM - Updating output of project '/src/third/tsconfig.json'... +[12:08:00 AM] Updating output of project '/src/third/tsconfig.json'... -12:08:00 AM - Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:08:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change-without-dts-changes/strict-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change-without-dts-changes/strict-in-all-projects.js index 43be2024501..3550da7cfd3 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change-without-dts-changes/strict-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change-without-dts-changes/strict-in-all-projects.js @@ -1,21 +1,21 @@ //// [/lib/incremental-headers-change-without-dts-changesOutput.txt] /lib/tsc --b /src/third --verbose -12:12:00 AM - Projects in this build: +[12:12:00 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -12:12: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:12: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:12:00 AM - Building project '/src/first/tsconfig.json'... +[12:12:00 AM] Building project '/src/first/tsconfig.json'... -12:12: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:12: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:12:00 AM - Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:12:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -12:12:00 AM - Updating output of project '/src/third/tsconfig.json'... +[12:12:00 AM] Updating output of project '/src/third/tsconfig.json'... -12:12:00 AM - Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:12:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change-without-dts-changes/strict-in-one-dependency.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change-without-dts-changes/strict-in-one-dependency.js index 5742487e7bf..56730581e44 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change-without-dts-changes/strict-in-one-dependency.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change-without-dts-changes/strict-in-one-dependency.js @@ -1,21 +1,21 @@ //// [/lib/incremental-headers-change-without-dts-changesOutput.txt] /lib/tsc --b /src/third --verbose -12:08:00 AM - Projects in this build: +[12:08:00 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -12:08: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:08: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:08:00 AM - Building project '/src/first/tsconfig.json'... +[12:08:00 AM] Building project '/src/first/tsconfig.json'... -12:08: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:08: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:08:00 AM - Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:08:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -12:08:00 AM - Updating output of project '/src/third/tsconfig.json'... +[12:08:00 AM] Updating output of project '/src/third/tsconfig.json'... -12:08:00 AM - Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:08:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change-without-dts-changes/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change-without-dts-changes/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js index 518f8cfd046..a9fa587f9ca 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change-without-dts-changes/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change-without-dts-changes/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js @@ -1,25 +1,25 @@ //// [/lib/incremental-headers-change-without-dts-changesOutput.txt] /lib/tsc --b /src/third --verbose -12:08:00 AM - Projects in this build: +[12:08:00 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -12:08: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:08: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:08:00 AM - Building project '/src/first/tsconfig.json'... +[12:08:00 AM] Building project '/src/first/tsconfig.json'... -12:08:00 AM - Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:08:00 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -12:08:00 AM - Updating output of project '/src/second/tsconfig.json'... +[12:08:00 AM] Updating output of project '/src/second/tsconfig.json'... -12:08:00 AM - Updating unchanged output timestamps of project '/src/second/tsconfig.json'... +[12:08:00 AM] Updating unchanged output timestamps of project '/src/second/tsconfig.json'... -12:08:00 AM - Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed +[12:08:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed -12:08:00 AM - Updating output of project '/src/third/tsconfig.json'... +[12:08:00 AM] Updating output of project '/src/third/tsconfig.json'... -12:08:00 AM - Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:08:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change-without-dts-changes/stripInternal-jsdoc-style-comment.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change-without-dts-changes/stripInternal-jsdoc-style-comment.js index da905e9ce34..d1109391c26 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change-without-dts-changes/stripInternal-jsdoc-style-comment.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change-without-dts-changes/stripInternal-jsdoc-style-comment.js @@ -1,21 +1,21 @@ //// [/lib/incremental-headers-change-without-dts-changesOutput.txt] /lib/tsc --b /src/third --verbose -12:08:00 AM - Projects in this build: +[12:08:00 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -12:08: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:08: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:08:00 AM - Building project '/src/first/tsconfig.json'... +[12:08:00 AM] Building project '/src/first/tsconfig.json'... -12:08: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:08: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:08:00 AM - Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:08:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -12:08:00 AM - Updating output of project '/src/third/tsconfig.json'... +[12:08:00 AM] Updating output of project '/src/third/tsconfig.json'... -12:08:00 AM - Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:08:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change-without-dts-changes/stripInternal-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change-without-dts-changes/stripInternal-when-one-two-three-are-prepended-in-order.js index 0659dc0455e..a8cc6f446fc 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change-without-dts-changes/stripInternal-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change-without-dts-changes/stripInternal-when-one-two-three-are-prepended-in-order.js @@ -1,25 +1,25 @@ //// [/lib/incremental-headers-change-without-dts-changesOutput.txt] /lib/tsc --b /src/third --verbose -12:12:00 AM - Projects in this build: +[12:12:00 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -12:12: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:12: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:12:00 AM - Building project '/src/first/tsconfig.json'... +[12:12:00 AM] Building project '/src/first/tsconfig.json'... -12:12:00 AM - Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:12:00 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -12:12:00 AM - Updating output of project '/src/second/tsconfig.json'... +[12:12:00 AM] Updating output of project '/src/second/tsconfig.json'... -12:12:00 AM - Updating unchanged output timestamps of project '/src/second/tsconfig.json'... +[12:12:00 AM] Updating unchanged output timestamps of project '/src/second/tsconfig.json'... -12:12:00 AM - Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed +[12:12:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed -12:12:00 AM - Updating output of project '/src/third/tsconfig.json'... +[12:12:00 AM] Updating output of project '/src/third/tsconfig.json'... -12:12:00 AM - Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:12:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change-without-dts-changes/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change-without-dts-changes/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js index 7d216095203..6bebc8ccdf2 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change-without-dts-changes/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change-without-dts-changes/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js @@ -1,25 +1,25 @@ //// [/lib/incremental-headers-change-without-dts-changesOutput.txt] /lib/tsc --b /src/third --verbose -12:08:00 AM - Projects in this build: +[12:08:00 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -12:08: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:08: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:08:00 AM - Building project '/src/first/tsconfig.json'... +[12:08:00 AM] Building project '/src/first/tsconfig.json'... -12:08:00 AM - Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:08:00 AM] Project 'src/second/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -12:08:00 AM - Updating output of project '/src/second/tsconfig.json'... +[12:08:00 AM] Updating output of project '/src/second/tsconfig.json'... -12:08:00 AM - Updating unchanged output timestamps of project '/src/second/tsconfig.json'... +[12:08:00 AM] Updating unchanged output timestamps of project '/src/second/tsconfig.json'... -12:08:00 AM - Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed +[12:08:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/second' has changed -12:08:00 AM - Updating output of project '/src/third/tsconfig.json'... +[12:08:00 AM] Updating output of project '/src/third/tsconfig.json'... -12:08:00 AM - Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:08:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change-without-dts-changes/stripInternal-with-comments-emit-enabled.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change-without-dts-changes/stripInternal-with-comments-emit-enabled.js index e49a98cb9eb..91983831dbe 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change-without-dts-changes/stripInternal-with-comments-emit-enabled.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change-without-dts-changes/stripInternal-with-comments-emit-enabled.js @@ -1,21 +1,21 @@ //// [/lib/incremental-headers-change-without-dts-changesOutput.txt] /lib/tsc --b /src/third --verbose -12:08:00 AM - Projects in this build: +[12:08:00 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -12:08: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:08: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:08:00 AM - Building project '/src/first/tsconfig.json'... +[12:08:00 AM] Building project '/src/first/tsconfig.json'... -12:08: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:08: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:08:00 AM - Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:08:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -12:08:00 AM - Updating output of project '/src/third/tsconfig.json'... +[12:08:00 AM] Updating output of project '/src/third/tsconfig.json'... -12:08:00 AM - Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:08:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change-without-dts-changes/stripInternal.js b/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change-without-dts-changes/stripInternal.js index b52dbc7d686..a2e37c11323 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change-without-dts-changes/stripInternal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/incremental-headers-change-without-dts-changes/stripInternal.js @@ -1,21 +1,21 @@ //// [/lib/incremental-headers-change-without-dts-changesOutput.txt] /lib/tsc --b /src/third --verbose -12:12:00 AM - Projects in this build: +[12:12:00 AM] Projects in this build: * src/first/tsconfig.json * src/second/tsconfig.json * src/third/tsconfig.json -12:12: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:12: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:12:00 AM - Building project '/src/first/tsconfig.json'... +[12:12:00 AM] Building project '/src/first/tsconfig.json'... -12:12: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:12: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:12:00 AM - Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed +[12:12:00 AM] Project 'src/third/tsconfig.json' is out of date because output of its dependency 'src/first' has changed -12:12:00 AM - Updating output of project '/src/third/tsconfig.json'... +[12:12:00 AM] Updating output of project '/src/third/tsconfig.json'... -12:12:00 AM - Updating unchanged output timestamps of project '/src/third/tsconfig.json'... +[12:12:00 AM] Updating unchanged output timestamps of project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/initial-build/baseline-sectioned-sourcemaps.js b/tests/baselines/reference/tsbuild/outfile-concat/initial-build/baseline-sectioned-sourcemaps.js index bd3389dfbc3..289cfde3950 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/initial-build/baseline-sectioned-sourcemaps.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/initial-build/baseline-sectioned-sourcemaps.js @@ -1,21 +1,21 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/third --verbose -12:01:00 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: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: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:01:00 AM - Building project '/src/first/tsconfig.json'... +[12:01:00 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:01:00 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:01:00 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: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:01:00 AM - Building project '/src/third/tsconfig.json'... +[12:01:00 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/initial-build/declarationMap-and-sourceMap-disabled.js b/tests/baselines/reference/tsbuild/outfile-concat/initial-build/declarationMap-and-sourceMap-disabled.js index f5ade132423..f69a5b700e8 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/initial-build/declarationMap-and-sourceMap-disabled.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/initial-build/declarationMap-and-sourceMap-disabled.js @@ -1,21 +1,21 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/third --verbose -12:00:00 AM - Projects in this build: +[12:00:00 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: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:00 AM - Building project '/src/first/tsconfig.json'... +[12:00:00 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:00 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:00 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: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:00 AM - Building project '/src/third/tsconfig.json'... +[12:00:00 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/initial-build/emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/initial-build/emitHelpers-in-all-projects.js index 0aa82f67719..82fa503e02c 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/initial-build/emitHelpers-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/initial-build/emitHelpers-in-all-projects.js @@ -1,21 +1,21 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/third --verbose -12:01:00 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: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: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:01:00 AM - Building project '/src/first/tsconfig.json'... +[12:01:00 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:01:00 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:01:00 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: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:01:00 AM - Building project '/src/third/tsconfig.json'... +[12:01:00 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/initial-build/emitHelpers-in-only-one-dependency-project.js b/tests/baselines/reference/tsbuild/outfile-concat/initial-build/emitHelpers-in-only-one-dependency-project.js index 5418a2999e9..f8bf0161b4e 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/initial-build/emitHelpers-in-only-one-dependency-project.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/initial-build/emitHelpers-in-only-one-dependency-project.js @@ -1,21 +1,21 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/third --verbose -12:01:00 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: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: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:01:00 AM - Building project '/src/first/tsconfig.json'... +[12:01:00 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:01:00 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:01:00 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: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:01:00 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/initial-build/multiple-emitHelpers-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/initial-build/multiple-emitHelpers-in-all-projects.js index 4f45dea3525..7ff916a6008 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/initial-build/multiple-emitHelpers-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/initial-build/multiple-emitHelpers-in-all-projects.js @@ -1,21 +1,21 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/third --verbose -12:01:00 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: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: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:01:00 AM - Building project '/src/first/tsconfig.json'... +[12:01:00 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:01:00 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:01:00 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: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:01:00 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/initial-build/multiple-emitHelpers-in-different-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/initial-build/multiple-emitHelpers-in-different-projects.js index fa74878263c..b603ca10163 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/initial-build/multiple-emitHelpers-in-different-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/initial-build/multiple-emitHelpers-in-different-projects.js @@ -1,21 +1,21 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/third --verbose -12:01:00 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: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: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:01:00 AM - Building project '/src/first/tsconfig.json'... +[12:01:00 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:01:00 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:01:00 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: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:01:00 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/initial-build/multiple-prologues-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/initial-build/multiple-prologues-in-all-projects.js index 3384786dff3..7bbf4414828 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/initial-build/multiple-prologues-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/initial-build/multiple-prologues-in-all-projects.js @@ -1,21 +1,21 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/third --verbose -12:01:00 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: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: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:01:00 AM - Building project '/src/first/tsconfig.json'... +[12:01:00 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:01:00 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:01:00 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: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:01:00 AM - Building project '/src/third/tsconfig.json'... +[12:01:00 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/initial-build/multiple-prologues-in-different-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/initial-build/multiple-prologues-in-different-projects.js index 739026ac55a..f2cd75a0ae1 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/initial-build/multiple-prologues-in-different-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/initial-build/multiple-prologues-in-different-projects.js @@ -1,21 +1,21 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/third --verbose -12:01:00 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: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: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:01:00 AM - Building project '/src/first/tsconfig.json'... +[12:01:00 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:01:00 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:01:00 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: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:01:00 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/initial-build/shebang-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/initial-build/shebang-in-all-projects.js index dcf2a348406..262b41d24b3 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/initial-build/shebang-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/initial-build/shebang-in-all-projects.js @@ -1,21 +1,21 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/third --verbose -12:01:00 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: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: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:01:00 AM - Building project '/src/first/tsconfig.json'... +[12:01:00 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:01:00 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:01:00 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: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:01:00 AM - Building project '/src/third/tsconfig.json'... +[12:01:00 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/initial-build/shebang-in-only-one-dependency-project.js b/tests/baselines/reference/tsbuild/outfile-concat/initial-build/shebang-in-only-one-dependency-project.js index 2544423aa9a..8687412e9bd 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/initial-build/shebang-in-only-one-dependency-project.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/initial-build/shebang-in-only-one-dependency-project.js @@ -1,21 +1,21 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/third --verbose -12:01:00 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: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: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:01:00 AM - Building project '/src/first/tsconfig.json'... +[12:01:00 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:01:00 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:01:00 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: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:01:00 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/initial-build/strict-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/initial-build/strict-in-all-projects.js index e09acc6c682..a15ca0afbb9 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/initial-build/strict-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/initial-build/strict-in-all-projects.js @@ -1,21 +1,21 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/third --verbose -12:01:00 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: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: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:01:00 AM - Building project '/src/first/tsconfig.json'... +[12:01:00 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:01:00 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:01:00 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: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:01:00 AM - Building project '/src/third/tsconfig.json'... +[12:01:00 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/initial-build/strict-in-one-dependency.js b/tests/baselines/reference/tsbuild/outfile-concat/initial-build/strict-in-one-dependency.js index d959c28bc6b..10474226616 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/initial-build/strict-in-one-dependency.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/initial-build/strict-in-one-dependency.js @@ -1,21 +1,21 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/third --verbose -12:01:00 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: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: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:01:00 AM - Building project '/src/first/tsconfig.json'... +[12:01:00 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:01:00 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:01:00 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: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:01:00 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/initial-build/stripInternal-baseline-when-internal-is-inside-another-internal.js b/tests/baselines/reference/tsbuild/outfile-concat/initial-build/stripInternal-baseline-when-internal-is-inside-another-internal.js index ac134802dac..10a077332c4 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/initial-build/stripInternal-baseline-when-internal-is-inside-another-internal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/initial-build/stripInternal-baseline-when-internal-is-inside-another-internal.js @@ -1,21 +1,21 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/third --verbose -12:00:00 AM - Projects in this build: +[12:00:00 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: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:00 AM - Building project '/src/first/tsconfig.json'... +[12:00:00 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:00 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:00 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: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:00 AM - Building project '/src/third/tsconfig.json'... +[12:00:00 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/initial-build/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/initial-build/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js index d255a9c7dea..b29a853610f 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/initial-build/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/initial-build/stripInternal-jsdoc-style-comment-when-one-two-three-are-prepended-in-order.js @@ -1,21 +1,21 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/third --verbose -12:01:00 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: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: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:01:00 AM - Building project '/src/first/tsconfig.json'... +[12:01:00 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:01:00 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:01:00 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: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:01:00 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/initial-build/stripInternal-jsdoc-style-comment.js b/tests/baselines/reference/tsbuild/outfile-concat/initial-build/stripInternal-jsdoc-style-comment.js index 26dbbe8d271..120b30f1762 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/initial-build/stripInternal-jsdoc-style-comment.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/initial-build/stripInternal-jsdoc-style-comment.js @@ -1,21 +1,21 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/third --verbose -12:01:00 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: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: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:01:00 AM - Building project '/src/first/tsconfig.json'... +[12:01:00 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:01:00 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:01:00 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: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:01:00 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/initial-build/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/initial-build/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js index 487782c0efb..338777d51e5 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/initial-build/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/initial-build/stripInternal-jsdoc-style-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js @@ -1,21 +1,21 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/third --verbose -12:01:00 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: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: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:01:00 AM - Building project '/src/first/tsconfig.json'... +[12:01:00 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:01:00 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:01:00 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: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:01:00 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/initial-build/stripInternal-jsdoc-style-with-comments-emit-enabled.js b/tests/baselines/reference/tsbuild/outfile-concat/initial-build/stripInternal-jsdoc-style-with-comments-emit-enabled.js index e68da69f528..0b266514ac8 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/initial-build/stripInternal-jsdoc-style-with-comments-emit-enabled.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/initial-build/stripInternal-jsdoc-style-with-comments-emit-enabled.js @@ -1,21 +1,21 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/third --verbose -12:01:00 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: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: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:01:00 AM - Building project '/src/first/tsconfig.json'... +[12:01:00 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:01:00 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:01:00 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: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:01:00 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/initial-build/stripInternal-when-few-members-of-enum-are-internal.js b/tests/baselines/reference/tsbuild/outfile-concat/initial-build/stripInternal-when-few-members-of-enum-are-internal.js index 404f87e44a4..29faf13444f 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/initial-build/stripInternal-when-few-members-of-enum-are-internal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/initial-build/stripInternal-when-few-members-of-enum-are-internal.js @@ -1,21 +1,21 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/third --verbose -12:00:00 AM - Projects in this build: +[12:00:00 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: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:00 AM - Building project '/src/first/tsconfig.json'... +[12:00:00 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:00 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:00 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: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:00 AM - Building project '/src/third/tsconfig.json'... +[12:00:00 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/initial-build/stripInternal-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/initial-build/stripInternal-when-one-two-three-are-prepended-in-order.js index 90150a8cfaf..182887cdc81 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/initial-build/stripInternal-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/initial-build/stripInternal-when-one-two-three-are-prepended-in-order.js @@ -1,21 +1,21 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/third --verbose -12:01:00 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: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: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:01:00 AM - Building project '/src/first/tsconfig.json'... +[12:01:00 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:01:00 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:01:00 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: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:01:00 AM - Building project '/src/third/tsconfig.json'... +[12:01:00 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/initial-build/stripInternal-when-prepend-is-completely-internal.js b/tests/baselines/reference/tsbuild/outfile-concat/initial-build/stripInternal-when-prepend-is-completely-internal.js index 1acbd84075d..219f5fd1756 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/initial-build/stripInternal-when-prepend-is-completely-internal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/initial-build/stripInternal-when-prepend-is-completely-internal.js @@ -1,16 +1,16 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/third --verbose -12:00:00 AM - Projects in this build: +[12:00:00 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: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:00 AM - Building project '/src/first/tsconfig.json'... +[12:00:00 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: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:00 AM - Building project '/src/third/tsconfig.json'... +[12:00:00 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/initial-build/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js b/tests/baselines/reference/tsbuild/outfile-concat/initial-build/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js index daa46ca4b4e..d93d9332856 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/initial-build/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/initial-build/stripInternal-with-comments-emit-enabled-when-one-two-three-are-prepended-in-order.js @@ -1,21 +1,21 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/third --verbose -12:01:00 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: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: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:01:00 AM - Building project '/src/first/tsconfig.json'... +[12:01:00 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:01:00 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:01:00 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: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:01:00 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/initial-build/stripInternal-with-comments-emit-enabled.js b/tests/baselines/reference/tsbuild/outfile-concat/initial-build/stripInternal-with-comments-emit-enabled.js index 959647f7fcb..29cca87802b 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/initial-build/stripInternal-with-comments-emit-enabled.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/initial-build/stripInternal-with-comments-emit-enabled.js @@ -1,21 +1,21 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/third --verbose -12:01:00 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: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: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:01:00 AM - Building project '/src/first/tsconfig.json'... +[12:01:00 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:01:00 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:01:00 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: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:01:00 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/initial-build/stripInternal.js b/tests/baselines/reference/tsbuild/outfile-concat/initial-build/stripInternal.js index df6b517cc06..08beb4b6a44 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/initial-build/stripInternal.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/initial-build/stripInternal.js @@ -1,21 +1,21 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/third --verbose -12:01:00 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: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: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:01:00 AM - Building project '/src/first/tsconfig.json'... +[12:01:00 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:01:00 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:01:00 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: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:01:00 AM - Building project '/src/third/tsconfig.json'... +[12:01:00 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/initial-build/triple-slash-refs-in-all-projects.js b/tests/baselines/reference/tsbuild/outfile-concat/initial-build/triple-slash-refs-in-all-projects.js index c0f287ba863..1b87c4b808c 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/initial-build/triple-slash-refs-in-all-projects.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/initial-build/triple-slash-refs-in-all-projects.js @@ -1,21 +1,21 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/third --verbose -12:01:00 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: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: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:01:00 AM - Building project '/src/first/tsconfig.json'... +[12:01:00 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:01:00 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:01:00 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: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:01:00 AM - Building project '/src/third/tsconfig.json'... +[12:01:00 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/outfile-concat/initial-build/triple-slash-refs-in-one-project.js b/tests/baselines/reference/tsbuild/outfile-concat/initial-build/triple-slash-refs-in-one-project.js index d2396185240..ee1fd0fdde6 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/initial-build/triple-slash-refs-in-one-project.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/initial-build/triple-slash-refs-in-one-project.js @@ -1,21 +1,21 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/third --verbose -12:01:00 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: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: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:01:00 AM - Building project '/src/first/tsconfig.json'... +[12:01:00 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:01:00 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:01:00 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: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:01:00 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/initial-build/when-final-project-is-not-composite-but-incremental.js b/tests/baselines/reference/tsbuild/outfile-concat/initial-build/when-final-project-is-not-composite-but-incremental.js index 3072958e47c..cdb14cd5eeb 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/initial-build/when-final-project-is-not-composite-but-incremental.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/initial-build/when-final-project-is-not-composite-but-incremental.js @@ -1,21 +1,21 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/third --verbose -12:00:00 AM - Projects in this build: +[12:00:00 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: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:00 AM - Building project '/src/first/tsconfig.json'... +[12:00:00 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:00 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:00 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: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:00 AM - Building project '/src/third/tsconfig.json'... +[12:00:00 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/initial-build/when-final-project-is-not-composite-but-uses-project-references.js b/tests/baselines/reference/tsbuild/outfile-concat/initial-build/when-final-project-is-not-composite-but-uses-project-references.js index 936365084f5..213a9f7d07e 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/initial-build/when-final-project-is-not-composite-but-uses-project-references.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/initial-build/when-final-project-is-not-composite-but-uses-project-references.js @@ -1,21 +1,21 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/third --verbose -12:01:00 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: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: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:01:00 AM - Building project '/src/first/tsconfig.json'... +[12:01:00 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:01:00 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:01:00 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: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:01:00 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/initial-build/when-final-project-specifies-tsBuildInfoFile.js b/tests/baselines/reference/tsbuild/outfile-concat/initial-build/when-final-project-specifies-tsBuildInfoFile.js index 67d83cd6365..6cffcd70b6d 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/initial-build/when-final-project-specifies-tsBuildInfoFile.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/initial-build/when-final-project-specifies-tsBuildInfoFile.js @@ -1,21 +1,21 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/third --verbose -12:00:00 AM - Projects in this build: +[12:00:00 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: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:00 AM - Building project '/src/first/tsconfig.json'... +[12:00:00 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:00 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:00 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: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:00 AM - Building project '/src/third/tsconfig.json'... +[12:00:00 AM] Building project '/src/third/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/outfile-concat/initial-build/when-source-files-are-empty-in-the-own-file.js b/tests/baselines/reference/tsbuild/outfile-concat/initial-build/when-source-files-are-empty-in-the-own-file.js index 40ff6cf19a1..fa65982a75d 100644 --- a/tests/baselines/reference/tsbuild/outfile-concat/initial-build/when-source-files-are-empty-in-the-own-file.js +++ b/tests/baselines/reference/tsbuild/outfile-concat/initial-build/when-source-files-are-empty-in-the-own-file.js @@ -1,21 +1,21 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/third --verbose -12:01:00 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: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: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:01:00 AM - Building project '/src/first/tsconfig.json'... +[12:01:00 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:01:00 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:01:00 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: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:01:00 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/projectReferenceWithRootDirInParent/initial-build/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/initial-build/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js index dc30e96c929..e7315b73b68 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/initial-build/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/initial-build/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js @@ -1,18 +1,25 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/src/main --verbose -12:00:00 AM - Projects in this build: +[12:00:00 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:00 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:00 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:00 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:00 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' + +4 { "path": "../other" } +   ~~~~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. -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' exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/initial-build/reports-error-for-same-tsbuildinfo-file.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/initial-build/reports-error-for-same-tsbuildinfo-file.js index 841dce9a7a3..ccf5f994d86 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/initial-build/reports-error-for-same-tsbuildinfo-file.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/initial-build/reports-error-for-same-tsbuildinfo-file.js @@ -1,18 +1,25 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/src/main --verbose -12:00:00 AM - Projects in this build: +[12:00:00 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:00 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:00 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:00 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:00 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' + +1 {"compilerOptions":{"composite":true,"outDir":"../../dist/"},"references":[{"path":"../other"}]} +   ~~~~~~~~~~~~~~~~~~~ + + +Found 1 error. -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' exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/initial-build/reports-no-error-when-tsbuildinfo-differ.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/initial-build/reports-no-error-when-tsbuildinfo-differ.js index 4c0cf45a373..a895974d233 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/initial-build/reports-no-error-when-tsbuildinfo-differ.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/initial-build/reports-no-error-when-tsbuildinfo-differ.js @@ -1,16 +1,16 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/src/main/tsconfig.main.json --verbose -12:00:00 AM - Projects in this build: +[12:00:00 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: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:00 AM - Building project '/src/src/other/tsconfig.other.json'... +[12:00:00 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: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:00 AM - Building project '/src/src/main/tsconfig.main.json'... +[12:00:00 AM] Building project '/src/src/main/tsconfig.main.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/initial-build/importing-json-module-from-project-reference.js b/tests/baselines/reference/tsbuild/resolveJsonModule/initial-build/importing-json-module-from-project-reference.js index 9048c8205b6..732641d809e 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/initial-build/importing-json-module-from-project-reference.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/initial-build/importing-json-module-from-project-reference.js @@ -1,17 +1,17 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b src/tsconfig.json --verbose -12:01:00 AM - Projects in this build: +[12:01:00 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:01:00 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:01:00 AM] Building project '/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:01:00 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:01:00 AM] Building project '/src/main/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/initial-build/include-only.js b/tests/baselines/reference/tsbuild/resolveJsonModule/initial-build/include-only.js index a809be90609..67924de06f7 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/initial-build/include-only.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/initial-build/include-only.js @@ -1,6 +1,13 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /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. +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. + +1 import hello from "./hello.json" +   ~~~~~~~~~~~~~~ + + +Found 1 error. + exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/initial-build/sourcemap.js b/tests/baselines/reference/tsbuild/resolveJsonModule/initial-build/sourcemap.js index 5160faa127f..afe8dd1a069 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/initial-build/sourcemap.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/initial-build/sourcemap.js @@ -1,11 +1,11 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b src/tsconfig_withFiles.json --verbose -12:01:00 AM - Projects in this build: +[12:01:00 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:01:00 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:01:00 AM] Building project '/src/tsconfig_withFiles.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/initial-build/without-outDir.js b/tests/baselines/reference/tsbuild/resolveJsonModule/initial-build/without-outDir.js index be2910bdbbd..b6cc0ac3060 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/initial-build/without-outDir.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/initial-build/without-outDir.js @@ -1,11 +1,11 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b src/tsconfig_withFiles.json --verbose -12:01:00 AM - Projects in this build: +[12:01:00 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:01:00 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:01:00 AM] Building project '/src/tsconfig_withFiles.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/no-change-run/importing-json-module-from-project-reference.js b/tests/baselines/reference/tsbuild/resolveJsonModule/no-change-run/importing-json-module-from-project-reference.js index 512a0f0e4a9..9bfe73167f4 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/no-change-run/importing-json-module-from-project-reference.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/no-change-run/importing-json-module-from-project-reference.js @@ -1,13 +1,13 @@ //// [/lib/no-change-runOutput.txt] /lib/tsc --b src/tsconfig.json --verbose -12:04:00 AM - Projects in this build: +[12:04:00 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: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: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: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' exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/no-change-run/sourcemap.js b/tests/baselines/reference/tsbuild/resolveJsonModule/no-change-run/sourcemap.js index a5638600708..059fd1042cc 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/no-change-run/sourcemap.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/no-change-run/sourcemap.js @@ -1,9 +1,9 @@ //// [/lib/no-change-runOutput.txt] /lib/tsc --b src/tsconfig_withFiles.json --verbose -12:04:00 AM - Projects in this build: +[12:04:00 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: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' exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/no-change-run/without-outDir.js b/tests/baselines/reference/tsbuild/resolveJsonModule/no-change-run/without-outDir.js index a6329e50745..d412d147ce9 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/no-change-run/without-outDir.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/no-change-run/without-outDir.js @@ -1,9 +1,9 @@ //// [/lib/no-change-runOutput.txt] /lib/tsc --b src/tsconfig_withFiles.json --verbose -12:04:00 AM - Projects in this build: +[12:04:00 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: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' exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/sample1/incremental-declaration-changes/Detects-type-only-changes-in-upstream-projects.js b/tests/baselines/reference/tsbuild/sample1/incremental-declaration-changes/Detects-type-only-changes-in-upstream-projects.js index 88835920eff..c4079efae3c 100644 --- a/tests/baselines/reference/tsbuild/sample1/incremental-declaration-changes/Detects-type-only-changes-in-upstream-projects.js +++ b/tests/baselines/reference/tsbuild/sample1/incremental-declaration-changes/Detects-type-only-changes-in-upstream-projects.js @@ -1,23 +1,23 @@ //// [/lib/incremental-declaration-changesOutput.txt] /lib/tsc --b /src/tests --verbose -12:08:00 AM - Projects in this build: +[12:08:00 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -12:08: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:08: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:08:00 AM - Building project '/src/core/tsconfig.json'... +[12:08:00 AM] Building project '/src/core/tsconfig.json'... -12:08:00 AM - Updating unchanged output timestamps of project '/src/core/tsconfig.json'... +[12:08:00 AM] Updating unchanged output timestamps of project '/src/core/tsconfig.json'... -12:08:00 AM - Project 'src/logic/tsconfig.json' is up to date with .d.ts files from its dependencies +[12:08:00 AM] Project 'src/logic/tsconfig.json' is up to date with .d.ts files from its dependencies -12:08:00 AM - Updating output timestamps of project '/src/logic/tsconfig.json'... +[12:08:00 AM] Updating output timestamps of project '/src/logic/tsconfig.json'... -12:08:00 AM - Project 'src/tests/tsconfig.json' is up to date with .d.ts files from its dependencies +[12:08:00 AM] Project 'src/tests/tsconfig.json' is up to date with .d.ts files from its dependencies -12:08:00 AM - Updating output timestamps of project '/src/tests/tsconfig.json'... +[12:08:00 AM] Updating output timestamps of project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/sample1/incremental-declaration-changes/rebuilds-from-start-if-force-option-is-set.js b/tests/baselines/reference/tsbuild/sample1/incremental-declaration-changes/rebuilds-from-start-if-force-option-is-set.js index 1d1428887aa..0bfd4788da2 100644 --- a/tests/baselines/reference/tsbuild/sample1/incremental-declaration-changes/rebuilds-from-start-if-force-option-is-set.js +++ b/tests/baselines/reference/tsbuild/sample1/incremental-declaration-changes/rebuilds-from-start-if-force-option-is-set.js @@ -1,21 +1,21 @@ //// [/lib/incremental-declaration-changesOutput.txt] /lib/tsc --b /src/tests --verbose --force -12:16:00 AM - Projects in this build: +[12:16:00 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -12:16: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:16: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:16:00 AM - Building project '/src/core/tsconfig.json'... +[12:16:00 AM] Building project '/src/core/tsconfig.json'... -12:16:00 AM - Project 'src/logic/tsconfig.json' is up to date with .d.ts files from its dependencies +[12:16:00 AM] Project 'src/logic/tsconfig.json' is up to date with .d.ts files from its dependencies -12:16:00 AM - Building project '/src/logic/tsconfig.json'... +[12:16:00 AM] Building project '/src/logic/tsconfig.json'... -12:16:00 AM - Project 'src/tests/tsconfig.json' is up to date with .d.ts files from its dependencies +[12:16:00 AM] Project 'src/tests/tsconfig.json' is up to date with .d.ts files from its dependencies -12:16:00 AM - Building project '/src/tests/tsconfig.json'... +[12:16:00 AM] Building project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/sample1/incremental-declaration-changes/rebuilds-when-extended-config-file-changes.js b/tests/baselines/reference/tsbuild/sample1/incremental-declaration-changes/rebuilds-when-extended-config-file-changes.js index 4ff19c81e41..9b9f6303d3a 100644 --- a/tests/baselines/reference/tsbuild/sample1/incremental-declaration-changes/rebuilds-when-extended-config-file-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/incremental-declaration-changes/rebuilds-when-extended-config-file-changes.js @@ -1,17 +1,17 @@ //// [/lib/incremental-declaration-changesOutput.txt] /lib/tsc --b /src/tests --verbose -12:04:00 AM - Projects in this build: +[12:04:00 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: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: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: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: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: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:04:00 AM - Building project '/src/tests/tsconfig.json'... +[12:04:00 AM] Building project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/sample1/incremental-declaration-changes/rebuilds-when-tsconfig-changes.js b/tests/baselines/reference/tsbuild/sample1/incremental-declaration-changes/rebuilds-when-tsconfig-changes.js index 032162dc739..9da2b260996 100644 --- a/tests/baselines/reference/tsbuild/sample1/incremental-declaration-changes/rebuilds-when-tsconfig-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/incremental-declaration-changes/rebuilds-when-tsconfig-changes.js @@ -1,17 +1,17 @@ //// [/lib/incremental-declaration-changesOutput.txt] /lib/tsc --b /src/tests --verbose -12:20:00 AM - Projects in this build: +[12:20:00 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -12:20: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:20: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:20: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:20: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:20: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:20: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:20:00 AM - Building project '/src/tests/tsconfig.json'... +[12:20:00 AM] Building project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/sample1/incremental-declaration-changes/sample.js b/tests/baselines/reference/tsbuild/sample1/incremental-declaration-changes/sample.js index 28a4c7c34ab..2cdb889f1d9 100644 --- a/tests/baselines/reference/tsbuild/sample1/incremental-declaration-changes/sample.js +++ b/tests/baselines/reference/tsbuild/sample1/incremental-declaration-changes/sample.js @@ -1,23 +1,23 @@ //// [/lib/incremental-declaration-changesOutput.txt] /lib/tsc --b /src/tests --verbose -12:04:00 AM - Projects in this build: +[12:04:00 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: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:04:00 AM - Building project '/src/core/tsconfig.json'... +[12:04:00 AM] Building project '/src/core/tsconfig.json'... -12:04:00 AM - Updating unchanged output timestamps of project '/src/core/tsconfig.json'... +[12:04:00 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: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:04:00 AM - Building project '/src/logic/tsconfig.json'... +[12:04:00 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: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:04:00 AM - Building project '/src/tests/tsconfig.json'... +[12:04:00 AM] Building project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/sample1/incremental-declaration-changes/when-declaration-option-changes.js b/tests/baselines/reference/tsbuild/sample1/incremental-declaration-changes/when-declaration-option-changes.js index 529acb4d78a..3488e60cf46 100644 --- a/tests/baselines/reference/tsbuild/sample1/incremental-declaration-changes/when-declaration-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/incremental-declaration-changes/when-declaration-option-changes.js @@ -1,11 +1,11 @@ //// [/lib/incremental-declaration-changesOutput.txt] /lib/tsc --b /src/core --verbose -12:04:00 AM - Projects in this build: +[12:04:00 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:04:00 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:04:00 AM] Building project '/src/core/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/sample1/incremental-declaration-changes/when-esModuleInterop-option-changes.js b/tests/baselines/reference/tsbuild/sample1/incremental-declaration-changes/when-esModuleInterop-option-changes.js index 385e7e3587d..82a92cd34bc 100644 --- a/tests/baselines/reference/tsbuild/sample1/incremental-declaration-changes/when-esModuleInterop-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/incremental-declaration-changes/when-esModuleInterop-option-changes.js @@ -1,17 +1,17 @@ //// [/lib/incremental-declaration-changesOutput.txt] /lib/tsc --b /src/tests --verbose -12:04:00 AM - Projects in this build: +[12:04:00 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: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: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: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: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: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:04:00 AM - Building project '/src/tests/tsconfig.json'... +[12:04:00 AM] Building project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/sample1/incremental-declaration-changes/when-logic-config-changes-declaration-dir.js b/tests/baselines/reference/tsbuild/sample1/incremental-declaration-changes/when-logic-config-changes-declaration-dir.js index d8eb5f771d0..493d903d58d 100644 --- a/tests/baselines/reference/tsbuild/sample1/incremental-declaration-changes/when-logic-config-changes-declaration-dir.js +++ b/tests/baselines/reference/tsbuild/sample1/incremental-declaration-changes/when-logic-config-changes-declaration-dir.js @@ -1,19 +1,19 @@ //// [/lib/incremental-declaration-changesOutput.txt] /lib/tsc --b /src/tests --verbose -12:12:00 AM - Projects in this build: +[12:12:00 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -12:12: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:12: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:12:00 AM - Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/decls/index.d.ts' does not exist +[12:12:00 AM] Project 'src/logic/tsconfig.json' is out of date because output file 'src/logic/decls/index.d.ts' does not exist -12:12:00 AM - Building project '/src/logic/tsconfig.json'... +[12:12:00 AM] Building project '/src/logic/tsconfig.json'... -12:12: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:12: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:12:00 AM - Building project '/src/tests/tsconfig.json'... +[12:12:00 AM] Building project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/sample1/incremental-declaration-changes/when-module-option-changes.js b/tests/baselines/reference/tsbuild/sample1/incremental-declaration-changes/when-module-option-changes.js index 106c92a68d4..28519b9074a 100644 --- a/tests/baselines/reference/tsbuild/sample1/incremental-declaration-changes/when-module-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/incremental-declaration-changes/when-module-option-changes.js @@ -1,11 +1,11 @@ //// [/lib/incremental-declaration-changesOutput.txt] /lib/tsc --b /src/core --verbose -12:04:00 AM - Projects in this build: +[12:04:00 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: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:04:00 AM - Building project '/src/core/tsconfig.json'... +[12:04:00 AM] Building project '/src/core/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/sample1/incremental-declaration-changes/when-target-option-changes.js b/tests/baselines/reference/tsbuild/sample1/incremental-declaration-changes/when-target-option-changes.js index 572265d7194..266641f0c26 100644 --- a/tests/baselines/reference/tsbuild/sample1/incremental-declaration-changes/when-target-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/incremental-declaration-changes/when-target-option-changes.js @@ -1,11 +1,11 @@ //// [/lib/incremental-declaration-changesOutput.txt] /lib/tsc --b /src/core --verbose -12:04:00 AM - Projects in this build: +[12:04:00 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: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:04:00 AM - Building project '/src/core/tsconfig.json'... +[12:04:00 AM] Building project '/src/core/tsconfig.json'... TSFILE: /src/core/anotherModule.js TSFILE: /src/core/index.js diff --git a/tests/baselines/reference/tsbuild/sample1/incremental-declaration-doesnt-change/Only-builds-the-leaf-node-project.js b/tests/baselines/reference/tsbuild/sample1/incremental-declaration-doesnt-change/Only-builds-the-leaf-node-project.js index 74ee0a5d2c8..04411881462 100644 --- a/tests/baselines/reference/tsbuild/sample1/incremental-declaration-doesnt-change/Only-builds-the-leaf-node-project.js +++ b/tests/baselines/reference/tsbuild/sample1/incremental-declaration-doesnt-change/Only-builds-the-leaf-node-project.js @@ -1,17 +1,17 @@ //// [/lib/incremental-declaration-doesnt-changeOutput.txt] /lib/tsc --b /src/tests --verbose -12:04:00 AM - Projects in this build: +[12:04:00 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: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: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: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: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: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:04:00 AM - Building project '/src/tests/tsconfig.json'... +[12:04:00 AM] Building project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/sample1/incremental-declaration-doesnt-change/indicates-that-it-would-skip-builds-during-a-dry-build.js b/tests/baselines/reference/tsbuild/sample1/incremental-declaration-doesnt-change/indicates-that-it-would-skip-builds-during-a-dry-build.js index 3e323c17d3e..ff599049333 100644 --- a/tests/baselines/reference/tsbuild/sample1/incremental-declaration-doesnt-change/indicates-that-it-would-skip-builds-during-a-dry-build.js +++ b/tests/baselines/reference/tsbuild/sample1/incremental-declaration-doesnt-change/indicates-that-it-would-skip-builds-during-a-dry-build.js @@ -1,10 +1,10 @@ //// [/lib/incremental-declaration-doesnt-changeOutput.txt] /lib/tsc --b /src/tests --dry -12:12:00 AM - Project '/src/core/tsconfig.json' is up to date +[12:12:00 AM] Project '/src/core/tsconfig.json' is up to date -12:12:00 AM - Project '/src/logic/tsconfig.json' is up to date +[12:12:00 AM] Project '/src/logic/tsconfig.json' is up to date -12:12:00 AM - Project '/src/tests/tsconfig.json' is up to date +[12:12:00 AM] Project '/src/tests/tsconfig.json' is up to date exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/sample1/incremental-declaration-doesnt-change/sample.js b/tests/baselines/reference/tsbuild/sample1/incremental-declaration-doesnt-change/sample.js index c649bafff4d..d3339422783 100644 --- a/tests/baselines/reference/tsbuild/sample1/incremental-declaration-doesnt-change/sample.js +++ b/tests/baselines/reference/tsbuild/sample1/incremental-declaration-doesnt-change/sample.js @@ -1,23 +1,23 @@ //// [/lib/incremental-declaration-doesnt-changeOutput.txt] /lib/tsc --b /src/tests --verbose -12:08:00 AM - Projects in this build: +[12:08:00 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -12:08: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:08: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:08:00 AM - Building project '/src/core/tsconfig.json'... +[12:08:00 AM] Building project '/src/core/tsconfig.json'... -12:08:00 AM - Updating unchanged output timestamps of project '/src/core/tsconfig.json'... +[12:08:00 AM] Updating unchanged output timestamps of project '/src/core/tsconfig.json'... -12:08:00 AM - Project 'src/logic/tsconfig.json' is up to date with .d.ts files from its dependencies +[12:08:00 AM] Project 'src/logic/tsconfig.json' is up to date with .d.ts files from its dependencies -12:08:00 AM - Updating output timestamps of project '/src/logic/tsconfig.json'... +[12:08:00 AM] Updating output timestamps of project '/src/logic/tsconfig.json'... -12:08:00 AM - Project 'src/tests/tsconfig.json' is up to date with .d.ts files from its dependencies +[12:08:00 AM] Project 'src/tests/tsconfig.json' is up to date with .d.ts files from its dependencies -12:08:00 AM - Updating output timestamps of project '/src/tests/tsconfig.json'... +[12:08:00 AM] Updating output timestamps of project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/sample1/initial-build/builds-correctly-when-project-is-not-composite-or-doesnt-have-any-references.js b/tests/baselines/reference/tsbuild/sample1/initial-build/builds-correctly-when-project-is-not-composite-or-doesnt-have-any-references.js index 676547915c4..8a70a3ceb5d 100644 --- a/tests/baselines/reference/tsbuild/sample1/initial-build/builds-correctly-when-project-is-not-composite-or-doesnt-have-any-references.js +++ b/tests/baselines/reference/tsbuild/sample1/initial-build/builds-correctly-when-project-is-not-composite-or-doesnt-have-any-references.js @@ -1,11 +1,11 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/core --verbose -12:00:00 AM - Projects in this build: +[12:00:00 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:00 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:00 AM] Building project '/src/core/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/sample1/initial-build/can-detect-when-and-what-to-rebuild.js b/tests/baselines/reference/tsbuild/sample1/initial-build/can-detect-when-and-what-to-rebuild.js index e10434fa082..f277322de2f 100644 --- a/tests/baselines/reference/tsbuild/sample1/initial-build/can-detect-when-and-what-to-rebuild.js +++ b/tests/baselines/reference/tsbuild/sample1/initial-build/can-detect-when-and-what-to-rebuild.js @@ -1,15 +1,15 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/tests --verbose -12:01:00 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: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: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: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: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: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: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' exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/sample1/initial-build/does-not-build-downstream-projects-if-upstream-projects-have-errors.js b/tests/baselines/reference/tsbuild/sample1/initial-build/does-not-build-downstream-projects-if-upstream-projects-have-errors.js index ede3de42f28..27b01cf0064 100644 --- a/tests/baselines/reference/tsbuild/sample1/initial-build/does-not-build-downstream-projects-if-upstream-projects-have-errors.js +++ b/tests/baselines/reference/tsbuild/sample1/initial-build/does-not-build-downstream-projects-if-upstream-projects-have-errors.js @@ -1,22 +1,29 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/tests --verbose -12:00:00 AM - Projects in this build: +[12:00:00 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:00 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:00 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:00 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:00 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")'. -12:00:00 AM - Project 'src/tests/tsconfig.json' can't be built because its dependency 'src/logic' has errors +src/logic/index.ts:3:14 - error TS2339: Property 'muitply' does not exist on type 'typeof import("/src/core/index")'. -12:00:00 AM - Skipping build of project '/src/tests/tsconfig.json' because its dependency '/src/logic' has errors +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:00 AM] Skipping build of project '/src/tests/tsconfig.json' because its dependency '/src/logic' has errors + + +Found 1 error. exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated diff --git a/tests/baselines/reference/tsbuild/sample1/initial-build/does-not-write-any-files-in-a-dry-build.js b/tests/baselines/reference/tsbuild/sample1/initial-build/does-not-write-any-files-in-a-dry-build.js index 660696d2437..c66ceddb85b 100644 --- a/tests/baselines/reference/tsbuild/sample1/initial-build/does-not-write-any-files-in-a-dry-build.js +++ b/tests/baselines/reference/tsbuild/sample1/initial-build/does-not-write-any-files-in-a-dry-build.js @@ -1,10 +1,10 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/tests --dry -12:00:00 AM - A non-dry build would build project '/src/core/tsconfig.json' +[12:00:00 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:00 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:00 AM] A non-dry build would build project '/src/tests/tsconfig.json' exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/sample1/initial-build/rebuilds-when-extended-config-file-changes.js b/tests/baselines/reference/tsbuild/sample1/initial-build/rebuilds-when-extended-config-file-changes.js index a042748fc84..aa5e52f10d5 100644 --- a/tests/baselines/reference/tsbuild/sample1/initial-build/rebuilds-when-extended-config-file-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/initial-build/rebuilds-when-extended-config-file-changes.js @@ -1,21 +1,21 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/tests --verbose -12:01:00 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:01:00 AM - Project 'src/core/tsconfig.json' is out of date because output file 'src/core/anotherModule.js' does not exist +[12:01:00 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:01:00 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:01:00 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:01:00 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:01:00 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:01:00 AM] Building project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/sample1/initial-build/sample.js b/tests/baselines/reference/tsbuild/sample1/initial-build/sample.js index 7782a394f9c..135e4199542 100644 --- a/tests/baselines/reference/tsbuild/sample1/initial-build/sample.js +++ b/tests/baselines/reference/tsbuild/sample1/initial-build/sample.js @@ -1,21 +1,21 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/tests --verbose -12:01:00 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:01:00 AM - Project 'src/core/tsconfig.json' is out of date because output file 'src/core/anotherModule.js' does not exist +[12:01:00 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:01:00 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:01:00 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:01:00 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:01:00 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:01:00 AM] Building project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/sample1/initial-build/when-declaration-option-changes.js b/tests/baselines/reference/tsbuild/sample1/initial-build/when-declaration-option-changes.js index d1820e0c28c..0cade951b8f 100644 --- a/tests/baselines/reference/tsbuild/sample1/initial-build/when-declaration-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/initial-build/when-declaration-option-changes.js @@ -1,11 +1,11 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/core --verbose -12:01:00 AM - Projects in this build: +[12:01:00 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:01:00 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:01:00 AM] Building project '/src/core/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/sample1/initial-build/when-esModuleInterop-option-changes.js b/tests/baselines/reference/tsbuild/sample1/initial-build/when-esModuleInterop-option-changes.js index d8ff59d8fcd..66a5da48e17 100644 --- a/tests/baselines/reference/tsbuild/sample1/initial-build/when-esModuleInterop-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/initial-build/when-esModuleInterop-option-changes.js @@ -1,21 +1,21 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/tests --verbose -12:01:00 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:01:00 AM - Project 'src/core/tsconfig.json' is out of date because output file 'src/core/anotherModule.js' does not exist +[12:01:00 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:01:00 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:01:00 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:01:00 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:01:00 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:01:00 AM] Building project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/sample1/initial-build/when-logic-specifies-tsBuildInfoFile.js b/tests/baselines/reference/tsbuild/sample1/initial-build/when-logic-specifies-tsBuildInfoFile.js index 7d59609a7f4..679690e0570 100644 --- a/tests/baselines/reference/tsbuild/sample1/initial-build/when-logic-specifies-tsBuildInfoFile.js +++ b/tests/baselines/reference/tsbuild/sample1/initial-build/when-logic-specifies-tsBuildInfoFile.js @@ -1,21 +1,21 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/tests --verbose -12:00:00 AM - Projects in this build: +[12:00:00 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:00 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:00 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:00 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:00 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:00 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:00 AM] Building project '/src/tests/tsconfig.json'... exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/sample1/initial-build/when-module-option-changes.js b/tests/baselines/reference/tsbuild/sample1/initial-build/when-module-option-changes.js index 4ce548db9d0..f56701d93b2 100644 --- a/tests/baselines/reference/tsbuild/sample1/initial-build/when-module-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/initial-build/when-module-option-changes.js @@ -1,11 +1,11 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/core --verbose -12:01:00 AM - Projects in this build: +[12:01:00 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:01:00 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:01:00 AM] Building project '/src/core/tsconfig.json'... exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/sample1/initial-build/when-target-option-changes.js b/tests/baselines/reference/tsbuild/sample1/initial-build/when-target-option-changes.js index fcbcb2bbcb6..53155220cc7 100644 --- a/tests/baselines/reference/tsbuild/sample1/initial-build/when-target-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/initial-build/when-target-option-changes.js @@ -1,11 +1,11 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --b /src/core --verbose -12:01:00 AM - Projects in this build: +[12:01:00 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:01:00 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:01:00 AM] Building project '/src/core/tsconfig.json'... TSFILE: /src/core/anotherModule.js TSFILE: /src/core/index.js diff --git a/tests/baselines/reference/tsbuild/sample1/no-change-run/sample.js b/tests/baselines/reference/tsbuild/sample1/no-change-run/sample.js index 8304e0bf57c..ac7c9eb5d86 100644 --- a/tests/baselines/reference/tsbuild/sample1/no-change-run/sample.js +++ b/tests/baselines/reference/tsbuild/sample1/no-change-run/sample.js @@ -1,15 +1,15 @@ //// [/lib/no-change-runOutput.txt] /lib/tsc --b /src/tests --verbose -12:16:00 AM - Projects in this build: +[12:16:00 AM] Projects in this build: * src/core/tsconfig.json * src/logic/tsconfig.json * src/tests/tsconfig.json -12:16: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:16: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:16: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:16: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:16: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:16: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' exitCode:: ExitStatus.Success readFiles:: { diff --git a/tests/baselines/reference/tsbuild/transitiveReferences/initial-build/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js b/tests/baselines/reference/tsbuild/transitiveReferences/initial-build/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js index df62a53e063..c2c25e054e7 100644 --- a/tests/baselines/reference/tsbuild/transitiveReferences/initial-build/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js +++ b/tests/baselines/reference/tsbuild/transitiveReferences/initial-build/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js @@ -2,9 +2,16 @@ /lib/tsc --b /src/tsconfig.c.json --listFiles /lib/lib.d.ts /src/a.ts -src/b.ts(1,17): error TS2307: Cannot find module 'a'. +src/b.ts:1:17 - error TS2307: Cannot find module 'a'. + +1 import {A} from 'a'; +   ~~~ + /lib/lib.d.ts /src/b.ts + +Found 1 error. + exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated diff --git a/tests/baselines/reference/tsbuild/watchMode/configFileErrors/reports-syntax-errors-in-config-file.js b/tests/baselines/reference/tsbuild/watchMode/configFileErrors/reports-syntax-errors-in-config-file.js index 434174862b2..d44ff6b7e8a 100644 --- a/tests/baselines/reference/tsbuild/watchMode/configFileErrors/reports-syntax-errors-in-config-file.js +++ b/tests/baselines/reference/tsbuild/watchMode/configFileErrors/reports-syntax-errors-in-config-file.js @@ -32,13 +32,17 @@ interface Array { length: number; [n: number]: T; } Output:: >> Screen clear -12:00:23 AM - Starting compilation in watch mode... +[12:00:23 AM] Starting compilation in watch mode... -tsconfig.json(7,9): error TS1005: ',' expected. - +tsconfig.json:7:9 - error TS1005: ',' expected. + +7 "b.ts" +   ~~~~~~ + + +[12:00:24 AM] Found 1 error. Watching for file changes. -12:00:24 AM - Found 1 error. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts"] @@ -81,13 +85,17 @@ Change:: reports syntax errors after change to config file Output:: >> Screen clear -12:00:28 AM - File change detected. Starting incremental compilation... +[12:00:28 AM] File change detected. Starting incremental compilation... -tsconfig.json(8,9): error TS1005: ',' expected. - +tsconfig.json:8:9 - error TS1005: ',' expected. + +8 "b.ts" +   ~~~~~~ + + +[12:00:29 AM] Found 1 error. Watching for file changes. -12:00:29 AM - Found 1 error. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts"] @@ -121,13 +129,17 @@ export function fooBar() { } Output:: >> Screen clear -12:00:33 AM - File change detected. Starting incremental compilation... +[12:00:33 AM] File change detected. Starting incremental compilation... -tsconfig.json(8,9): error TS1005: ',' expected. - +tsconfig.json:8:9 - error TS1005: ',' expected. + +8 "b.ts" +   ~~~~~~ + + +[12:00:34 AM] Found 1 error. Watching for file changes. -12:00:34 AM - Found 1 error. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts"] @@ -159,13 +171,17 @@ Change:: reports error when there is no change to tsconfig file Output:: >> Screen clear -12:00:38 AM - File change detected. Starting incremental compilation... +[12:00:38 AM] File change detected. Starting incremental compilation... -tsconfig.json(8,9): error TS1005: ',' expected. - +tsconfig.json:8:9 - error TS1005: ',' expected. + +8 "b.ts" +   ~~~~~~ + + +[12:00:39 AM] Found 1 error. Watching for file changes. -12:00:39 AM - Found 1 error. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts"] @@ -257,11 +273,11 @@ export declare function bar(): void; Output:: >> Screen clear -12:00:43 AM - File change detected. Starting incremental compilation... +[12:00:43 AM] File change detected. Starting incremental compilation... +[12:00:54 AM] Found 0 errors. Watching for file changes. -12:00:54 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts"] diff --git a/tests/baselines/reference/tsbuild/watchMode/demo/updates-with-bad-reference.js b/tests/baselines/reference/tsbuild/watchMode/demo/updates-with-bad-reference.js index c3f7ba4bde9..f598c1b8cc8 100644 --- a/tests/baselines/reference/tsbuild/watchMode/demo/updates-with-bad-reference.js +++ b/tests/baselines/reference/tsbuild/watchMode/demo/updates-with-bad-reference.js @@ -145,50 +145,78 @@ declare const console: { log(msg: any): void; }; Output:: >> Screen clear -12:00:46 AM - Starting compilation in watch mode... +[12:00:46 AM] Starting compilation in watch mode... -12:00:47 AM - Projects in this build: +[12:00:47 AM] Projects in this build: * core/tsconfig.json * animals/tsconfig.json * 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/utilities.js' does not exist -12:00:49 AM - Building project '/user/username/projects/demo/core/tsconfig.json'... +[12:00:49 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. - -animals/index.ts(1,20): error TS6307: File '/user/username/projects/demo/animals/animal.ts' is not listed within the file list of project '/user/username/projects/demo/core/tsconfig.json'. Projects must list all files or use an 'include' pattern. - -animals/index.ts(4,32): error TS6059: File '/user/username/projects/demo/animals/dog.ts' is not under 'rootDir' '/user/username/projects/demo/core'. 'rootDir' is expected to contain all source files. - -animals/index.ts(4,32): error TS6307: File '/user/username/projects/demo/animals/dog.ts' is not listed within the file list of project '/user/username/projects/demo/core/tsconfig.json'. Projects must list all files or use an 'include' pattern. - -core/utilities.ts(1,1): error TS6133: 'A' is declared but its value is never read. - -core/utilities.ts(1,20): error TS6059: File '/user/username/projects/demo/animals/index.ts' is not under 'rootDir' '/user/username/projects/demo/core'. 'rootDir' is expected to contain all source files. - -core/utilities.ts(1,20): error TS6307: File '/user/username/projects/demo/animals/index.ts' is not listed within the file list of project '/user/username/projects/demo/core/tsconfig.json'. Projects must list all files or use an 'include' pattern. - -12:00:50 AM - Project 'animals/tsconfig.json' can't be built because its dependency 'core' has errors +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. + +1 import Animal from './animal'; +   ~~~~~~~~~~ -12:00:51 AM - Skipping build of project '/user/username/projects/demo/animals/tsconfig.json' because its dependency '/user/username/projects/demo/core' has errors +animals/index.ts:1:20 - error TS6307: File '/user/username/projects/demo/animals/animal.ts' is not listed within the file list of project '/user/username/projects/demo/core/tsconfig.json'. Projects must list all files or use an 'include' pattern. + +1 import Animal from './animal'; +   ~~~~~~~~~~ -12:00:52 AM - Project 'zoo/tsconfig.json' can't be built because its dependency 'animals' was not built +animals/index.ts:4:32 - error TS6059: File '/user/username/projects/demo/animals/dog.ts' is not under 'rootDir' '/user/username/projects/demo/core'. 'rootDir' is expected to contain all source files. + +4 import { createDog, Dog } from './dog'; +   ~~~~~~~ -12:00:53 AM - Skipping build of project '/user/username/projects/demo/zoo/tsconfig.json' because its dependency '/user/username/projects/demo/animals' was not built +animals/index.ts:4:32 - error TS6307: File '/user/username/projects/demo/animals/dog.ts' is not listed within the file list of project '/user/username/projects/demo/core/tsconfig.json'. Projects must list all files or use an 'include' pattern. + +4 import { createDog, Dog } from './dog'; +   ~~~~~~~ +core/utilities.ts:1:1 - error TS6133: 'A' is declared but its value is never read. + +1 import * as A from '../animals'; +  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +core/utilities.ts:1:20 - error TS6059: File '/user/username/projects/demo/animals/index.ts' is not under 'rootDir' '/user/username/projects/demo/core'. 'rootDir' is expected to contain all source files. + +1 import * as A from '../animals'; +   ~~~~~~~~~~~~ + + +core/utilities.ts:1:20 - error TS6307: File '/user/username/projects/demo/animals/index.ts' is not listed within the file list of project '/user/username/projects/demo/core/tsconfig.json'. Projects must list all files or use an 'include' pattern. + +1 import * as A from '../animals'; +   ~~~~~~~~~~~~ + + +[12:00:50 AM] Project 'animals/tsconfig.json' can't be built because its dependency 'core' has errors + + +[12:00:51 AM] Skipping build of project '/user/username/projects/demo/animals/tsconfig.json' because its dependency '/user/username/projects/demo/core' has errors + + +[12:00:52 AM] Project 'zoo/tsconfig.json' can't be built because its dependency 'animals' was not built + + +[12:00:53 AM] Skipping build of project '/user/username/projects/demo/zoo/tsconfig.json' because its dependency '/user/username/projects/demo/animals' was not built + + +[12:00:54 AM] Found 7 errors. Watching for file changes. -12:00:54 AM - Found 7 errors. Watching for file changes. Program root files: ["/user/username/projects/demo/core/utilities.ts"] @@ -259,31 +287,59 @@ export function lastElementOf(arr: T[]): T | undefined { Output:: >> Screen clear -12:00:58 AM - File change detected. Starting incremental compilation... +[12:00:58 AM] File change detected. Starting incremental compilation... -12:00:59 AM - Project 'core/tsconfig.json' is out of date because output file 'lib/core/utilities.js' does not exist +[12:00:59 AM] Project 'core/tsconfig.json' is out of date because output file 'lib/core/utilities.js' does not exist -12:01:00 AM - Building project '/user/username/projects/demo/core/tsconfig.json'... +[12:01:00 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. - -animals/index.ts(1,20): error TS6307: File '/user/username/projects/demo/animals/animal.ts' is not listed within the file list of project '/user/username/projects/demo/core/tsconfig.json'. Projects must list all files or use an 'include' pattern. - -animals/index.ts(4,32): error TS6059: File '/user/username/projects/demo/animals/dog.ts' is not under 'rootDir' '/user/username/projects/demo/core'. 'rootDir' is expected to contain all source files. - -animals/index.ts(4,32): error TS6307: File '/user/username/projects/demo/animals/dog.ts' is not listed within the file list of project '/user/username/projects/demo/core/tsconfig.json'. Projects must list all files or use an 'include' pattern. - -core/utilities.ts(2,1): error TS6133: 'A' is declared but its value is never read. - -core/utilities.ts(2,20): error TS6059: File '/user/username/projects/demo/animals/index.ts' is not under 'rootDir' '/user/username/projects/demo/core'. 'rootDir' is expected to contain all source files. - -core/utilities.ts(2,20): error TS6307: File '/user/username/projects/demo/animals/index.ts' is not listed within the file list of project '/user/username/projects/demo/core/tsconfig.json'. Projects must list all files or use an 'include' pattern. - +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. + +1 import Animal from './animal'; +   ~~~~~~~~~~ + + +animals/index.ts:1:20 - error TS6307: File '/user/username/projects/demo/animals/animal.ts' is not listed within the file list of project '/user/username/projects/demo/core/tsconfig.json'. Projects must list all files or use an 'include' pattern. + +1 import Animal from './animal'; +   ~~~~~~~~~~ + + +animals/index.ts:4:32 - error TS6059: File '/user/username/projects/demo/animals/dog.ts' is not under 'rootDir' '/user/username/projects/demo/core'. 'rootDir' is expected to contain all source files. + +4 import { createDog, Dog } from './dog'; +   ~~~~~~~ + + +animals/index.ts:4:32 - error TS6307: File '/user/username/projects/demo/animals/dog.ts' is not listed within the file list of project '/user/username/projects/demo/core/tsconfig.json'. Projects must list all files or use an 'include' pattern. + +4 import { createDog, Dog } from './dog'; +   ~~~~~~~ + + +core/utilities.ts:2:1 - error TS6133: 'A' is declared but its value is never read. + +2 import * as A from '../animals'; +  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + +core/utilities.ts:2:20 - error TS6059: File '/user/username/projects/demo/animals/index.ts' is not under 'rootDir' '/user/username/projects/demo/core'. 'rootDir' is expected to contain all source files. + +2 import * as A from '../animals'; +   ~~~~~~~~~~~~ + + +core/utilities.ts:2:20 - error TS6307: File '/user/username/projects/demo/animals/index.ts' is not listed within the file list of project '/user/username/projects/demo/core/tsconfig.json'. Projects must list all files or use an 'include' pattern. + +2 import * as A from '../animals'; +   ~~~~~~~~~~~~ + + +[12:01:01 AM] Found 7 errors. Watching for file changes. -12:01:01 AM - Found 7 errors. Watching for file changes. Program root files: ["/user/username/projects/demo/core/utilities.ts"] diff --git a/tests/baselines/reference/tsbuild/watchMode/demo/updates-with-circular-reference.js b/tests/baselines/reference/tsbuild/watchMode/demo/updates-with-circular-reference.js index 8708d8523a3..c2a769b1947 100644 --- a/tests/baselines/reference/tsbuild/watchMode/demo/updates-with-circular-reference.js +++ b/tests/baselines/reference/tsbuild/watchMode/demo/updates-with-circular-reference.js @@ -149,23 +149,24 @@ declare const console: { log(msg: any): void; }; Output:: >> Screen clear -12:00:46 AM - Starting compilation in watch mode... +[12:00:46 AM] Starting compilation in watch mode... -12:00:47 AM - Projects in this build: +[12:00:47 AM] Projects in this build: * animals/tsconfig.json * zoo/tsconfig.json * core/tsconfig.json * tsconfig.json -error TS6202: Project references may not form a circular graph. Cycle detected: /user/username/projects/demo/tsconfig.json +error TS6202: Project references may not form a circular graph. Cycle detected: /user/username/projects/demo/tsconfig.json /user/username/projects/demo/core/tsconfig.json /user/username/projects/demo/zoo/tsconfig.json /user/username/projects/demo/animals/tsconfig.json - -12:00:48 AM - Found 1 error. Watching for file changes. + +[12:00:48 AM] Found 1 error. Watching for file changes. + WatchedFiles:: @@ -490,29 +491,29 @@ export declare function createZoo(): Array; Output:: >> Screen clear -12:00:52 AM - File change detected. Starting incremental compilation... +[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/utilities.js' does not exist -12:00:54 AM - Building project '/user/username/projects/demo/core/tsconfig.json'... +[12:00:54 AM] Building project '/user/username/projects/demo/core/tsconfig.json'... -12:01:06 AM - Project 'animals/tsconfig.json' is out of date because output file 'lib/animals/animal.js' does not exist +[12:01:06 AM] Project 'animals/tsconfig.json' is out of date because output file 'lib/animals/animal.js' does not exist -12:01:07 AM - Building project '/user/username/projects/demo/animals/tsconfig.json'... +[12:01:07 AM] Building project '/user/username/projects/demo/animals/tsconfig.json'... -12:01:25 AM - Project 'zoo/tsconfig.json' is out of date because output file 'lib/zoo/zoo.js' does not exist +[12:01:25 AM] Project 'zoo/tsconfig.json' is out of date because output file 'lib/zoo/zoo.js' does not exist -12:01:26 AM - Building project '/user/username/projects/demo/zoo/tsconfig.json'... +[12:01:26 AM] Building project '/user/username/projects/demo/zoo/tsconfig.json'... +[12:01:36 AM] Found 0 errors. Watching for file changes. -12:01:36 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/demo/core/utilities.ts"] diff --git a/tests/baselines/reference/tsbuild/watchMode/noEmitOnError/does-not-emit-any-files-on-error.js b/tests/baselines/reference/tsbuild/watchMode/noEmitOnError/does-not-emit-any-files-on-error.js index 933cf3b1e89..1402597ed53 100644 --- a/tests/baselines/reference/tsbuild/watchMode/noEmitOnError/does-not-emit-any-files-on-error.js +++ b/tests/baselines/reference/tsbuild/watchMode/noEmitOnError/does-not-emit-any-files-on-error.js @@ -41,23 +41,27 @@ declare const console: { log(msg: any): void; }; Output:: >> Screen clear -12:00:31 AM - Starting compilation in watch mode... +[12:00:31 AM] Starting compilation in watch mode... -12:00:32 AM - Projects in this build: +[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/shared/types/db.js' does not exist -12:00:34 AM - Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +[12:00:34 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... -src/main.ts(4,1): error TS1005: ',' expected. - +src/main.ts:4:1 - error TS1005: ',' expected. + +4 ; +  ~ + + +[12:00:35 AM] Found 1 error. Watching for file changes. -12:00:35 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"] @@ -118,17 +122,17 @@ console.log("hi"); Output:: >> Screen clear -12:00:39 AM - File change detected. Starting incremental compilation... +[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/shared/types/db.js' does not exist -12:00:41 AM - Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +[12:00:41 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +[12:00:58 AM] Found 0 errors. Watching for file changes. -12:00:58 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"] diff --git a/tests/baselines/reference/tsbuild/watchMode/programUpdates/creates-solution-in-watch-mode.js b/tests/baselines/reference/tsbuild/watchMode/programUpdates/creates-solution-in-watch-mode.js index 9543e67c72c..e662e7cca82 100644 --- a/tests/baselines/reference/tsbuild/watchMode/programUpdates/creates-solution-in-watch-mode.js +++ b/tests/baselines/reference/tsbuild/watchMode/programUpdates/creates-solution-in-watch-mode.js @@ -326,11 +326,11 @@ export declare const m: typeof mod; Output:: >> Screen clear -12:00:45 AM - Starting compilation in watch mode... +[12:00:45 AM] Starting compilation in watch mode... +[12:01:14 AM] Found 0 errors. Watching for file changes. -12:01:14 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/sample1/core/anotherModule.ts","/user/username/projects/sample1/core/index.ts"] diff --git a/tests/baselines/reference/tsbuild/watchMode/programUpdates/incremental-updates-in-verbose-mode.js b/tests/baselines/reference/tsbuild/watchMode/programUpdates/incremental-updates-in-verbose-mode.js index a07e0cb7eed..b3aa648ff7a 100644 --- a/tests/baselines/reference/tsbuild/watchMode/programUpdates/incremental-updates-in-verbose-mode.js +++ b/tests/baselines/reference/tsbuild/watchMode/programUpdates/incremental-updates-in-verbose-mode.js @@ -326,35 +326,35 @@ export declare const m: typeof mod; Output:: >> Screen clear -12:00:45 AM - Starting compilation in watch mode... +[12:00:45 AM] Starting compilation in watch mode... -12:00:46 AM - Projects in this build: +[12:00:46 AM] Projects in this build: * sample1/core/tsconfig.json * 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/anotherModule.js' does not exist -12:00:48 AM - Building project '/user/username/projects/sample1/core/tsconfig.json'... +[12:00:48 AM] Building project '/user/username/projects/sample1/core/tsconfig.json'... -12:01:03 AM - Project 'sample1/logic/tsconfig.json' is out of date because output file 'sample1/logic/index.js' does not exist +[12:01:03 AM] Project 'sample1/logic/tsconfig.json' is out of date because output file 'sample1/logic/index.js' does not exist -12:01:04 AM - Building project '/user/username/projects/sample1/logic/tsconfig.json'... +[12:01:04 AM] Building project '/user/username/projects/sample1/logic/tsconfig.json'... -12:01:13 AM - Project 'sample1/tests/tsconfig.json' is out of date because output file 'sample1/tests/index.js' does not exist +[12:01:13 AM] Project 'sample1/tests/tsconfig.json' is out of date because output file 'sample1/tests/index.js' does not exist -12:01:14 AM - Building project '/user/username/projects/sample1/tests/tsconfig.json'... +[12:01:14 AM] Building project '/user/username/projects/sample1/tests/tsconfig.json'... +[12:01:21 AM] Found 0 errors. Watching for file changes. -12:01:21 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/sample1/core/anotherModule.ts","/user/username/projects/sample1/core/index.ts"] @@ -512,23 +512,23 @@ function someFn() { } Output:: >> Screen clear -12:01:25 AM - File change detected. Starting incremental compilation... +[12:01:25 AM] File change detected. Starting incremental compilation... -12:01:26 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:26 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:27 AM - Building project '/user/username/projects/sample1/logic/tsconfig.json'... +[12:01:27 AM] Building project '/user/username/projects/sample1/logic/tsconfig.json'... -12:01:40 AM - Project 'sample1/tests/tsconfig.json' is up to date with .d.ts files from its dependencies +[12:01:40 AM] Project 'sample1/tests/tsconfig.json' is up to date with .d.ts files from its dependencies -12:01:42 AM - Updating output timestamps of project '/user/username/projects/sample1/tests/tsconfig.json'... +[12:01:42 AM] Updating output timestamps of project '/user/username/projects/sample1/tests/tsconfig.json'... +[12:01:43 AM] Found 0 errors. Watching for file changes. -12:01:43 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/sample1/logic/index.ts"] @@ -723,23 +723,23 @@ export declare function someFn(): void; Output:: >> Screen clear -12:01:47 AM - File change detected. Starting incremental compilation... +[12:01:47 AM] File change detected. Starting incremental compilation... -12:01:48 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:48 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:49 AM - Building project '/user/username/projects/sample1/logic/tsconfig.json'... +[12:01:49 AM] Building project '/user/username/projects/sample1/logic/tsconfig.json'... -12:02:02 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:02 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:03 AM - Building project '/user/username/projects/sample1/tests/tsconfig.json'... +[12:02:03 AM] Building project '/user/username/projects/sample1/tests/tsconfig.json'... +[12:02:13 AM] Found 0 errors. Watching for file changes. -12:02:13 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/sample1/logic/index.ts"] diff --git a/tests/baselines/reference/tsbuild/watchMode/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js b/tests/baselines/reference/tsbuild/watchMode/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js index 7e203a24131..1d05fa8f294 100644 --- a/tests/baselines/reference/tsbuild/watchMode/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js +++ b/tests/baselines/reference/tsbuild/watchMode/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js @@ -97,11 +97,11 @@ export declare class myClass { Output:: >> Screen clear -12:00:25 AM - Starting compilation in watch mode... +[12:00:25 AM] Starting compilation in watch mode... +[12:00:36 AM] Found 0 errors. Watching for file changes. -12:00:36 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"] @@ -143,13 +143,17 @@ export var myClassWithError = class { Output:: >> Screen clear -12:00:40 AM - File change detected. Starting incremental compilation... +[12:00:40 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. - +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:41 AM] Found 1 error. Watching for file changes. -12:00:41 AM - Found 1 error. Watching for file changes. Program root files: ["/user/username/projects/solution/app/fileWithError.ts","/user/username/projects/solution/app/fileWithoutError.ts"] @@ -186,13 +190,17 @@ export class myClass2 { } Output:: >> Screen clear -12:00:45 AM - File change detected. Starting incremental compilation... +[12:00:45 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. - +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:46 AM] Found 1 error. Watching for file changes. -12:00:46 AM - Found 1 error. Watching for file changes. Program root files: ["/user/username/projects/solution/app/fileWithError.ts","/user/username/projects/solution/app/fileWithoutError.ts"] diff --git a/tests/baselines/reference/tsbuild/watchMode/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js b/tests/baselines/reference/tsbuild/watchMode/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js index 2ff37e532e8..b1bd7b59eaf 100644 --- a/tests/baselines/reference/tsbuild/watchMode/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js +++ b/tests/baselines/reference/tsbuild/watchMode/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js @@ -97,11 +97,11 @@ export declare class myClass { Output:: >> Screen clear -12:00:25 AM - Starting compilation in watch mode... +[12:00:25 AM] Starting compilation in watch mode... +[12:00:36 AM] Found 0 errors. Watching for file changes. -12:00:36 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"] @@ -143,13 +143,17 @@ export var myClassWithError = class { Output:: >> Screen clear -12:00:40 AM - File change detected. Starting incremental compilation... +[12:00:40 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. - +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:41 AM] Found 1 error. Watching for file changes. -12:00:41 AM - Found 1 error. Watching for file changes. Program root files: ["/user/username/projects/solution/app/fileWithError.ts","/user/username/projects/solution/app/fileWithoutError.ts"] @@ -194,11 +198,11 @@ export var myClassWithError = class { Output:: >> Screen clear -12:00:45 AM - File change detected. Starting incremental compilation... +[12:00:45 AM] File change detected. Starting incremental compilation... +[12:00:56 AM] Found 0 errors. Watching for file changes. -12:00:56 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"] diff --git a/tests/baselines/reference/tsbuild/watchMode/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js b/tests/baselines/reference/tsbuild/watchMode/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js index a683edc78c1..c160065ad04 100644 --- a/tests/baselines/reference/tsbuild/watchMode/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js +++ b/tests/baselines/reference/tsbuild/watchMode/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js @@ -27,13 +27,17 @@ export class myClass { } Output:: >> Screen clear -12:00:25 AM - Starting compilation in watch mode... +[12:00:25 AM] Starting compilation in watch mode... -app/fileWithError.ts(1,12): error TS4094: Property 'p' of exported class expression may not be private or protected. - +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:26 AM] Found 1 error. Watching for file changes. -12:00:26 AM - Found 1 error. Watching for file changes. Program root files: ["/user/username/projects/solution/app/fileWithError.ts","/user/username/projects/solution/app/fileWithoutError.ts"] @@ -72,13 +76,17 @@ export class myClass2 { } Output:: >> Screen clear -12:00:30 AM - File change detected. Starting incremental compilation... +[12:00:30 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. - +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:31 AM - Found 1 error. Watching for file changes. Program root files: ["/user/username/projects/solution/app/fileWithError.ts","/user/username/projects/solution/app/fileWithoutError.ts"] diff --git a/tests/baselines/reference/tsbuild/watchMode/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js b/tests/baselines/reference/tsbuild/watchMode/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js index 19e4fd05280..bf5576e359d 100644 --- a/tests/baselines/reference/tsbuild/watchMode/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js +++ b/tests/baselines/reference/tsbuild/watchMode/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js @@ -27,13 +27,17 @@ export class myClass { } Output:: >> Screen clear -12:00:25 AM - Starting compilation in watch mode... +[12:00:25 AM] Starting compilation in watch mode... -app/fileWithError.ts(1,12): error TS4094: Property 'p' of exported class expression may not be private or protected. - +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:26 AM] Found 1 error. Watching for file changes. -12:00:26 AM - Found 1 error. Watching for file changes. Program root files: ["/user/username/projects/solution/app/fileWithError.ts","/user/username/projects/solution/app/fileWithoutError.ts"] @@ -145,11 +149,11 @@ export declare class myClass { Output:: >> Screen clear -12:00:30 AM - File change detected. Starting incremental compilation... +[12:00:30 AM] File change detected. Starting incremental compilation... +[12:00:41 AM] Found 0 errors. Watching for file changes. -12:00:41 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"] diff --git a/tests/baselines/reference/tsbuild/watchMode/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js b/tests/baselines/reference/tsbuild/watchMode/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js index 9cef50403dc..f29ac7e6fdd 100644 --- a/tests/baselines/reference/tsbuild/watchMode/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js +++ b/tests/baselines/reference/tsbuild/watchMode/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js @@ -326,11 +326,11 @@ export declare const m: typeof mod; Output:: >> Screen clear -12:00:45 AM - Starting compilation in watch mode... +[12:00:45 AM] Starting compilation in watch mode... +[12:01:14 AM] Found 0 errors. Watching for file changes. -12:01:14 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/sample1/core/anotherModule.ts","/user/username/projects/sample1/core/index.ts"] @@ -416,13 +416,17 @@ let y: string = 10; Output:: >> Screen clear -12:01:18 AM - File change detected. Starting incremental compilation... +[12:01:18 AM] File change detected. Starting incremental compilation... -sample1/logic/index.ts(8,5): error TS2322: Type '10' is not assignable to type 'string'. - +sample1/logic/index.ts:8:5 - error TS2322: Type '10' is not assignable to type 'string'. + +8 let y: string = 10; +   ~ + + +[12:01:19 AM] Found 1 error. Watching for file changes. -12:01:19 AM - Found 1 error. Watching for file changes. Program root files: ["/user/username/projects/sample1/logic/index.ts"] @@ -474,15 +478,23 @@ let x: string = 10; Output:: >> Screen clear -12:01:23 AM - File change detected. Starting incremental compilation... +[12:01:23 AM] File change detected. Starting incremental compilation... -sample1/core/index.ts(5,5): error TS2322: Type '10' is not assignable to type 'string'. - -sample1/logic/index.ts(8,5): error TS2322: Type '10' is not assignable to type 'string'. - +sample1/core/index.ts:5:5 - error TS2322: Type '10' is not assignable to type 'string'. + +5 let x: string = 10; +   ~ + + +sample1/logic/index.ts:8:5 - error TS2322: Type '10' is not assignable to type 'string'. + +8 let y: string = 10; +   ~ + + +[12:01:24 AM] Found 2 errors. Watching for file changes. -12:01:24 AM - Found 2 errors. Watching for file changes. Program root files: ["/user/username/projects/sample1/core/anotherModule.ts","/user/username/projects/sample1/core/index.ts"] diff --git a/tests/baselines/reference/tsbuild/watchMode/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js b/tests/baselines/reference/tsbuild/watchMode/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js index e9a77c419a4..a63dc152156 100644 --- a/tests/baselines/reference/tsbuild/watchMode/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js +++ b/tests/baselines/reference/tsbuild/watchMode/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js @@ -328,12 +328,11 @@ export declare const m: typeof mod; Output:: - -12:00:45 AM - Starting compilation in watch mode... +[12:00:45 AM] Starting compilation in watch mode... +[12:01:14 AM] Found 0 errors. Watching for file changes. -12:01:14 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/sample1/core/anotherModule.ts","/user/username/projects/sample1/core/index.ts"] @@ -418,14 +417,17 @@ let y: string = 10; Output:: - -12:01:18 AM - File change detected. Starting incremental compilation... +[12:01:18 AM] File change detected. Starting incremental compilation... -sample1/logic/index.ts(8,5): error TS2322: Type '10' is not assignable to type 'string'. - +sample1/logic/index.ts:8:5 - error TS2322: Type '10' is not assignable to type 'string'. + +8 let y: string = 10; +   ~ + + +[12:01:19 AM] Found 1 error. Watching for file changes. -12:01:19 AM - Found 1 error. Watching for file changes. Program root files: ["/user/username/projects/sample1/logic/index.ts"] @@ -476,16 +478,23 @@ let x: string = 10; Output:: - -12:01:23 AM - File change detected. Starting incremental compilation... +[12:01:23 AM] File change detected. Starting incremental compilation... -sample1/core/index.ts(5,5): error TS2322: Type '10' is not assignable to type 'string'. - -sample1/logic/index.ts(8,5): error TS2322: Type '10' is not assignable to type 'string'. - +sample1/core/index.ts:5:5 - error TS2322: Type '10' is not assignable to type 'string'. + +5 let x: string = 10; +   ~ + + +sample1/logic/index.ts:8:5 - error TS2322: Type '10' is not assignable to type 'string'. + +8 let y: string = 10; +   ~ + + +[12:01:24 AM] Found 2 errors. Watching for file changes. -12:01:24 AM - Found 2 errors. Watching for file changes. Program root files: ["/user/username/projects/sample1/core/anotherModule.ts","/user/username/projects/sample1/core/index.ts"] diff --git a/tests/baselines/reference/tsbuild/watchMode/programUpdates/watches-config-files-that-are-not-present.js b/tests/baselines/reference/tsbuild/watchMode/programUpdates/watches-config-files-that-are-not-present.js index 933e2a6e34f..7a1bcb4f7fe 100644 --- a/tests/baselines/reference/tsbuild/watchMode/programUpdates/watches-config-files-that-are-not-present.js +++ b/tests/baselines/reference/tsbuild/watchMode/programUpdates/watches-config-files-that-are-not-present.js @@ -140,13 +140,14 @@ export declare function multiply(a: number, b: number): number; Output:: >> Screen clear -12:00:37 AM - Starting compilation in watch mode... +[12:00:37 AM] Starting compilation in watch mode... -error TS6053: File '/user/username/projects/sample1/logic/tsconfig.json' not found. - +error TS6053: File '/user/username/projects/sample1/logic/tsconfig.json' not found. + + +[12:00:52 AM] Found 1 error. Watching for file changes. -12:00:52 AM - Found 1 error. Watching for file changes. Program root files: ["/user/username/projects/sample1/core/anotherModule.ts","/user/username/projects/sample1/core/index.ts"] @@ -276,7 +277,7 @@ export declare const m: typeof mod; Output:: >> Screen clear -12:00:55 AM - File change detected. Starting incremental compilation... +[12:00:55 AM] File change detected. Starting incremental compilation... @@ -403,8 +404,8 @@ export declare const m: typeof mod; Output:: +[12:01:10 AM] Found 0 errors. Watching for file changes. -12:01:10 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/sample1/tests/index.ts"] diff --git a/tests/baselines/reference/tsbuild/watchMode/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js b/tests/baselines/reference/tsbuild/watchMode/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js index c6250f913d2..4450ed12a94 100644 --- a/tests/baselines/reference/tsbuild/watchMode/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js +++ b/tests/baselines/reference/tsbuild/watchMode/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js @@ -94,11 +94,11 @@ library_1.createSomeObject().message; Output:: >> Screen clear -12:00:29 AM - Starting compilation in watch mode... +[12:00:29 AM] Starting compilation in watch mode... +[12:00:38 AM] Found 0 errors. Watching for file changes. -12:00:38 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/sample1/Library/library.ts"] @@ -210,13 +210,22 @@ export {}; Output:: >> Screen clear -12:00:42 AM - File change detected. Starting incremental compilation... +[12:00:42 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'? - +App/app.ts:2:20 - error TS2551: Property 'message' does not exist on type 'SomeObject'. Did you mean 'message2'? + +2 createSomeObject().message; +   ~~~~~~~ + + Library/library.d.ts:2:5 + 2 message2: string; +    ~~~~~~~~ + 'message2' is declared here. + + +[12:00:52 AM] Found 1 error. Watching for file changes. -12:00:52 AM - Found 1 error. Watching for file changes. Program root files: ["/user/username/projects/sample1/Library/library.ts"] @@ -327,11 +336,11 @@ export {}; Output:: >> Screen clear -12:00:56 AM - File change detected. Starting incremental compilation... +[12:00:56 AM] File change detected. Starting incremental compilation... +[12:01:09 AM] Found 0 errors. Watching for file changes. -12:01:09 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/sample1/Library/library.ts"] diff --git a/tests/baselines/reference/tsbuild/watchMode/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js b/tests/baselines/reference/tsbuild/watchMode/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js index 103e5f39eb7..250df5a8c58 100644 --- a/tests/baselines/reference/tsbuild/watchMode/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js +++ b/tests/baselines/reference/tsbuild/watchMode/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js @@ -175,11 +175,11 @@ declare function bar(): number; Output:: >> Screen clear -12:00:29 AM - Starting compilation in watch mode... +[12:00:29 AM] Starting compilation in watch mode... +[12:00:46 AM] Found 0 errors. Watching for file changes. -12:00:46 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/sample1/core/index.ts"] @@ -285,7 +285,7 @@ declare function myFunc(): number; Output:: >> Screen clear -12:00:50 AM - File change detected. Starting incremental compilation... +[12:00:50 AM] File change detected. Starting incremental compilation... @@ -420,8 +420,8 @@ declare function bar(): number; Output:: +[12:01:15 AM] Found 0 errors. Watching for file changes. -12:01:15 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/sample1/logic/index.ts"] @@ -515,7 +515,7 @@ declare function myFunc(): number; Output:: >> Screen clear -12:01:19 AM - File change detected. Starting incremental compilation... +[12:01:19 AM] File change detected. Starting incremental compilation... @@ -645,8 +645,8 @@ declare function bar(): number; Output:: +[12:01:42 AM] Found 0 errors. Watching for file changes. -12:01:42 AM - Found 0 errors. Watching for file changes. WatchedFiles:: diff --git a/tests/baselines/reference/tsbuild/watchMode/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js b/tests/baselines/reference/tsbuild/watchMode/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js index 73aa28e2805..1e41cd4785c 100644 --- a/tests/baselines/reference/tsbuild/watchMode/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js +++ b/tests/baselines/reference/tsbuild/watchMode/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js @@ -292,11 +292,11 @@ export declare const m: typeof mod; Output:: >> Screen clear -12:00:39 AM - Starting compilation in watch mode... +[12:00:39 AM] Starting compilation in watch mode... +[12:01:04 AM] Found 0 errors. Watching for file changes. -12:01:04 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/sample1/core/anotherModule.ts","/user/username/projects/sample1/core/index.ts"] @@ -429,7 +429,7 @@ export declare const newFileConst = 30; Output:: >> Screen clear -12:01:07 AM - File change detected. Starting incremental compilation... +[12:01:07 AM] File change detected. Starting incremental compilation... @@ -526,8 +526,8 @@ Change:: Build Tests //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] file changed its modified time Output:: +[12:01:18 AM] Found 0 errors. Watching for file changes. -12:01:18 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/sample1/tests/index.ts"] @@ -640,7 +640,7 @@ export declare class someClass2 { Output:: >> Screen clear -12:01:22 AM - File change detected. Starting incremental compilation... +[12:01:22 AM] File change detected. Starting incremental compilation... @@ -737,8 +737,8 @@ Change:: Build Tests //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] file changed its modified time Output:: +[12:01:35 AM] Found 0 errors. Watching for file changes. -12:01:35 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/sample1/tests/index.ts"] diff --git a/tests/baselines/reference/tsbuild/watchMode/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js b/tests/baselines/reference/tsbuild/watchMode/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js index b3ae634833a..f68b5bae035 100644 --- a/tests/baselines/reference/tsbuild/watchMode/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js +++ b/tests/baselines/reference/tsbuild/watchMode/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js @@ -292,11 +292,11 @@ export declare const m: typeof mod; Output:: >> Screen clear -12:00:39 AM - Starting compilation in watch mode... +[12:00:39 AM] Starting compilation in watch mode... +[12:01:04 AM] Found 0 errors. Watching for file changes. -12:01:04 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/sample1/core/anotherModule.ts","/user/username/projects/sample1/core/index.ts"] @@ -440,7 +440,7 @@ export declare class someClass { Output:: >> Screen clear -12:01:08 AM - File change detected. Starting incremental compilation... +[12:01:08 AM] File change detected. Starting incremental compilation... @@ -645,8 +645,8 @@ Change:: Build Tests Output:: +[12:01:40 AM] Found 0 errors. Watching for file changes. -12:01:40 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/sample1/tests/index.ts"] @@ -752,7 +752,7 @@ export declare function multiply(a: number, b: number): number; Output:: >> Screen clear -12:01:44 AM - File change detected. Starting incremental compilation... +[12:01:44 AM] File change detected. Starting incremental compilation... @@ -957,8 +957,8 @@ Change:: Build Tests Output:: +[12:02:16 AM] Found 0 errors. Watching for file changes. -12:02:16 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/sample1/tests/index.ts"] @@ -1082,7 +1082,7 @@ export declare class someClass2 { Output:: >> Screen clear -12:02:23 AM - File change detected. Starting incremental compilation... +[12:02:23 AM] File change detected. Starting incremental compilation... @@ -1287,8 +1287,8 @@ Change:: Build Tests Output:: +[12:02:55 AM] Found 0 errors. Watching for file changes. -12:02:55 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/sample1/tests/index.ts"] diff --git a/tests/baselines/reference/tsbuild/watchMode/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js b/tests/baselines/reference/tsbuild/watchMode/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js index 0ca10342907..eea19d96232 100644 --- a/tests/baselines/reference/tsbuild/watchMode/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js +++ b/tests/baselines/reference/tsbuild/watchMode/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js @@ -292,11 +292,11 @@ export declare const m: typeof mod; Output:: >> Screen clear -12:00:39 AM - Starting compilation in watch mode... +[12:00:39 AM] Starting compilation in watch mode... +[12:01:04 AM] Found 0 errors. Watching for file changes. -12:01:04 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/sample1/core/anotherModule.ts","/user/username/projects/sample1/core/index.ts"] @@ -428,7 +428,7 @@ function foo() { } Output:: >> Screen clear -12:01:08 AM - File change detected. Starting incremental compilation... +[12:01:08 AM] File change detected. Starting incremental compilation... @@ -510,8 +510,8 @@ Change:: Build Tests //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] file changed its modified time Output:: +[12:01:21 AM] Found 0 errors. Watching for file changes. -12:01:21 AM - Found 0 errors. Watching for file changes. WatchedFiles:: diff --git a/tests/baselines/reference/tsbuild/watchMode/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js b/tests/baselines/reference/tsbuild/watchMode/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js index 77ee3768d73..caf095d1dc0 100644 --- a/tests/baselines/reference/tsbuild/watchMode/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js +++ b/tests/baselines/reference/tsbuild/watchMode/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js @@ -326,11 +326,11 @@ export declare const m: typeof mod; Output:: >> Screen clear -12:00:45 AM - Starting compilation in watch mode... +[12:00:45 AM] Starting compilation in watch mode... +[12:01:14 AM] Found 0 errors. Watching for file changes. -12:01:14 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/sample1/core/anotherModule.ts","/user/username/projects/sample1/core/index.ts"] @@ -470,7 +470,7 @@ export declare const newFileConst = 30; Output:: >> Screen clear -12:01:17 AM - File change detected. Starting incremental compilation... +[12:01:17 AM] File change detected. Starting incremental compilation... @@ -567,8 +567,8 @@ Change:: Build Tests //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] file changed its modified time Output:: +[12:01:30 AM] Found 0 errors. Watching for file changes. -12:01:30 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/sample1/tests/index.ts"] @@ -688,7 +688,7 @@ export declare class someClass2 { Output:: >> Screen clear -12:01:34 AM - File change detected. Starting incremental compilation... +[12:01:34 AM] File change detected. Starting incremental compilation... @@ -785,8 +785,8 @@ Change:: Build Tests //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] file changed its modified time Output:: +[12:01:50 AM] Found 0 errors. Watching for file changes. -12:01:50 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/sample1/tests/index.ts"] diff --git a/tests/baselines/reference/tsbuild/watchMode/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js b/tests/baselines/reference/tsbuild/watchMode/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js index f815ffce91d..7d2b08ad1bf 100644 --- a/tests/baselines/reference/tsbuild/watchMode/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js +++ b/tests/baselines/reference/tsbuild/watchMode/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js @@ -326,11 +326,11 @@ export declare const m: typeof mod; Output:: >> Screen clear -12:00:45 AM - Starting compilation in watch mode... +[12:00:45 AM] Starting compilation in watch mode... +[12:01:14 AM] Found 0 errors. Watching for file changes. -12:01:14 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/sample1/core/anotherModule.ts","/user/username/projects/sample1/core/index.ts"] @@ -480,7 +480,7 @@ export declare class someClass { Output:: >> Screen clear -12:01:18 AM - File change detected. Starting incremental compilation... +[12:01:18 AM] File change detected. Starting incremental compilation... @@ -685,8 +685,8 @@ Change:: Build Tests Output:: +[12:01:53 AM] Found 0 errors. Watching for file changes. -12:01:53 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/sample1/tests/index.ts"] @@ -798,7 +798,7 @@ export declare function multiply(a: number, b: number): number; Output:: >> Screen clear -12:01:57 AM - File change detected. Starting incremental compilation... +[12:01:57 AM] File change detected. Starting incremental compilation... @@ -1003,8 +1003,8 @@ Change:: Build Tests Output:: +[12:02:32 AM] Found 0 errors. Watching for file changes. -12:02:32 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/sample1/tests/index.ts"] @@ -1134,7 +1134,7 @@ export declare class someClass2 { Output:: >> Screen clear -12:02:39 AM - File change detected. Starting incremental compilation... +[12:02:39 AM] File change detected. Starting incremental compilation... @@ -1339,8 +1339,8 @@ Change:: Build Tests Output:: +[12:03:14 AM] Found 0 errors. Watching for file changes. -12:03:14 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/sample1/tests/index.ts"] diff --git a/tests/baselines/reference/tsbuild/watchMode/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js b/tests/baselines/reference/tsbuild/watchMode/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js index 241d6abbe79..68955c5d1f0 100644 --- a/tests/baselines/reference/tsbuild/watchMode/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js +++ b/tests/baselines/reference/tsbuild/watchMode/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js @@ -326,11 +326,11 @@ export declare const m: typeof mod; Output:: >> Screen clear -12:00:45 AM - Starting compilation in watch mode... +[12:00:45 AM] Starting compilation in watch mode... +[12:01:14 AM] Found 0 errors. Watching for file changes. -12:01:14 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/sample1/core/anotherModule.ts","/user/username/projects/sample1/core/index.ts"] @@ -466,7 +466,7 @@ function foo() { } Output:: >> Screen clear -12:01:18 AM - File change detected. Starting incremental compilation... +[12:01:18 AM] File change detected. Starting incremental compilation... @@ -548,8 +548,8 @@ Change:: Build Tests //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] file changed its modified time Output:: +[12:01:34 AM] Found 0 errors. Watching for file changes. -12:01:34 AM - Found 0 errors. Watching for file changes. WatchedFiles:: diff --git a/tests/baselines/reference/tsbuild/watchMode/programUpdates/works-when-noUnusedParameters-changes-to-false.js b/tests/baselines/reference/tsbuild/watchMode/programUpdates/works-when-noUnusedParameters-changes-to-false.js new file mode 100644 index 00000000000..d84a2f6f849 --- /dev/null +++ b/tests/baselines/reference/tsbuild/watchMode/programUpdates/works-when-noUnusedParameters-changes-to-false.js @@ -0,0 +1,102 @@ +/a/lib/tsc.js -b -w +//// [/user/username/projects/myproject/index.ts] +const fn = (a: string, b: string) => b; + +//// [/user/username/projects/myproject/tsconfig.json] +{"compilerOptions":{"noUnusedParameters":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:: +>> Screen clear +[12:00:21 AM] Starting compilation in watch mode... + + +index.ts:1:13 - error TS6133: 'a' is declared but its value is never read. + +1 const fn = (a: string, b: string) => b; +   ~ + + +[12:00:22 AM] Found 1 error. Watching for file changes. + + + +Program root files: ["/user/username/projects/myproject/index.ts"] +Program options: {"noUnusedParameters":true,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program files:: +/a/lib/lib.d.ts +/user/username/projects/myproject/index.ts + +Semantic diagnostics in builder refreshed for:: +/a/lib/lib.d.ts +/user/username/projects/myproject/index.ts + +WatchedFiles:: +/user/username/projects/myproject/tsconfig.json: + {"fileName":"/user/username/projects/myproject/tsconfig.json","pollingInterval":250} +/user/username/projects/myproject/index.ts: + {"fileName":"/user/username/projects/myproject/index.ts","pollingInterval":250} + +FsWatches:: + +FsWatchesRecursive:: +/user/username/projects/myproject: + {"directoryName":"/user/username/projects/myproject","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} + +exitCode:: ExitStatus.undefined + +Change:: Change tsconfig to set noUnusedParameters to false + +//// [/user/username/projects/myproject/tsconfig.json] +{"compilerOptions":{"noUnusedParameters":false}} + +//// [/user/username/projects/myproject/index.js] +var fn = function (a, b) { return b; }; + + + +Output:: +>> Screen clear +[12:00:26 AM] File change detected. Starting incremental compilation... + + +[12:00:29 AM] Found 0 errors. Watching for file changes. + + + +Program root files: ["/user/username/projects/myproject/index.ts"] +Program options: {"noUnusedParameters":false,"watch":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +Program files:: +/a/lib/lib.d.ts +/user/username/projects/myproject/index.ts + +Semantic diagnostics in builder refreshed for:: +/a/lib/lib.d.ts +/user/username/projects/myproject/index.ts + +WatchedFiles:: +/user/username/projects/myproject/tsconfig.json: + {"fileName":"/user/username/projects/myproject/tsconfig.json","pollingInterval":250} +/user/username/projects/myproject/index.ts: + {"fileName":"/user/username/projects/myproject/index.ts","pollingInterval":250} + +FsWatches:: + +FsWatchesRecursive:: +/user/username/projects/myproject: + {"directoryName":"/user/username/projects/myproject","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} + +exitCode:: ExitStatus.undefined diff --git a/tests/baselines/reference/tsbuild/watchMode/reexport/Reports-errors-correctly.js b/tests/baselines/reference/tsbuild/watchMode/reexport/Reports-errors-correctly.js index eef457c607a..78404c3b8df 100644 --- a/tests/baselines/reference/tsbuild/watchMode/reexport/Reports-errors-correctly.js +++ b/tests/baselines/reference/tsbuild/watchMode/reexport/Reports-errors-correctly.js @@ -149,29 +149,29 @@ exports.session = { Output:: >> Screen clear -12:00:35 AM - Starting compilation in watch mode... +[12:00:35 AM] Starting compilation in watch mode... -12:00:36 AM - Projects in this build: +[12:00:36 AM] Projects in this build: * src/pure/tsconfig.json * 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/index.js' does not exist -12:00:38 AM - Building project '/user/username/projects/reexport/src/pure/tsconfig.json'... +[12:00:38 AM] Building project '/user/username/projects/reexport/src/pure/tsconfig.json'... -12:00:54 AM - Project 'src/main/tsconfig.json' is out of date because output file 'out/main/index.js' does not exist +[12:00:54 AM] Project 'src/main/tsconfig.json' is out of date because output file 'out/main/index.js' does not exist -12:00:55 AM - Building project '/user/username/projects/reexport/src/main/tsconfig.json'... +[12:00:55 AM] Building project '/user/username/projects/reexport/src/main/tsconfig.json'... +[12:01:01 AM] Found 0 errors. Watching for file changes. -12:01:01 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/reexport/src/pure/index.ts","/user/username/projects/reexport/src/pure/session.ts"] @@ -289,25 +289,34 @@ export interface Session { Output:: >> Screen clear -12:01:05 AM - File change detected. Starting incremental compilation... +[12:01:05 AM] File change detected. Starting incremental compilation... -12:01:06 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:06 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:07 AM - Building project '/user/username/projects/reexport/src/pure/tsconfig.json'... +[12:01:07 AM] Building project '/user/username/projects/reexport/src/pure/tsconfig.json'... -12:01:23 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:23 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:24 AM - Building project '/user/username/projects/reexport/src/main/tsconfig.json'... +[12:01:24 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'. - +src/main/index.ts:3:14 - error TS2741: Property 'bar' is missing in type '{ foo: number; }' but required in type 'Session'. + +3 export const session: Session = { +   ~~~~~~~ + + out/pure/session.d.ts:3:5 + 3 bar: number; +    ~~~ + 'bar' is declared here. + + +[12:01:25 AM] Found 1 error. Watching for file changes. -12:01:25 AM - Found 1 error. Watching for file changes. Program root files: ["/user/username/projects/reexport/src/pure/index.ts","/user/username/projects/reexport/src/pure/session.ts"] @@ -423,26 +432,26 @@ export interface Session { Output:: >> Screen clear -12:01:29 AM - File change detected. Starting incremental compilation... +[12:01:29 AM] File change detected. Starting incremental compilation... -12:01:30 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:30 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:31 AM - Building project '/user/username/projects/reexport/src/pure/tsconfig.json'... +[12:01:31 AM] Building project '/user/username/projects/reexport/src/pure/tsconfig.json'... -12:01:47 AM - Failed to parse file 'src/main/tsconfig.json': Semantic errors. +[12:01:47 AM] Failed to parse file 'src/main/tsconfig.json': Semantic errors. -12:01:48 AM - Building project '/user/username/projects/reexport/src/main/tsconfig.json'... +[12:01:48 AM] Building project '/user/username/projects/reexport/src/main/tsconfig.json'... -12:01:50 AM - Updating unchanged output timestamps of project '/user/username/projects/reexport/src/main/tsconfig.json'... +[12:01:50 AM] Updating unchanged output timestamps of project '/user/username/projects/reexport/src/main/tsconfig.json'... +[12:01:51 AM] Found 0 errors. Watching for file changes. -12:01:51 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/reexport/src/pure/index.ts","/user/username/projects/reexport/src/pure/session.ts"] diff --git a/tests/baselines/reference/tsc/composite/initial-build/when-setting-composite-false-on-command-line-but-has-tsbuild-info-in-config.js b/tests/baselines/reference/tsc/composite/initial-build/when-setting-composite-false-on-command-line-but-has-tsbuild-info-in-config.js index f530960450c..085086aefac 100644 --- a/tests/baselines/reference/tsc/composite/initial-build/when-setting-composite-false-on-command-line-but-has-tsbuild-info-in-config.js +++ b/tests/baselines/reference/tsc/composite/initial-build/when-setting-composite-false-on-command-line-but-has-tsbuild-info-in-config.js @@ -1,6 +1,13 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --composite false --p src/project -src/project/tsconfig.json(6,9): error TS5069: Option 'tsBuildInfoFile' cannot be specified without specifying option 'incremental' or option 'composite'. +src/project/tsconfig.json:6:9 - error TS5069: Option 'tsBuildInfoFile' cannot be specified without specifying option 'incremental' or option 'composite'. + +6 "tsBuildInfoFile": "tsconfig.json.tsbuildinfo" +   ~~~~~~~~~~~~~~~~~ + + +Found 1 error. + exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated diff --git a/tests/baselines/reference/tsc/declarationEmit/initial-build/when-pkg-references-sibling-package-through-indirect-symlink.js b/tests/baselines/reference/tsc/declarationEmit/initial-build/when-pkg-references-sibling-package-through-indirect-symlink.js index b7da60beda8..bba08a12941 100644 --- a/tests/baselines/reference/tsc/declarationEmit/initial-build/when-pkg-references-sibling-package-through-indirect-symlink.js +++ b/tests/baselines/reference/tsc/declarationEmit/initial-build/when-pkg-references-sibling-package-through-indirect-symlink.js @@ -1,6 +1,10 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc -p src/pkg3 --listFiles -src/pkg3/src/keys.ts(2,14): error TS2742: The inferred type of 'ADMIN' cannot be named without a reference to '@raymondfeng/pkg2/node_modules/@raymondfeng/pkg1'. This is likely not portable. A type annotation is necessary. +src/pkg3/src/keys.ts:2:14 - error TS2742: The inferred type of 'ADMIN' cannot be named without a reference to '@raymondfeng/pkg2/node_modules/@raymondfeng/pkg1'. This is likely not portable. A type annotation is necessary. + +2 export const ADMIN = MetadataAccessor.create('1'); +   ~~~~~ + /lib/lib.d.ts /src/pkg3/node_modules/@raymondfeng/pkg2/node_modules/@raymondfeng/pkg1/dist/types.d.ts /src/pkg3/node_modules/@raymondfeng/pkg2/node_modules/@raymondfeng/pkg1/dist/index.d.ts @@ -8,6 +12,9 @@ src/pkg3/src/keys.ts(2,14): error TS2742: The inferred type of 'ADMIN' cannot be /src/pkg3/node_modules/@raymondfeng/pkg2/dist/index.d.ts /src/pkg3/src/keys.ts /src/pkg3/src/index.ts + +Found 1 error. + exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped diff --git a/tests/baselines/reference/tsc/incremental/initial-build/with-noEmitOnError.js b/tests/baselines/reference/tsc/incremental/initial-build/with-noEmitOnError.js index 508078898ab..ee4bb8cb63d 100644 --- a/tests/baselines/reference/tsc/incremental/initial-build/with-noEmitOnError.js +++ b/tests/baselines/reference/tsc/incremental/initial-build/with-noEmitOnError.js @@ -1,6 +1,13 @@ //// [/lib/initial-buildOutput.txt] /lib/tsc --incremental -p src -src/src/main.ts(4,1): error TS1005: ',' expected. +src/src/main.ts:4:1 - error TS1005: ',' expected. + +4 ; +  ~ + + +Found 1 error. + exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped 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 b18febcdf76..ce3b8b51fd5 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 @@ -23,12 +23,11 @@ interface Array { length: number; [n: number]: T; } Output:: - -12:00:13 AM - Starting compilation in watch mode... +[12:00:13 AM] Starting compilation in watch mode... +[12:00:16 AM] Found 0 errors. Watching for file changes. -12:00:16 AM - Found 0 errors. Watching for file changes. Program root files: ["/f.ts","/a/lib/lib.d.ts"] @@ -68,12 +67,11 @@ Change:: Comment added to file f Output:: - -12:00:19 AM - File change detected. Starting incremental compilation... +[12:00:19 AM] File change detected. Starting incremental compilation... +[12:00:23 AM] Found 0 errors. Watching for file changes. -12:00:23 AM - Found 0 errors. Watching for file changes. Program root files: ["/f.ts","/a/lib/lib.d.ts"] diff --git a/tests/baselines/reference/tscWatch/consoleClearing/with---diagnostics.js b/tests/baselines/reference/tscWatch/consoleClearing/with---diagnostics.js index 148f6800314..9bd26bdd331 100644 --- a/tests/baselines/reference/tscWatch/consoleClearing/with---diagnostics.js +++ b/tests/baselines/reference/tscWatch/consoleClearing/with---diagnostics.js @@ -20,8 +20,7 @@ interface Array { length: number; [n: number]: T; } Output:: - -12:00:11 AM - Starting compilation in watch mode... +[12:00:11 AM] Starting compilation in watch mode... Current directory: / CaseSensitiveFileNames: false @@ -34,8 +33,8 @@ CreatingProgramWith:: options: {"watch":true,"diagnostics":true} +[12:00:14 AM] Found 0 errors. Watching for file changes. -12:00:14 AM - Found 0 errors. Watching for file changes. Program root files: ["/f.ts"] @@ -77,8 +76,7 @@ Scheduling update Elapsed:: *ms FileWatcher:: Triggered with /f.ts 1:: WatchInfo: /f.ts 250 undefined Source file - -12:00:17 AM - File change detected. Starting incremental compilation... +[12:00:17 AM] File change detected. Starting incremental compilation... Synchronizing program @@ -89,8 +87,8 @@ CreatingProgramWith:: options: {"watch":true,"diagnostics":true} +[12:00:21 AM] Found 0 errors. Watching for file changes. -12:00:21 AM - Found 0 errors. Watching for file changes. Program root files: ["/f.ts"] diff --git a/tests/baselines/reference/tscWatch/consoleClearing/with---extendedDiagnostics.js b/tests/baselines/reference/tscWatch/consoleClearing/with---extendedDiagnostics.js index 7a59eb5aae9..494fd1c50bf 100644 --- a/tests/baselines/reference/tscWatch/consoleClearing/with---extendedDiagnostics.js +++ b/tests/baselines/reference/tscWatch/consoleClearing/with---extendedDiagnostics.js @@ -20,8 +20,7 @@ interface Array { length: number; [n: number]: T; } Output:: - -12:00:11 AM - Starting compilation in watch mode... +[12:00:11 AM] Starting compilation in watch mode... Current directory: / CaseSensitiveFileNames: false @@ -38,8 +37,8 @@ FileWatcher:: Added:: WatchInfo: /f.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 250 undefined Source file +[12:00:14 AM] Found 0 errors. Watching for file changes. -12:00:14 AM - Found 0 errors. Watching for file changes. Program root files: ["/f.ts"] @@ -81,8 +80,7 @@ Scheduling update Elapsed:: *ms FileWatcher:: Triggered with /f.ts 1:: WatchInfo: /f.ts 250 undefined Source file - -12:00:17 AM - File change detected. Starting incremental compilation... +[12:00:17 AM] File change detected. Starting incremental compilation... Synchronizing program @@ -93,8 +91,8 @@ CreatingProgramWith:: options: {"watch":true,"extendedDiagnostics":true} +[12:00:21 AM] Found 0 errors. Watching for file changes. -12:00:21 AM - Found 0 errors. Watching for file changes. Program root files: ["/f.ts"] diff --git a/tests/baselines/reference/tscWatch/consoleClearing/with---preserveWatchOutput.js b/tests/baselines/reference/tscWatch/consoleClearing/with---preserveWatchOutput.js index a70d6ad8990..7c5d64a46ea 100644 --- a/tests/baselines/reference/tscWatch/consoleClearing/with---preserveWatchOutput.js +++ b/tests/baselines/reference/tscWatch/consoleClearing/with---preserveWatchOutput.js @@ -20,12 +20,11 @@ interface Array { length: number; [n: number]: T; } Output:: - -12:00:11 AM - Starting compilation in watch mode... +[12:00:11 AM] Starting compilation in watch mode... +[12:00:14 AM] Found 0 errors. Watching for file changes. -12:00:14 AM - Found 0 errors. Watching for file changes. Program root files: ["/f.ts"] @@ -61,12 +60,11 @@ Change:: Comment added to file f Output:: - -12:00:17 AM - File change detected. Starting incremental compilation... +[12:00:17 AM] File change detected. Starting incremental compilation... +[12:00:21 AM] Found 0 errors. Watching for file changes. -12:00:21 AM - Found 0 errors. Watching for file changes. Program root files: ["/f.ts"] 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 64759bd2845..8a05fb065fe 100644 --- a/tests/baselines/reference/tscWatch/consoleClearing/without---diagnostics-or---extendedDiagnostics.js +++ b/tests/baselines/reference/tscWatch/consoleClearing/without---diagnostics-or---extendedDiagnostics.js @@ -21,11 +21,11 @@ interface Array { length: number; [n: number]: T; } Output:: >> Screen clear -12:00:11 AM - Starting compilation in watch mode... +[12:00:11 AM] Starting compilation in watch mode... +[12:00:14 AM] Found 0 errors. Watching for file changes. -12:00:14 AM - Found 0 errors. Watching for file changes. Program root files: ["/f.ts"] @@ -62,11 +62,11 @@ Change:: Comment added to file f Output:: >> Screen clear -12:00:17 AM - File change detected. Starting incremental compilation... +[12:00:17 AM] File change detected. Starting incremental compilation... +[12:00:21 AM] Found 0 errors. Watching for file changes. -12:00:21 AM - Found 0 errors. Watching for file changes. Program root files: ["/f.ts"] 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 0acfda9910a..78777939a7d 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 @@ -40,11 +40,11 @@ var v = 1 /* V */; Output:: >> Screen clear -12:00:23 AM - Starting compilation in watch mode... +[12:00:23 AM] Starting compilation in watch mode... +[12:00:30 AM] Found 0 errors. Watching for file changes. -12:00:30 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/someone/projects/myproject/file3.ts"] @@ -92,11 +92,11 @@ function foo2() { return 2; } Output:: >> Screen clear -12:00:33 AM - File change detected. Starting incremental compilation... +[12:00:33 AM] File change detected. Starting incremental compilation... +[12:00:37 AM] Found 0 errors. Watching for file changes. -12:00:37 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/someone/projects/myproject/file3.ts"] 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 3fbc10a01c9..0d3b4bcaf33 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 @@ -25,11 +25,11 @@ var a = 10; Output:: >> Screen clear -12:00:21 AM - Starting compilation in watch mode... +[12:00:21 AM] Starting compilation in watch mode... +[12:00:24 AM] Found 0 errors. Watching for file changes. -12:00:24 AM - Found 0 errors. Watching for file changes. Program root files: ["/home/username/project/app/file.ts"] @@ -74,11 +74,11 @@ var b = 10; Output:: >> Screen clear -12:00:28 AM - File change detected. Starting incremental compilation... +[12:00:28 AM] File change detected. Starting incremental compilation... +[12:00:32 AM] Found 0 errors. Watching for file changes. -12:00:32 AM - Found 0 errors. Watching for file changes. Program root files: ["/home/username/project/app/file.ts"] 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 c3b483701e7..335e12e9e47 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 @@ -24,11 +24,11 @@ var y = 2; Output:: >> Screen clear -12:00:11 AM - Starting compilation in watch mode... +[12:00:11 AM] Starting compilation in watch mode... +[12:00:14 AM] Found 0 errors. Watching for file changes. -12:00:14 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/app.ts"] @@ -69,11 +69,11 @@ var z = 3; Output:: >> Screen clear -12:00:17 AM - File change detected. Starting incremental compilation... +[12:00:17 AM] File change detected. Starting incremental compilation... +[12:00:21 AM] Found 0 errors. Watching for file changes. -12:00:21 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/app.ts"] 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 c95747eb759..00aa33efabf 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 @@ -24,11 +24,11 @@ var y = 2; Output:: >> Screen clear -12:00:11 AM - Starting compilation in watch mode... +[12:00:11 AM] Starting compilation in watch mode... +[12:00:14 AM] Found 0 errors. Watching for file changes. -12:00:14 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/app.ts"] @@ -69,11 +69,11 @@ var z = 3; Output:: >> Screen clear -12:00:17 AM - File change detected. Starting incremental compilation... +[12:00:17 AM] File change detected. Starting incremental compilation... +[12:00:21 AM] Found 0 errors. Watching for file changes. -12:00:21 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/app.ts"] 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 4daa64a6557..5ad8a6aa4ac 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 @@ -50,11 +50,11 @@ var x = f2_1.y; Output:: >> Screen clear -12:00:19 AM - Starting compilation in watch mode... +[12:00:19 AM] Starting compilation in watch mode... +[12:00:26 AM] Found 0 errors. Watching for file changes. -12:00:26 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/f1.ts","/a/b/f2.ts","/a/b/f3.ts"] @@ -112,11 +112,11 @@ exports.foo2 = foo2; Output:: >> Screen clear -12:00:29 AM - File change detected. Starting incremental compilation... +[12:00:29 AM] File change detected. Starting incremental compilation... +[12:00:36 AM] Found 0 errors. Watching for file changes. -12:00:36 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/f1.ts","/a/b/f2.ts","/a/b/f3.ts"] 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 778941f4127..f425ed918a2 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 @@ -65,13 +65,17 @@ exports.Foo4 = 10; Output:: >> Screen clear -12:00:23 AM - Starting compilation in watch mode... +[12:00:23 AM] Starting compilation in watch mode... -a/b/globalFile3.ts(1,1): error TS1208: All files must be modules when the '--isolatedModules' flag is provided. - +a/b/globalFile3.ts:1:1 - error TS1208: All files must be modules when the '--isolatedModules' flag is provided. + +1 interface GlobalFoo { age: number } +  ~~~~~~~~~ + + +[12:00:34 AM] Found 1 error. Watching for file changes. -12:00:34 AM - Found 1 error. Watching for file changes. Program root files: ["/a/b/file1Consumer1.ts","/a/b/file1Consumer2.ts","/a/b/globalFile3.ts","/a/b/moduleFile1.ts","/a/b/moduleFile2.ts"] @@ -135,13 +139,17 @@ exports.Foo = Foo; Output:: >> Screen clear -12:00:38 AM - File change detected. Starting incremental compilation... +[12:00:38 AM] File change detected. Starting incremental compilation... -a/b/globalFile3.ts(1,1): error TS1208: All files must be modules when the '--isolatedModules' flag is provided. - +a/b/globalFile3.ts:1:1 - error TS1208: All files must be modules when the '--isolatedModules' flag is provided. + +1 interface GlobalFoo { age: number } +  ~~~~~~~~~ + + +[12:00:42 AM] Found 1 error. Watching for file changes. -12:00:42 AM - Found 1 error. Watching for file changes. Program root files: ["/a/b/file1Consumer1.ts","/a/b/file1Consumer2.ts","/a/b/globalFile3.ts","/a/b/moduleFile1.ts","/a/b/moduleFile2.ts"] 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 8bae3db2fa6..654a5287ff7 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 @@ -81,11 +81,11 @@ System.register("moduleFile2", [], function (exports_4, context_4) { Output:: >> Screen clear -12:00:23 AM - Starting compilation in watch mode... +[12:00:23 AM] Starting compilation in watch mode... +[12:00:26 AM] Found 0 errors. Watching for file changes. -12:00:26 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/file1Consumer1.ts","/a/b/file1Consumer2.ts","/a/b/globalFile3.ts","/a/b/moduleFile1.ts","/a/b/moduleFile2.ts"] @@ -183,11 +183,11 @@ System.register("moduleFile2", [], function (exports_4, context_4) { Output:: >> Screen clear -12:00:30 AM - File change detected. Starting incremental compilation... +[12:00:30 AM] File change detected. Starting incremental compilation... +[12:00:34 AM] Found 0 errors. Watching for file changes. -12:00:34 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/file1Consumer1.ts","/a/b/file1Consumer2.ts","/a/b/globalFile3.ts","/a/b/moduleFile1.ts","/a/b/moduleFile2.ts"] 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 ddca7bf7155..b9334c889d0 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 @@ -65,11 +65,11 @@ exports.Foo4 = 10; Output:: >> Screen clear -12:00:23 AM - Starting compilation in watch mode... +[12:00:23 AM] Starting compilation in watch mode... +[12:00:34 AM] Found 0 errors. Watching for file changes. -12:00:34 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/file1Consumer1.ts","/a/b/file1Consumer2.ts","/a/b/globalFile3.ts","/a/b/moduleFile1.ts","/a/b/moduleFile2.ts"] @@ -135,11 +135,11 @@ exports.Foo = Foo; Output:: >> Screen clear -12:00:39 AM - File change detected. Starting incremental compilation... +[12:00:39 AM] File change detected. Starting incremental compilation... +[12:00:46 AM] Found 0 errors. Watching for file changes. -12:00:46 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/file1Consumer1.ts","/a/b/globalFile3.ts","/a/b/moduleFile1.ts","/a/b/moduleFile2.ts"] 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 5c1e860dc42..89bee1b3be9 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 @@ -65,11 +65,11 @@ exports.Foo4 = 10; Output:: >> Screen clear -12:00:23 AM - Starting compilation in watch mode... +[12:00:23 AM] Starting compilation in watch mode... +[12:00:34 AM] Found 0 errors. Watching for file changes. -12:00:34 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/file1Consumer1.ts","/a/b/file1Consumer2.ts","/a/b/globalFile3.ts","/a/b/moduleFile1.ts","/a/b/moduleFile2.ts"] @@ -145,11 +145,11 @@ var y = moduleFile1_1.Foo(); Output:: >> Screen clear -12:00:40 AM - File change detected. Starting incremental compilation... +[12:00:40 AM] File change detected. Starting incremental compilation... +[12:00:52 AM] Found 0 errors. Watching for file changes. -12:00:52 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/file1Consumer1.ts","/a/b/file1Consumer2.ts","/a/b/file1Consumer3.ts","/a/b/globalFile3.ts","/a/b/moduleFile1.ts","/a/b/moduleFile2.ts"] 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 67b2fcbb1ec..3560a191d77 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 @@ -65,11 +65,11 @@ exports.Foo4 = 10; Output:: >> Screen clear -12:00:23 AM - Starting compilation in watch mode... +[12:00:23 AM] Starting compilation in watch mode... +[12:00:34 AM] Found 0 errors. Watching for file changes. -12:00:34 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/file1Consumer1.ts","/a/b/file1Consumer2.ts","/a/b/globalFile3.ts","/a/b/moduleFile1.ts","/a/b/moduleFile2.ts"] @@ -131,13 +131,17 @@ exports.y = Foo(); Output:: >> Screen clear -12:00:38 AM - File change detected. Starting incremental compilation... +[12:00:38 AM] File change detected. Starting incremental compilation... -a/b/file1Consumer1.ts(1,16): error TS2304: Cannot find name 'Foo'. - +a/b/file1Consumer1.ts:1:16 - error TS2304: Cannot find name 'Foo'. + +1 export let y = Foo(); +   ~~~ + + +[12:00:42 AM] Found 1 error. Watching for file changes. -12:00:42 AM - Found 1 error. Watching for file changes. Program root files: ["/a/b/file1Consumer1.ts","/a/b/file1Consumer2.ts","/a/b/globalFile3.ts","/a/b/moduleFile1.ts","/a/b/moduleFile2.ts"] @@ -197,13 +201,17 @@ exports.Foo = Foo; Output:: >> Screen clear -12:00:46 AM - File change detected. Starting incremental compilation... +[12:00:46 AM] File change detected. Starting incremental compilation... -a/b/file1Consumer1.ts(1,16): error TS2304: Cannot find name 'Foo'. - +a/b/file1Consumer1.ts:1:16 - error TS2304: Cannot find name 'Foo'. + +1 export let y = Foo(); +   ~~~ + + +[12:00:53 AM] Found 1 error. Watching for file changes. -12:00:53 AM - Found 1 error. Watching for file changes. Program root files: ["/a/b/file1Consumer1.ts","/a/b/file1Consumer2.ts","/a/b/globalFile3.ts","/a/b/moduleFile1.ts","/a/b/moduleFile2.ts"] @@ -261,11 +269,11 @@ var y = moduleFile1_1.Foo(); Output:: >> Screen clear -12:00:57 AM - File change detected. Starting incremental compilation... +[12:00:57 AM] File change detected. Starting incremental compilation... +[12:01:01 AM] Found 0 errors. Watching for file changes. -12:01:01 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/file1Consumer1.ts","/a/b/file1Consumer2.ts","/a/b/globalFile3.ts","/a/b/moduleFile1.ts","/a/b/moduleFile2.ts"] @@ -324,17 +332,29 @@ exports.y = Foo(); Output:: >> Screen clear -12:01:05 AM - File change detected. Starting incremental compilation... +[12:01:05 AM] File change detected. Starting incremental compilation... -a/b/file1Consumer1.ts(1,9): error TS2305: Module '"./moduleFile1"' has no exported member 'Foo'. - -a/b/file1Consumer2.ts(1,9): error TS2305: Module '"./moduleFile1"' has no exported member 'Foo'. - -a/b/moduleFile1.ts(1,16): error TS2304: Cannot find name 'Foo'. - +a/b/file1Consumer1.ts:1:9 - error TS2305: Module '"./moduleFile1"' has no exported member 'Foo'. + +1 import {Foo} from "./moduleFile1";let y = Foo(); +   ~~~ + + +a/b/file1Consumer2.ts:1:9 - error TS2305: Module '"./moduleFile1"' has no exported member 'Foo'. + +1 import {Foo} from "./moduleFile1"; let z = 10; +   ~~~ + + +a/b/moduleFile1.ts:1:16 - error TS2304: Cannot find name 'Foo'. + +1 export let y = Foo(); +   ~~~ + + +[12:01:15 AM] Found 3 errors. Watching for file changes. -12:01:15 AM - Found 3 errors. Watching for file changes. Program root files: ["/a/b/file1Consumer1.ts","/a/b/file1Consumer2.ts","/a/b/globalFile3.ts","/a/b/moduleFile1.ts","/a/b/moduleFile2.ts"] @@ -398,11 +418,11 @@ exports.Foo = Foo; Output:: >> Screen clear -12:01:22 AM - File change detected. Starting incremental compilation... +[12:01:22 AM] File change detected. Starting incremental compilation... +[12:01:32 AM] Found 0 errors. Watching for file changes. -12:01:32 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/file1Consumer1.ts","/a/b/file1Consumer2.ts","/a/b/globalFile3.ts","/a/b/moduleFile1.ts","/a/b/moduleFile2.ts"] 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 814091b5de8..fed646679e5 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 @@ -65,11 +65,11 @@ exports.Foo4 = 10; Output:: >> Screen clear -12:00:23 AM - Starting compilation in watch mode... +[12:00:23 AM] Starting compilation in watch mode... +[12:00:34 AM] Found 0 errors. Watching for file changes. -12:00:34 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/file1Consumer1.ts","/a/b/file1Consumer2.ts","/a/b/globalFile3.ts","/a/b/moduleFile1.ts","/a/b/moduleFile2.ts"] @@ -135,11 +135,11 @@ exports.Foo = Foo; Output:: >> Screen clear -12:00:38 AM - File change detected. Starting incremental compilation... +[12:00:38 AM] File change detected. Starting incremental compilation... +[12:00:48 AM] Found 0 errors. Watching for file changes. -12:00:48 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/file1Consumer1.ts","/a/b/file1Consumer2.ts","/a/b/globalFile3.ts","/a/b/moduleFile1.ts","/a/b/moduleFile2.ts"] @@ -200,13 +200,17 @@ exports.Foo = Foo; Output:: >> Screen clear -12:00:52 AM - File change detected. Starting incremental compilation... +[12:00:52 AM] File change detected. Starting incremental compilation... -a/b/moduleFile1.ts(1,46): error TS2584: Cannot find name 'console'. Do you need to change your target library? Try changing the `lib` compiler option to include 'dom'. - +a/b/moduleFile1.ts:1:46 - error TS2584: Cannot find name 'console'. Do you need to change your target library? Try changing the `lib` compiler option to include 'dom'. + +1 export var T: number;export function Foo() { console.log('hi'); }; +   ~~~~~~~ + + +[12:00:56 AM] Found 1 error. Watching for file changes. -12:00:56 AM - Found 1 error. Watching for file changes. Program root files: ["/a/b/file1Consumer1.ts","/a/b/file1Consumer2.ts","/a/b/globalFile3.ts","/a/b/moduleFile1.ts","/a/b/moduleFile2.ts"] 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 32d7080d721..bebd7d6595d 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 @@ -49,11 +49,11 @@ exports.y = 10; Output:: >> Screen clear -12:00:23 AM - Starting compilation in watch mode... +[12:00:23 AM] Starting compilation in watch mode... +[12:00:28 AM] Found 0 errors. Watching for file changes. -12:00:28 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/file1Consumer1.ts"] @@ -104,11 +104,11 @@ exports.Foo = Foo; Output:: >> Screen clear -12:00:32 AM - File change detected. Starting incremental compilation... +[12:00:32 AM] File change detected. Starting incremental compilation... +[12:00:39 AM] Found 0 errors. Watching for file changes. -12:00:39 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/file1Consumer1.ts"] @@ -158,11 +158,11 @@ var T1; Output:: >> Screen clear -12:00:42 AM - File change detected. Starting incremental compilation... +[12:00:42 AM] File change detected. Starting incremental compilation... +[12:00:46 AM] Found 0 errors. Watching for file changes. -12:00:46 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/file1Consumer1.ts"] 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 6091f769e17..368843aa14d 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 @@ -30,15 +30,23 @@ exports.x = Foo(); Output:: >> Screen clear -12:00:15 AM - Starting compilation in watch mode... +[12:00:15 AM] Starting compilation in watch mode... -a/b/referenceFile1.ts(1,22): error TS6053: File '/a/b/moduleFile2.ts' not found. - -a/b/referenceFile1.ts(2,16): error TS2304: Cannot find name 'Foo'. - +a/b/referenceFile1.ts:1:22 - error TS6053: File '/a/b/moduleFile2.ts' not found. + +1 /// +   ~~~~~~~~~~~~~~~~ + + +a/b/referenceFile1.ts:2:16 - error TS2304: Cannot find name 'Foo'. + +2 export var x = Foo(); +   ~~~ + + +[12:00:18 AM] Found 2 errors. Watching for file changes. -12:00:18 AM - Found 2 errors. Watching for file changes. Program root files: ["/a/b/referenceFile1.ts"] @@ -89,17 +97,29 @@ exports.yy = Foo(); Output:: >> Screen clear -12:00:21 AM - File change detected. Starting incremental compilation... +[12:00:21 AM] File change detected. Starting incremental compilation... -a/b/referenceFile1.ts(1,22): error TS6053: File '/a/b/moduleFile2.ts' not found. - -a/b/referenceFile1.ts(2,16): error TS2304: Cannot find name 'Foo'. - -a/b/referenceFile1.ts(2,38): error TS2304: Cannot find name 'Foo'. - +a/b/referenceFile1.ts:1:22 - error TS6053: File '/a/b/moduleFile2.ts' not found. + +1 /// +   ~~~~~~~~~~~~~~~~ + + +a/b/referenceFile1.ts:2:16 - error TS2304: Cannot find name 'Foo'. + +2 export var x = Foo();export var yy = Foo(); +   ~~~ + + +a/b/referenceFile1.ts:2:38 - error TS2304: Cannot find name 'Foo'. + +2 export var x = Foo();export var yy = Foo(); +   ~~~ + + +[12:00:25 AM] Found 3 errors. Watching for file changes. -12:00:25 AM - Found 3 errors. Watching for file changes. Program root files: ["/a/b/referenceFile1.ts"] @@ -147,15 +167,23 @@ exports.Foo4 = 10; Output:: >> Screen clear -12:00:28 AM - File change detected. Starting incremental compilation... +[12:00:28 AM] File change detected. Starting incremental compilation... -a/b/referenceFile1.ts(2,16): error TS2304: Cannot find name 'Foo'. - -a/b/referenceFile1.ts(2,38): error TS2304: Cannot find name 'Foo'. - +a/b/referenceFile1.ts:2:16 - error TS2304: Cannot find name 'Foo'. + +2 export var x = Foo();export var yy = Foo(); +   ~~~ + + +a/b/referenceFile1.ts:2:38 - error TS2304: Cannot find name 'Foo'. + +2 export var x = Foo();export var yy = Foo(); +   ~~~ + + +[12:00:34 AM] Found 2 errors. Watching for file changes. -12:00:34 AM - Found 2 errors. Watching for file changes. Program root files: ["/a/b/moduleFile2.ts","/a/b/referenceFile1.ts"] 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 5c9424f3f23..382a051e09f 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 @@ -42,13 +42,17 @@ exports.x = Foo(); Output:: >> Screen clear -12:00:17 AM - Starting compilation in watch mode... +[12:00:17 AM] Starting compilation in watch mode... -a/b/referenceFile1.ts(2,16): error TS2304: Cannot find name 'Foo'. - +a/b/referenceFile1.ts:2:16 - error TS2304: Cannot find name 'Foo'. + +2 export var x = Foo(); +   ~~~ + + +[12:00:22 AM] Found 1 error. Watching for file changes. -12:00:22 AM - Found 1 error. Watching for file changes. Program root files: ["/a/b/moduleFile1.ts","/a/b/referenceFile1.ts"] @@ -90,15 +94,23 @@ Change:: delete moduleFile1 Output:: >> Screen clear -12:00:24 AM - File change detected. Starting incremental compilation... +[12:00:24 AM] File change detected. Starting incremental compilation... -a/b/referenceFile1.ts(1,22): error TS6053: File '/a/b/moduleFile1.ts' not found. - -a/b/referenceFile1.ts(2,16): error TS2304: Cannot find name 'Foo'. - +a/b/referenceFile1.ts:1:22 - error TS6053: File '/a/b/moduleFile1.ts' not found. + +1 /// +   ~~~~~~~~~~~~~~~~ + + +a/b/referenceFile1.ts:2:16 - error TS2304: Cannot find name 'Foo'. + +2 export var x = Foo(); +   ~~~ + + +[12:00:28 AM] Found 2 errors. Watching for file changes. -12:00:28 AM - Found 2 errors. Watching for file changes. Program root files: ["/a/b/referenceFile1.ts"] 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 3f962b5b12c..5644e04edd8 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 @@ -65,11 +65,11 @@ exports.Foo4 = 10; Output:: >> Screen clear -12:00:23 AM - Starting compilation in watch mode... +[12:00:23 AM] Starting compilation in watch mode... +[12:00:34 AM] Found 0 errors. Watching for file changes. -12:00:34 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/file1Consumer1.ts","/a/b/file1Consumer2.ts","/a/b/globalFile3.ts","/a/b/moduleFile1.ts","/a/b/moduleFile2.ts"] @@ -132,11 +132,11 @@ var T2; Output:: >> Screen clear -12:00:37 AM - File change detected. Starting incremental compilation... +[12:00:37 AM] File change detected. Starting incremental compilation... +[12:00:53 AM] Found 0 errors. Watching for file changes. -12:00:53 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/file1Consumer1.ts","/a/b/file1Consumer2.ts","/a/b/globalFile3.ts","/a/b/moduleFile1.ts","/a/b/moduleFile2.ts"] 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 dede5566c0c..560e738af08 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 @@ -73,11 +73,11 @@ exports.Foo4 = 10; Output:: >> Screen clear -12:00:25 AM - Starting compilation in watch mode... +[12:00:25 AM] Starting compilation in watch mode... +[12:00:38 AM] Found 0 errors. Watching for file changes. -12:00:38 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/file1Consumer1.ts","/a/b/file1Consumer1Consumer1.ts","/a/b/file1Consumer2.ts","/a/b/globalFile3.ts","/a/b/moduleFile1.ts","/a/b/moduleFile2.ts"] @@ -144,11 +144,11 @@ exports.y = 10; Output:: >> Screen clear -12:00:41 AM - File change detected. Starting incremental compilation... +[12:00:41 AM] File change detected. Starting incremental compilation... +[12:00:48 AM] Found 0 errors. Watching for file changes. -12:00:48 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/file1Consumer1.ts","/a/b/file1Consumer1Consumer1.ts","/a/b/file1Consumer2.ts","/a/b/globalFile3.ts","/a/b/moduleFile1.ts","/a/b/moduleFile2.ts"] @@ -213,11 +213,11 @@ exports.Foo = Foo; Output:: >> Screen clear -12:00:52 AM - File change detected. Starting incremental compilation... +[12:00:52 AM] File change detected. Starting incremental compilation... +[12:01:02 AM] Found 0 errors. Watching for file changes. -12:01:02 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/file1Consumer1.ts","/a/b/file1Consumer1Consumer1.ts","/a/b/file1Consumer2.ts","/a/b/globalFile3.ts","/a/b/moduleFile1.ts","/a/b/moduleFile2.ts"] @@ -293,11 +293,11 @@ exports.y = 10; Output:: >> Screen clear -12:01:08 AM - File change detected. Starting incremental compilation... +[12:01:08 AM] File change detected. Starting incremental compilation... +[12:01:21 AM] Found 0 errors. Watching for file changes. -12:01:21 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/file1Consumer1.ts","/a/b/file1Consumer1Consumer1.ts","/a/b/file1Consumer2.ts","/a/b/globalFile3.ts","/a/b/moduleFile1.ts","/a/b/moduleFile2.ts"] 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 7e4bd90094e..f1b6699c15a 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 @@ -42,11 +42,11 @@ exports.t1 = 10; Output:: >> Screen clear -12:00:17 AM - Starting compilation in watch mode... +[12:00:17 AM] Starting compilation in watch mode... +[12:00:22 AM] Found 0 errors. Watching for file changes. -12:00:22 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/file1.ts","/a/b/file2.ts"] @@ -100,11 +100,11 @@ exports.t3 = 10; Output:: >> Screen clear -12:00:25 AM - File change detected. Starting incremental compilation... +[12:00:25 AM] File change detected. Starting incremental compilation... +[12:00:32 AM] Found 0 errors. Watching for file changes. -12:00:32 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/file1.ts","/a/b/file2.ts"] 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 c6d2a7cfaa5..8f4987a5c2d 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 @@ -32,11 +32,11 @@ var y = 1; Output:: >> Screen clear -12:00:15 AM - Starting compilation in watch mode... +[12:00:15 AM] Starting compilation in watch mode... +[12:00:20 AM] Found 0 errors. Watching for file changes. -12:00:20 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/a.ts","/a/b.ts","/a/lib/lib.d.ts"] @@ -83,11 +83,11 @@ var x = 11; Output:: >> Screen clear -12:00:24 AM - File change detected. Starting incremental compilation... +[12:00:24 AM] File change detected. Starting incremental compilation... +[12:00:28 AM] Found 0 errors. Watching for file changes. -12:00:28 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/a.ts","/a/b.ts","/a/lib/lib.d.ts"] 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 4d098fc80e8..abdb4c96f95 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 @@ -29,11 +29,11 @@ var y = 1; Output:: >> Screen clear -12:00:15 AM - Starting compilation in watch mode... +[12:00:15 AM] Starting compilation in watch mode... +[12:00:18 AM] Found 0 errors. Watching for file changes. -12:00:18 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/a.ts","/a/b.ts","/a/lib/lib.d.ts"] @@ -78,11 +78,11 @@ var y = 1; Output:: >> Screen clear -12:00:22 AM - File change detected. Starting incremental compilation... +[12:00:22 AM] File change detected. Starting incremental compilation... +[12:00:26 AM] Found 0 errors. Watching for file changes. -12:00:26 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/a.ts","/a/b.ts","/a/lib/lib.d.ts"] 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 ea3bdad6edc..13ae6e640e2 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 @@ -29,11 +29,11 @@ var y = 1; Output:: >> Screen clear -12:00:15 AM - Starting compilation in watch mode... +[12:00:15 AM] Starting compilation in watch mode... +[12:00:18 AM] Found 0 errors. Watching for file changes. -12:00:18 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/a.ts","/a/b.ts","/a/lib/lib.d.ts"] @@ -78,11 +78,11 @@ var y = 1; Output:: >> Screen clear -12:00:22 AM - File change detected. Starting incremental compilation... +[12:00:22 AM] File change detected. Starting incremental compilation... +[12:00:26 AM] Found 0 errors. Watching for file changes. -12:00:26 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/a.ts","/a/b.ts","/a/lib/lib.d.ts"] 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 47f9fb9ffe9..981e805e512 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 @@ -46,13 +46,17 @@ var main; Output:: >> Screen clear -12:00:31 AM - Starting compilation in watch mode... +[12:00:31 AM] Starting compilation in watch mode... -a/b/project/src/main2.ts(1,114): error TS2694: Namespace 'Common.SomeComponent.DynamicMenu' has no exported member 'z'. - +a/b/project/src/main2.ts:1:114 - error TS2694: Namespace 'Common.SomeComponent.DynamicMenu' has no exported member 'z'. + +1 namespace main.file4 { import DynamicMenu = Common.SomeComponent.DynamicMenu; export function foo(a: DynamicMenu.z) { } } +   ~ + + +[12:00:34 AM] Found 1 error. Watching for file changes. -12:00:34 AM - Found 1 error. Watching for file changes. Program root 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"] 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 69b778e8233..576e836605f 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 @@ -49,13 +49,17 @@ var main; Output:: >> Screen clear -12:00:31 AM - Starting compilation in watch mode... +[12:00:31 AM] Starting compilation in watch mode... -a/b/project/src/main2.ts(1,114): error TS2694: Namespace 'Common.SomeComponent.DynamicMenu' has no exported member 'z'. - +a/b/project/src/main2.ts:1:114 - error TS2694: Namespace 'Common.SomeComponent.DynamicMenu' has no exported member 'z'. + +1 namespace main.file4 { import DynamicMenu = Common.SomeComponent.DynamicMenu; export function foo(a: DynamicMenu.z) { } } +   ~ + + +[12:00:36 AM] Found 1 error. Watching for file changes. -12:00:36 AM - Found 1 error. Watching for file changes. Program root 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"] 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 b87da9485dd..83c28e293c6 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 @@ -32,11 +32,11 @@ var z = 10; Output:: >> Screen clear -12:00:21 AM - Starting compilation in watch mode... +[12:00:21 AM] Starting compilation in watch mode... +[12:00:31 AM] Found 0 errors. Watching for file changes. -12:00:31 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/rootFolder/project/Scripts/Javascript.js","/a/rootFolder/project/Scripts/TypeScript.ts"] @@ -84,11 +84,11 @@ var zz30 = 100; Output:: >> Screen clear -12:00:34 AM - File change detected. Starting incremental compilation... +[12:00:34 AM] File change detected. Starting incremental compilation... +[12:00:41 AM] Found 0 errors. Watching for file changes. -12:00:41 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/rootFolder/project/Scripts/Javascript.js","/a/rootFolder/project/Scripts/TypeScript.ts"] diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/updates-errors-when-deep-import-file-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/updates-errors-when-deep-import-file-changes.js index 61216c3947d..d76c98d99bf 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/updates-errors-when-deep-import-file-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/updates-errors-when-deep-import-file-changes.js @@ -72,11 +72,11 @@ console.log(b.c.d); Output:: >> Screen clear -12:00:25 AM - Starting compilation in watch mode... +[12:00:25 AM] Starting compilation in watch mode... +[12:00:32 AM] Found 0 errors. Watching for file changes. -12:00:32 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] @@ -140,11 +140,11 @@ exports.C = C; Output:: >> Screen clear -12:00:36 AM - File change detected. Starting incremental compilation... +[12:00:36 AM] File change detected. Starting incremental compilation... +[12:00:43 AM] Found 0 errors. Watching for file changes. -12:00:43 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/updates-errors-when-deep-import-through-declaration-file-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/updates-errors-when-deep-import-through-declaration-file-changes.js index 92d068ab345..463c9de0544 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/updates-errors-when-deep-import-through-declaration-file-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/updates-errors-when-deep-import-through-declaration-file-changes.js @@ -45,11 +45,11 @@ console.log(b.c.d); Output:: >> Screen clear -12:00:25 AM - Starting compilation in watch mode... +[12:00:25 AM] Starting compilation in watch mode... +[12:00:28 AM] Found 0 errors. Watching for file changes. -12:00:28 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] @@ -101,11 +101,11 @@ export class C Output:: >> Screen clear -12:00:32 AM - File change detected. Starting incremental compilation... +[12:00:32 AM] File change detected. Starting incremental compilation... +[12:00:33 AM] Found 0 errors. Watching for file changes. -12:00:33 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.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 bfed5fa44dd..ab5afbce6a0 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 @@ -92,16 +92,29 @@ require("./d"); Output:: >> Screen clear -12:00:29 AM - Starting compilation in watch mode... +[12:00:29 AM] Starting compilation in watch mode... -c.ts(6,13): error TS2322: Type '{ x: number; y: number; }' is not assignable to type 'Coords'. +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'. - -d.ts(2,14): error TS2339: Property 'x' does not exist on type 'Coords'. - -12:00:40 AM - Found 2 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:00:40 AM] Found 2 errors. Watching for file changes. + 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"] @@ -165,16 +178,29 @@ export interface Coords { Output:: >> Screen clear -12:00:44 AM - File change detected. Starting incremental compilation... +[12:00: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'. +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'. - -d.ts(2,14): error TS2339: Property 'x' does not exist on type 'Coords'. - -12:00:51 AM - Found 2 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:00:51 AM] Found 2 errors. Watching for file changes. + 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"] diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/updates-errors-when-file-transitively-exported-file-changes/when-there-are-circular-import-and-exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/updates-errors-when-file-transitively-exported-file-changes/when-there-are-circular-import-and-exports.js index e2a184e07fc..fadfd97abb0 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/updates-errors-when-file-transitively-exported-file-changes/when-there-are-circular-import-and-exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/updates-errors-when-file-transitively-exported-file-changes/when-there-are-circular-import-and-exports.js @@ -154,11 +154,11 @@ exports.App = App; Output:: >> Screen clear -12:00:39 AM - Starting compilation in watch mode... +[12:00:39 AM] Starting compilation in watch mode... +[12:00:54 AM] Found 0 errors. Watching for file changes. -12:00:54 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/app.ts"] @@ -223,11 +223,11 @@ export interface ITest { Output:: >> Screen clear -12:00:58 AM - File change detected. Starting incremental compilation... +[12:00:58 AM] File change detected. Starting incremental compilation... +[12:01:05 AM] Found 0 errors. Watching for file changes. -12:01:05 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/app.ts"] diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/updates-errors-when-file-transitively-exported-file-changes/when-there-are-no-circular-import-and-exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/updates-errors-when-file-transitively-exported-file-changes/when-there-are-no-circular-import-and-exports.js index 11c313dbd48..79306254aa4 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/updates-errors-when-file-transitively-exported-file-changes/when-there-are-no-circular-import-and-exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/updates-errors-when-file-transitively-exported-file-changes/when-there-are-no-circular-import-and-exports.js @@ -136,11 +136,11 @@ exports.App = App; Output:: >> Screen clear -12:00:37 AM - Starting compilation in watch mode... +[12:00:37 AM] Starting compilation in watch mode... +[12:00:50 AM] Found 0 errors. Watching for file changes. -12:00:50 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/app.ts"] @@ -201,11 +201,11 @@ export interface ITest { Output:: >> Screen clear -12:00:54 AM - File change detected. Starting incremental compilation... +[12:00:54 AM] File change detected. Starting incremental compilation... +[12:01:01 AM] Found 0 errors. Watching for file changes. -12:01:01 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/app.ts"] diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError.js index 5e134d6c824..0717c92d888 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError.js @@ -35,13 +35,17 @@ declare const console: { log(msg: any): void; }; Output:: >> Screen clear -12:00:31 AM - Starting compilation in watch mode... +[12:00:31 AM] Starting compilation in watch mode... -src/main.ts(4,1): error TS1005: ',' expected. - +src/main.ts:4:1 - error TS1005: ',' expected. + +4 ; +  ~ + + +[12:00:32 AM] Found 1 error. Watching for file changes. -12:00:32 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"] @@ -110,11 +114,11 @@ console.log("hi"); Output:: >> Screen clear -12:00:36 AM - File change detected. Starting incremental compilation... +[12:00:36 AM] File change detected. Starting incremental compilation... +[12:00:53 AM] Found 0 errors. Watching for file changes. -12:00: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"] diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/updates-errors-when-deep-import-file-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/updates-errors-when-deep-import-file-changes.js index 6d941bfdb07..58a0005b307 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/updates-errors-when-deep-import-file-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/updates-errors-when-deep-import-file-changes.js @@ -89,11 +89,11 @@ export {}; Output:: >> Screen clear -12:00:25 AM - Starting compilation in watch mode... +[12:00:25 AM] Starting compilation in watch mode... +[12:00:38 AM] Found 0 errors. Watching for file changes. -12:00:38 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] @@ -164,11 +164,11 @@ export declare class C { Output:: >> Screen clear -12:00:42 AM - File change detected. Starting incremental compilation... +[12:00:42 AM] File change detected. Starting incremental compilation... +[12:00:55 AM] Found 0 errors. Watching for file changes. -12:00:55 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/updates-errors-when-deep-import-through-declaration-file-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/updates-errors-when-deep-import-through-declaration-file-changes.js index 4dc63d36598..5e8a348d783 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/updates-errors-when-deep-import-through-declaration-file-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/updates-errors-when-deep-import-through-declaration-file-changes.js @@ -49,11 +49,11 @@ export {}; Output:: >> Screen clear -12:00:25 AM - Starting compilation in watch mode... +[12:00:25 AM] Starting compilation in watch mode... +[12:00:30 AM] Found 0 errors. Watching for file changes. -12:00:30 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] @@ -105,11 +105,11 @@ export class C Output:: >> Screen clear -12:00:34 AM - File change detected. Starting incremental compilation... +[12:00:34 AM] File change detected. Starting incremental compilation... +[12:00:35 AM] Found 0 errors. Watching for file changes. -12:00:35 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.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 26eefc71c65..236386fd3c4 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 @@ -122,16 +122,29 @@ import "./d"; Output:: >> Screen clear -12:00:29 AM - Starting compilation in watch mode... +[12:00:29 AM] Starting compilation in watch mode... -c.ts(6,13): error TS2322: Type '{ x: number; y: number; }' is not assignable to type 'Coords'. +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'. - -d.ts(2,14): error TS2339: Property 'x' does not exist on type 'Coords'. - -12:00:50 AM - Found 2 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:00:50 AM] Found 2 errors. Watching for file changes. + 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"] @@ -207,16 +220,29 @@ export interface Coords { Output:: >> Screen clear -12:00:54 AM - File change detected. Starting incremental compilation... +[12:00:54 AM] File change detected. Starting incremental compilation... -c.ts(6,13): error TS2322: Type '{ x: number; y: number; }' is not assignable to type 'Coords'. +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'. - -d.ts(2,14): error TS2339: Property 'x' does not exist on type 'Coords'. - -12:01:07 AM - Found 2 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:01:07 AM] Found 2 errors. Watching for file changes. + 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"] diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/updates-errors-when-file-transitively-exported-file-changes/when-there-are-circular-import-and-exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/updates-errors-when-file-transitively-exported-file-changes/when-there-are-circular-import-and-exports.js index 2ac7c974958..346527fec47 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/updates-errors-when-file-transitively-exported-file-changes/when-there-are-circular-import-and-exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/updates-errors-when-file-transitively-exported-file-changes/when-there-are-circular-import-and-exports.js @@ -194,11 +194,11 @@ export declare class App { Output:: >> Screen clear -12:00:39 AM - Starting compilation in watch mode... +[12:00:39 AM] Starting compilation in watch mode... +[12:01:08 AM] Found 0 errors. Watching for file changes. -12:01:08 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/app.ts"] @@ -270,11 +270,11 @@ export interface ITest { Output:: >> Screen clear -12:01:12 AM - File change detected. Starting incremental compilation... +[12:01:12 AM] File change detected. Starting incremental compilation... +[12:01:25 AM] Found 0 errors. Watching for file changes. -12:01:25 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/app.ts"] diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/updates-errors-when-file-transitively-exported-file-changes/when-there-are-no-circular-import-and-exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/updates-errors-when-file-transitively-exported-file-changes/when-there-are-no-circular-import-and-exports.js index 83b2cac9b9b..7dd6c059a81 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/updates-errors-when-file-transitively-exported-file-changes/when-there-are-no-circular-import-and-exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/updates-errors-when-file-transitively-exported-file-changes/when-there-are-no-circular-import-and-exports.js @@ -167,11 +167,11 @@ export declare class App { Output:: >> Screen clear -12:00:37 AM - Starting compilation in watch mode... +[12:00:37 AM] Starting compilation in watch mode... +[12:01:02 AM] Found 0 errors. Watching for file changes. -12:01:02 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/app.ts"] @@ -239,11 +239,11 @@ export interface ITest { Output:: >> Screen clear -12:01:06 AM - File change detected. Starting incremental compilation... +[12:01:06 AM] File change detected. Starting incremental compilation... +[12:01:19 AM] Found 0 errors. Watching for file changes. -12:01:19 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/app.ts"] diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError.js index 89b280cad34..a6007d10b50 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError.js @@ -35,13 +35,17 @@ declare const console: { log(msg: any): void; }; Output:: >> Screen clear -12:00:31 AM - Starting compilation in watch mode... +[12:00:31 AM] Starting compilation in watch mode... -src/main.ts(4,1): error TS1005: ',' expected. - +src/main.ts:4:1 - error TS1005: ',' expected. + +4 ; +  ~ + + +[12:00:32 AM] Found 1 error. Watching for file changes. -12:00:32 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"] @@ -124,11 +128,11 @@ export {}; Output:: >> Screen clear -12:00:36 AM - File change detected. Starting incremental compilation... +[12:00:36 AM] File change detected. Starting incremental compilation... +[12:00:59 AM] Found 0 errors. Watching for file changes. -12:00:59 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"] diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/updates-errors-when-deep-import-file-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/updates-errors-when-deep-import-file-changes.js index 1d4fc2a9109..98bae9be0b2 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/updates-errors-when-deep-import-file-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/updates-errors-when-deep-import-file-changes.js @@ -72,11 +72,11 @@ console.log(b.c.d); Output:: >> Screen clear -12:00:25 AM - Starting compilation in watch mode... +[12:00:25 AM] Starting compilation in watch mode... +[12:00:32 AM] Found 0 errors. Watching for file changes. -12:00:32 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] @@ -140,13 +140,17 @@ exports.C = C; Output:: >> Screen clear -12:00:36 AM - File change detected. Starting incremental compilation... +[12:00:36 AM] File change detected. Starting incremental compilation... -a.ts(4,17): error TS2339: Property 'd' does not exist on type 'C'. - +a.ts:4:17 - error TS2339: Property 'd' does not exist on type 'C'. + +4 console.log(b.c.d); +   ~ + + +[12:00:43 AM] Found 1 error. Watching for file changes. -12:00:43 AM - Found 1 error. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/updates-errors-when-deep-import-through-declaration-file-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/updates-errors-when-deep-import-through-declaration-file-changes.js index c6331d80532..885f76b281a 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/updates-errors-when-deep-import-through-declaration-file-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/updates-errors-when-deep-import-through-declaration-file-changes.js @@ -45,11 +45,11 @@ console.log(b.c.d); Output:: >> Screen clear -12:00:25 AM - Starting compilation in watch mode... +[12:00:25 AM] Starting compilation in watch mode... +[12:00:28 AM] Found 0 errors. Watching for file changes. -12:00:28 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] @@ -101,13 +101,17 @@ export class C Output:: >> Screen clear -12:00:32 AM - File change detected. Starting incremental compilation... +[12:00:32 AM] File change detected. Starting incremental compilation... -a.ts(4,17): error TS2339: Property 'd' does not exist on type 'C'. - +a.ts:4:17 - error TS2339: Property 'd' does not exist on type 'C'. + +4 console.log(b.c.d); +   ~ + + +[12:00:33 AM] Found 1 error. Watching for file changes. -12:00:33 AM - Found 1 error. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] 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 b1887c55fe4..39be95277fe 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 @@ -92,16 +92,29 @@ require("./d"); Output:: >> Screen clear -12:00:29 AM - Starting compilation in watch mode... +[12:00:29 AM] Starting compilation in watch mode... -c.ts(6,13): error TS2322: Type '{ x: number; y: number; }' is not assignable to type 'Coords'. +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'. - -d.ts(2,14): error TS2339: Property 'x' does not exist on type 'Coords'. - -12:00:40 AM - Found 2 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:00:40 AM] Found 2 errors. Watching for file changes. + 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"] @@ -165,11 +178,11 @@ export interface Coords { Output:: >> Screen clear -12:00:44 AM - File change detected. Starting incremental compilation... +[12:00:44 AM] File change detected. Starting incremental compilation... +[12:00:51 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/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"] diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/updates-errors-when-file-transitively-exported-file-changes/when-there-are-circular-import-and-exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/updates-errors-when-file-transitively-exported-file-changes/when-there-are-circular-import-and-exports.js index 14cd0d8ca81..72f301a5f3d 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/updates-errors-when-file-transitively-exported-file-changes/when-there-are-circular-import-and-exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/updates-errors-when-file-transitively-exported-file-changes/when-there-are-circular-import-and-exports.js @@ -154,11 +154,11 @@ exports.App = App; Output:: >> Screen clear -12:00:39 AM - Starting compilation in watch mode... +[12:00:39 AM] Starting compilation in watch mode... +[12:00:54 AM] Found 0 errors. Watching for file changes. -12:00:54 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/app.ts"] @@ -223,14 +223,18 @@ export interface ITest { Output:: >> Screen clear -12:00:58 AM - File change detected. Starting incremental compilation... +[12:00:58 AM] File change detected. Starting incremental compilation... -lib2/data.ts(5,13): error TS2322: Type '{ title: string; }' is not assignable to type 'ITest'. +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:05 AM - Found 1 error. Watching for file changes. +5 title: "title" +   ~~~~~~~~~~~~~~ + + +[12:01:05 AM] Found 1 error. Watching for file changes. + Program root files: ["/user/username/projects/myproject/app.ts"] diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/updates-errors-when-file-transitively-exported-file-changes/when-there-are-no-circular-import-and-exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/updates-errors-when-file-transitively-exported-file-changes/when-there-are-no-circular-import-and-exports.js index ed2db74ab37..a1589a5c222 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/updates-errors-when-file-transitively-exported-file-changes/when-there-are-no-circular-import-and-exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/updates-errors-when-file-transitively-exported-file-changes/when-there-are-no-circular-import-and-exports.js @@ -136,11 +136,11 @@ exports.App = App; Output:: >> Screen clear -12:00:37 AM - Starting compilation in watch mode... +[12:00:37 AM] Starting compilation in watch mode... +[12:00:50 AM] Found 0 errors. Watching for file changes. -12:00:50 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/app.ts"] @@ -201,14 +201,18 @@ export interface ITest { Output:: >> Screen clear -12:00:54 AM - File change detected. Starting incremental compilation... +[12:00:54 AM] File change detected. Starting incremental compilation... -lib2/data.ts(5,13): error TS2322: Type '{ title: string; }' is not assignable to type 'ITest'. +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:01 AM - Found 1 error. Watching for file changes. +5 title: "title" +   ~~~~~~~~~~~~~~ + + +[12:01:01 AM] Found 1 error. Watching for file changes. + Program root files: ["/user/username/projects/myproject/app.ts"] diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/with-noEmitOnError.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/with-noEmitOnError.js index cca8aaccdbe..0324964d397 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/with-noEmitOnError.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/with-noEmitOnError.js @@ -41,13 +41,17 @@ declare const console: { log(msg: any): void; }; Output:: >> Screen clear -12:00:31 AM - Starting compilation in watch mode... +[12:00:31 AM] Starting compilation in watch mode... -src/main.ts(4,1): error TS1005: ',' expected. - +src/main.ts:4:1 - error TS1005: ',' expected. + +4 ; +  ~ + + +[12:00:32 AM] Found 1 error. Watching for file changes. -12:00:32 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"] @@ -116,11 +120,11 @@ console.log("hi"); Output:: >> Screen clear -12:00:36 AM - File change detected. Starting incremental compilation... +[12:00:36 AM] File change detected. Starting incremental compilation... +[12:00:53 AM] Found 0 errors. Watching for file changes. -12:00: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"] diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/updates-errors-when-deep-import-file-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/updates-errors-when-deep-import-file-changes.js index f0b2ef493db..753bb12c908 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/updates-errors-when-deep-import-file-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/updates-errors-when-deep-import-file-changes.js @@ -89,11 +89,11 @@ export {}; Output:: >> Screen clear -12:00:25 AM - Starting compilation in watch mode... +[12:00:25 AM] Starting compilation in watch mode... +[12:00:38 AM] Found 0 errors. Watching for file changes. -12:00:38 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] @@ -165,13 +165,17 @@ export declare class C { Output:: >> Screen clear -12:00:42 AM - File change detected. Starting incremental compilation... +[12:00:42 AM] File change detected. Starting incremental compilation... -a.ts(4,17): error TS2339: Property 'd' does not exist on type 'C'. - +a.ts:4:17 - error TS2339: Property 'd' does not exist on type 'C'. + +4 console.log(b.c.d); +   ~ + + +[12:00:58 AM] Found 1 error. Watching for file changes. -12:00:58 AM - Found 1 error. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/updates-errors-when-deep-import-through-declaration-file-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/updates-errors-when-deep-import-through-declaration-file-changes.js index 0641b783122..1aed7b22bc0 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/updates-errors-when-deep-import-through-declaration-file-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/updates-errors-when-deep-import-through-declaration-file-changes.js @@ -49,11 +49,11 @@ export {}; Output:: >> Screen clear -12:00:25 AM - Starting compilation in watch mode... +[12:00:25 AM] Starting compilation in watch mode... +[12:00:30 AM] Found 0 errors. Watching for file changes. -12:00:30 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] @@ -106,13 +106,17 @@ export class C Output:: >> Screen clear -12:00:34 AM - File change detected. Starting incremental compilation... +[12:00:34 AM] File change detected. Starting incremental compilation... -a.ts(4,17): error TS2339: Property 'd' does not exist on type 'C'. - +a.ts:4:17 - error TS2339: Property 'd' does not exist on type 'C'. + +4 console.log(b.c.d); +   ~ + + +[12:00:38 AM] Found 1 error. Watching for file changes. -12:00:38 AM - Found 1 error. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.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 fba906c35a3..3ab5d976547 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 @@ -122,16 +122,29 @@ import "./d"; Output:: >> Screen clear -12:00:29 AM - Starting compilation in watch mode... +[12:00:29 AM] Starting compilation in watch mode... -c.ts(6,13): error TS2322: Type '{ x: number; y: number; }' is not assignable to type 'Coords'. +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'. - -d.ts(2,14): error TS2339: Property 'x' does not exist on type 'Coords'. - -12:00:50 AM - Found 2 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:00:50 AM] Found 2 errors. Watching for file changes. + 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"] @@ -209,11 +222,11 @@ export interface Coords { Output:: >> Screen clear -12:00:54 AM - File change detected. Starting incremental compilation... +[12:00:54 AM] File change detected. Starting incremental compilation... +[12:01:13 AM] Found 0 errors. Watching for file changes. -12:01:13 AM - Found 0 errors. Watching for file changes. 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"] diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/updates-errors-when-file-transitively-exported-file-changes/when-there-are-circular-import-and-exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/updates-errors-when-file-transitively-exported-file-changes/when-there-are-circular-import-and-exports.js index 8505910366c..cf140e274bd 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/updates-errors-when-file-transitively-exported-file-changes/when-there-are-circular-import-and-exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/updates-errors-when-file-transitively-exported-file-changes/when-there-are-circular-import-and-exports.js @@ -194,11 +194,11 @@ export declare class App { Output:: >> Screen clear -12:00:39 AM - Starting compilation in watch mode... +[12:00:39 AM] Starting compilation in watch mode... +[12:01:08 AM] Found 0 errors. Watching for file changes. -12:01:08 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/app.ts"] @@ -275,14 +275,18 @@ export interface ITest { Output:: >> Screen clear -12:01:12 AM - File change detected. Starting incremental compilation... +[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'. +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:40 AM - Found 1 error. Watching for file changes. +5 title: "title" +   ~~~~~~~~~~~~~~ + + +[12:01:40 AM] Found 1 error. Watching for file changes. + Program root files: ["/user/username/projects/myproject/app.ts"] diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/updates-errors-when-file-transitively-exported-file-changes/when-there-are-no-circular-import-and-exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/updates-errors-when-file-transitively-exported-file-changes/when-there-are-no-circular-import-and-exports.js index fa5999edd2e..ca03eceed66 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/updates-errors-when-file-transitively-exported-file-changes/when-there-are-no-circular-import-and-exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/updates-errors-when-file-transitively-exported-file-changes/when-there-are-no-circular-import-and-exports.js @@ -167,11 +167,11 @@ export declare class App { Output:: >> Screen clear -12:00:37 AM - Starting compilation in watch mode... +[12:00:37 AM] Starting compilation in watch mode... +[12:01:02 AM] Found 0 errors. Watching for file changes. -12:01:02 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/app.ts"] @@ -243,14 +243,18 @@ export interface ITest { Output:: >> Screen clear -12:01:06 AM - File change detected. Starting incremental compilation... +[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'. +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:31 AM - Found 1 error. Watching for file changes. +5 title: "title" +   ~~~~~~~~~~~~~~ + + +[12:01:31 AM] Found 1 error. Watching for file changes. + Program root files: ["/user/username/projects/myproject/app.ts"] diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/with-noEmitOnError.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/with-noEmitOnError.js index 5280905f111..751fde30b42 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/with-noEmitOnError.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/with-noEmitOnError.js @@ -35,13 +35,17 @@ declare const console: { log(msg: any): void; }; Output:: >> Screen clear -12:00:31 AM - Starting compilation in watch mode... +[12:00:31 AM] Starting compilation in watch mode... -src/main.ts(4,1): error TS1005: ',' expected. - +src/main.ts:4:1 - error TS1005: ',' expected. + +4 ; +  ~ + + +[12:00:32 AM] Found 1 error. Watching for file changes. -12:00:32 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"] @@ -124,11 +128,11 @@ export {}; Output:: >> Screen clear -12:00:36 AM - File change detected. Starting incremental compilation... +[12:00:36 AM] File change detected. Starting incremental compilation... +[12:00:59 AM] Found 0 errors. Watching for file changes. -12:00:59 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"] diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/updates-errors-when-deep-import-file-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/updates-errors-when-deep-import-file-changes.js index 0bb48a145ba..9befd300cb5 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/updates-errors-when-deep-import-file-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/updates-errors-when-deep-import-file-changes.js @@ -72,11 +72,11 @@ console.log(b.c.d); Output:: >> Screen clear -12:00:25 AM - Starting compilation in watch mode... +[12:00:25 AM] Starting compilation in watch mode... +[12:00:32 AM] Found 0 errors. Watching for file changes. -12:00:32 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] @@ -139,13 +139,17 @@ exports.C = C; Output:: >> Screen clear -12:00:36 AM - File change detected. Starting incremental compilation... +[12:00:36 AM] File change detected. Starting incremental compilation... -a.ts(4,17): error TS2339: Property 'd' does not exist on type 'C'. - +a.ts:4:17 - error TS2339: Property 'd' does not exist on type 'C'. + +4 console.log(b.c.d); +   ~ + + +[12:00:40 AM] Found 1 error. Watching for file changes. -12:00:40 AM - Found 1 error. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/updates-errors-when-deep-import-through-declaration-file-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/updates-errors-when-deep-import-through-declaration-file-changes.js index b9d1e0f737c..d2a6bdb3d17 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/updates-errors-when-deep-import-through-declaration-file-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/updates-errors-when-deep-import-through-declaration-file-changes.js @@ -45,11 +45,11 @@ console.log(b.c.d); Output:: >> Screen clear -12:00:25 AM - Starting compilation in watch mode... +[12:00:25 AM] Starting compilation in watch mode... +[12:00:28 AM] Found 0 errors. Watching for file changes. -12:00:28 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] @@ -101,13 +101,17 @@ export class C Output:: >> Screen clear -12:00:32 AM - File change detected. Starting incremental compilation... +[12:00:32 AM] File change detected. Starting incremental compilation... -a.ts(4,17): error TS2339: Property 'd' does not exist on type 'C'. - +a.ts:4:17 - error TS2339: Property 'd' does not exist on type 'C'. + +4 console.log(b.c.d); +   ~ + + +[12:00:33 AM] Found 1 error. Watching for file changes. -12:00:33 AM - Found 1 error. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.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 0b722e6b73f..16443b207d4 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 @@ -92,16 +92,29 @@ require("./d"); Output:: >> Screen clear -12:00:29 AM - Starting compilation in watch mode... +[12:00:29 AM] Starting compilation in watch mode... -c.ts(6,13): error TS2322: Type '{ x: number; y: number; }' is not assignable to type 'Coords'. +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'. - -d.ts(2,14): error TS2339: Property 'x' does not exist on type 'Coords'. - -12:00:40 AM - Found 2 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:00:40 AM] Found 2 errors. Watching for file changes. + 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"] @@ -164,11 +177,11 @@ export interface Coords { Output:: >> Screen clear -12:00:44 AM - File change detected. Starting incremental compilation... +[12:00:44 AM] File change detected. Starting incremental compilation... +[12:00:48 AM] Found 0 errors. Watching for file changes. -12:00:48 AM - Found 0 errors. Watching for file changes. 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"] diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/updates-errors-when-file-transitively-exported-file-changes/when-there-are-circular-import-and-exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/updates-errors-when-file-transitively-exported-file-changes/when-there-are-circular-import-and-exports.js index beb7405e58b..9e71a6c06f6 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/updates-errors-when-file-transitively-exported-file-changes/when-there-are-circular-import-and-exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/updates-errors-when-file-transitively-exported-file-changes/when-there-are-circular-import-and-exports.js @@ -154,11 +154,11 @@ exports.App = App; Output:: >> Screen clear -12:00:39 AM - Starting compilation in watch mode... +[12:00:39 AM] Starting compilation in watch mode... +[12:00:54 AM] Found 0 errors. Watching for file changes. -12:00:54 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/app.ts"] @@ -222,14 +222,18 @@ export interface ITest { Output:: >> Screen clear -12:00:58 AM - File change detected. Starting incremental compilation... +[12:00:58 AM] File change detected. Starting incremental compilation... -lib2/data.ts(5,13): error TS2322: Type '{ title: string; }' is not assignable to type 'ITest'. +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:02 AM - Found 1 error. Watching for file changes. +5 title: "title" +   ~~~~~~~~~~~~~~ + + +[12:01:02 AM] Found 1 error. Watching for file changes. + Program root files: ["/user/username/projects/myproject/app.ts"] diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/updates-errors-when-file-transitively-exported-file-changes/when-there-are-no-circular-import-and-exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/updates-errors-when-file-transitively-exported-file-changes/when-there-are-no-circular-import-and-exports.js index 325af2c57e2..bc2e63d3f60 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/updates-errors-when-file-transitively-exported-file-changes/when-there-are-no-circular-import-and-exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/updates-errors-when-file-transitively-exported-file-changes/when-there-are-no-circular-import-and-exports.js @@ -136,11 +136,11 @@ exports.App = App; Output:: >> Screen clear -12:00:37 AM - Starting compilation in watch mode... +[12:00:37 AM] Starting compilation in watch mode... +[12:00:50 AM] Found 0 errors. Watching for file changes. -12:00:50 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/app.ts"] @@ -200,14 +200,18 @@ export interface ITest { Output:: >> Screen clear -12:00:54 AM - File change detected. Starting incremental compilation... +[12:00:54 AM] File change detected. Starting incremental compilation... -lib2/data.ts(5,13): error TS2322: Type '{ title: string; }' is not assignable to type 'ITest'. +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:00:58 AM - Found 1 error. Watching for file changes. +5 title: "title" +   ~~~~~~~~~~~~~~ + + +[12:00:58 AM] Found 1 error. Watching for file changes. + Program root files: ["/user/username/projects/myproject/app.ts"] diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/with-noEmitOnError.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/with-noEmitOnError.js index 82e1fd63fd3..07b9c804246 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/with-noEmitOnError.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/with-noEmitOnError.js @@ -35,13 +35,17 @@ declare const console: { log(msg: any): void; }; Output:: >> Screen clear -12:00:31 AM - Starting compilation in watch mode... +[12:00:31 AM] Starting compilation in watch mode... -src/main.ts(4,1): error TS1005: ',' expected. - +src/main.ts:4:1 - error TS1005: ',' expected. + +4 ; +  ~ + + +[12:00:32 AM] Found 1 error. Watching for file changes. -12:00:32 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"] @@ -110,11 +114,11 @@ console.log("hi"); Output:: >> Screen clear -12:00:36 AM - File change detected. Starting incremental compilation... +[12:00:36 AM] File change detected. Starting incremental compilation... +[12:00:53 AM] Found 0 errors. Watching for file changes. -12:00: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"] diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/updates-errors-when-deep-import-file-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/updates-errors-when-deep-import-file-changes.js index f6a9958b8b1..246ed8ea686 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/updates-errors-when-deep-import-file-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/updates-errors-when-deep-import-file-changes.js @@ -89,11 +89,11 @@ export {}; Output:: >> Screen clear -12:00:25 AM - Starting compilation in watch mode... +[12:00:25 AM] Starting compilation in watch mode... +[12:00:38 AM] Found 0 errors. Watching for file changes. -12:00:38 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] @@ -164,13 +164,17 @@ export declare class C { Output:: >> Screen clear -12:00:42 AM - File change detected. Starting incremental compilation... +[12:00:42 AM] File change detected. Starting incremental compilation... -a.ts(4,17): error TS2339: Property 'd' does not exist on type 'C'. - +a.ts:4:17 - error TS2339: Property 'd' does not exist on type 'C'. + +4 console.log(b.c.d); +   ~ + + +[12:00:55 AM] Found 1 error. Watching for file changes. -12:00:55 AM - Found 1 error. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/updates-errors-when-deep-import-through-declaration-file-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/updates-errors-when-deep-import-through-declaration-file-changes.js index 4c77bc671e7..d3d3612e586 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/updates-errors-when-deep-import-through-declaration-file-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/updates-errors-when-deep-import-through-declaration-file-changes.js @@ -49,11 +49,11 @@ export {}; Output:: >> Screen clear -12:00:25 AM - Starting compilation in watch mode... +[12:00:25 AM] Starting compilation in watch mode... +[12:00:30 AM] Found 0 errors. Watching for file changes. -12:00:30 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] @@ -106,13 +106,17 @@ export class C Output:: >> Screen clear -12:00:34 AM - File change detected. Starting incremental compilation... +[12:00:34 AM] File change detected. Starting incremental compilation... -a.ts(4,17): error TS2339: Property 'd' does not exist on type 'C'. - +a.ts:4:17 - error TS2339: Property 'd' does not exist on type 'C'. + +4 console.log(b.c.d); +   ~ + + +[12:00:38 AM] Found 1 error. Watching for file changes. -12:00:38 AM - Found 1 error. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.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 c5bd7d39af2..a34115616e1 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 @@ -122,16 +122,29 @@ import "./d"; Output:: >> Screen clear -12:00:29 AM - Starting compilation in watch mode... +[12:00:29 AM] Starting compilation in watch mode... -c.ts(6,13): error TS2322: Type '{ x: number; y: number; }' is not assignable to type 'Coords'. +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'. - -d.ts(2,14): error TS2339: Property 'x' does not exist on type 'Coords'. - -12:00:50 AM - Found 2 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:00:50 AM] Found 2 errors. Watching for file changes. + 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"] @@ -208,11 +221,11 @@ export interface Coords { Output:: >> Screen clear -12:00:54 AM - File change detected. Starting incremental compilation... +[12:00:54 AM] File change detected. Starting incremental compilation... +[12:01:10 AM] Found 0 errors. Watching for file changes. -12:01:10 AM - Found 0 errors. Watching for file changes. 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"] diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/updates-errors-when-file-transitively-exported-file-changes/when-there-are-circular-import-and-exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/updates-errors-when-file-transitively-exported-file-changes/when-there-are-circular-import-and-exports.js index e19f048e7db..b1df9816444 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/updates-errors-when-file-transitively-exported-file-changes/when-there-are-circular-import-and-exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/updates-errors-when-file-transitively-exported-file-changes/when-there-are-circular-import-and-exports.js @@ -194,11 +194,11 @@ export declare class App { Output:: >> Screen clear -12:00:39 AM - Starting compilation in watch mode... +[12:00:39 AM] Starting compilation in watch mode... +[12:01:08 AM] Found 0 errors. Watching for file changes. -12:01:08 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/app.ts"] @@ -274,14 +274,18 @@ export interface ITest { Output:: >> Screen clear -12:01:12 AM - File change detected. Starting incremental compilation... +[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'. +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:37 AM - Found 1 error. Watching for file changes. +5 title: "title" +   ~~~~~~~~~~~~~~ + + +[12:01:37 AM] Found 1 error. Watching for file changes. + Program root files: ["/user/username/projects/myproject/app.ts"] diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/updates-errors-when-file-transitively-exported-file-changes/when-there-are-no-circular-import-and-exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/updates-errors-when-file-transitively-exported-file-changes/when-there-are-no-circular-import-and-exports.js index 235b2e618d8..5b4e307af7a 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/updates-errors-when-file-transitively-exported-file-changes/when-there-are-no-circular-import-and-exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/updates-errors-when-file-transitively-exported-file-changes/when-there-are-no-circular-import-and-exports.js @@ -167,11 +167,11 @@ export declare class App { Output:: >> Screen clear -12:00:37 AM - Starting compilation in watch mode... +[12:00:37 AM] Starting compilation in watch mode... +[12:01:02 AM] Found 0 errors. Watching for file changes. -12:01:02 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/app.ts"] @@ -242,14 +242,18 @@ export interface ITest { Output:: >> Screen clear -12:01:06 AM - File change detected. Starting incremental compilation... +[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'. +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:28 AM - Found 1 error. Watching for file changes. +5 title: "title" +   ~~~~~~~~~~~~~~ + + +[12:01:28 AM] Found 1 error. Watching for file changes. + Program root files: ["/user/username/projects/myproject/app.ts"] diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/with-noEmitOnError.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/with-noEmitOnError.js index eeb5ac1a1f6..26262f95276 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/with-noEmitOnError.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/with-noEmitOnError.js @@ -35,13 +35,17 @@ declare const console: { log(msg: any): void; }; Output:: >> Screen clear -12:00:31 AM - Starting compilation in watch mode... +[12:00:31 AM] Starting compilation in watch mode... -src/main.ts(4,1): error TS1005: ',' expected. - +src/main.ts:4:1 - error TS1005: ',' expected. + +4 ; +  ~ + + +[12:00:32 AM] Found 1 error. Watching for file changes. -12:00:32 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"] @@ -124,11 +128,11 @@ export {}; Output:: >> Screen clear -12:00:36 AM - File change detected. Starting incremental compilation... +[12:00:36 AM] File change detected. Starting incremental compilation... +[12:00:59 AM] Found 0 errors. Watching for file changes. -12:00:59 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"] 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 2bd42507e0a..a3b100ebb2f 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 @@ -43,11 +43,11 @@ new logger_1.logger(); Output:: >> Screen clear -12:00:23 AM - Starting compilation in watch mode... +[12:00:23 AM] Starting compilation in watch mode... +[12:00:28 AM] Found 0 errors. Watching for file changes. -12:00:28 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/another.ts","/user/username/projects/myproject/logger.ts"] @@ -97,13 +97,17 @@ new Logger_1.logger(); Output:: >> Screen clear -12:00:32 AM - File change detected. Starting incremental compilation... +[12:00:32 AM] File change detected. Starting incremental compilation... -user/username/projects/myproject/another.ts(1,24): error TS1261: Already included file name '/user/username/projects/myproject/Logger.ts' differs from file name '/user/username/projects/myproject/logger.ts' only in casing. - +user/username/projects/myproject/another.ts:1:24 - error TS1261: Already included file name '/user/username/projects/myproject/Logger.ts' differs from file name '/user/username/projects/myproject/logger.ts' only in casing. + +1 import { logger } from "./Logger"; new logger(); +   ~~~~~~~~~~ + + +[12:00:36 AM] Found 1 error. Watching for file changes. -12:00:36 AM - Found 1 error. Watching for file changes. Program root files: ["/user/username/projects/myproject/another.ts","/user/username/projects/myproject/logger.ts"] 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 01281732316..2eb2a2a367c 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 @@ -43,11 +43,11 @@ new logger_1.logger(); Output:: >> Screen clear -12:00:23 AM - Starting compilation in watch mode... +[12:00:23 AM] Starting compilation in watch mode... +[12:00:28 AM] Found 0 errors. Watching for file changes. -12:00:28 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/another.ts","/user/username/projects/myproject/logger.ts"] @@ -88,13 +88,17 @@ Change:: Change name of file from logger to Logger Output:: >> Screen clear -12:00:32 AM - File change detected. Starting incremental compilation... +[12:00:32 AM] File change detected. Starting incremental compilation... -user/username/projects/myproject/another.ts(1,24): error TS1149: File name '/user/username/projects/myproject/logger.ts' differs from already included file name '/user/username/projects/myproject/Logger.ts' only in casing. - +user/username/projects/myproject/another.ts:1:24 - error TS1149: File name '/user/username/projects/myproject/logger.ts' differs from already included file name '/user/username/projects/myproject/Logger.ts' only in casing. + +1 import { logger } from "./logger"; new logger(); +   ~~~~~~~~~~ + + +[12:00:33 AM] Found 1 error. Watching for file changes. -12:00:33 AM - Found 1 error. Watching for file changes. Program root files: ["/user/username/projects/myproject/Logger.ts","/user/username/projects/myproject/another.ts"] 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 8e627672dfc..daca9bc51a9 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 @@ -148,6 +148,7 @@ export { C } from "./c"; Output:: + Program root files: ["/users/username/projects/project/a.ts","/users/username/projects/project/b.ts","/users/username/projects/project/c.ts","/users/username/projects/project/index.ts"] Program options: {"incremental":true,"target":1,"module":1,"declaration":true,"emitDeclarationOnly":true,"configFilePath":"/users/username/projects/project/tsconfig.json"} Program files:: @@ -272,6 +273,7 @@ export interface A { Output:: + Program root files: ["/users/username/projects/project/a.ts","/users/username/projects/project/b.ts","/users/username/projects/project/c.ts","/users/username/projects/project/index.ts"] Program options: {"incremental":true,"target":1,"module":1,"declaration":true,"emitDeclarationOnly":true,"configFilePath":"/users/username/projects/project/tsconfig.json"} Program files:: 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 85048aa03f7..715cd528010 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 @@ -149,11 +149,11 @@ export { C } from "./c"; Output:: >> Screen clear -12:00:27 AM - Starting compilation in watch mode... +[12:00:27 AM] Starting compilation in watch mode... +[12:00:38 AM] Found 0 errors. Watching for file changes. -12:00:38 AM - Found 0 errors. Watching for file changes. Program root files: ["/users/username/projects/project/a.ts","/users/username/projects/project/b.ts","/users/username/projects/project/c.ts","/users/username/projects/project/index.ts"] @@ -297,11 +297,11 @@ export interface A { Output:: >> Screen clear -12:00:42 AM - Starting compilation in watch mode... +[12:00:42 AM] Starting compilation in watch mode... +[12:00:58 AM] Found 0 errors. Watching for file changes. -12:00:58 AM - Found 0 errors. Watching for file changes. Program root files: ["/users/username/projects/project/a.ts","/users/username/projects/project/b.ts","/users/username/projects/project/c.ts","/users/username/projects/project/index.ts"] 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 6998e9c8388..e718c4e510f 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 @@ -86,7 +86,15 @@ define(["require", "exports"], function (require, exports) { Output:: -file2.ts(1,14): error TS2322: Type '20' is not assignable to type 'string'. +file2.ts:1:14 - error TS2322: Type '20' is not assignable to type 'string'. + +1 export const y: string = 20; +   ~ + + + +Found 1 error. + Program root files: ["/users/username/projects/project/file1.ts","/users/username/projects/project/file2.ts"] @@ -170,7 +178,15 @@ define(["require", "exports"], function (require, exports) { Output:: -file2.ts(1,14): error TS2322: Type '20' is not assignable to type 'string'. +file2.ts:1:14 - error TS2322: Type '20' is not assignable to type 'string'. + +1 export const y: string = 20; +   ~ + + + +Found 1 error. + Program root files: ["/users/username/projects/project/file1.ts","/users/username/projects/project/file2.ts"] 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 72c3f81fe7b..1d628a3154e 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 @@ -88,13 +88,17 @@ define(["require", "exports"], function (require, exports) { Output:: >> Screen clear -12:00:23 AM - Starting compilation in watch mode... +[12:00:23 AM] Starting compilation in watch mode... -file2.ts(1,14): error TS2322: Type '20' is not assignable to type 'string'. - +file2.ts:1:14 - error TS2322: Type '20' is not assignable to type 'string'. + +1 export const y: string = 20; +   ~ + + +[12:00:30 AM] Found 1 error. Watching for file changes. -12:00:30 AM - Found 1 error. Watching for file changes. Program root files: ["/users/username/projects/project/file1.ts","/users/username/projects/project/file2.ts"] @@ -192,13 +196,17 @@ define(["require", "exports"], function (require, exports) { Output:: >> Screen clear -12:00:34 AM - Starting compilation in watch mode... +[12:00:34 AM] Starting compilation in watch mode... -file2.ts(1,14): error TS2322: Type '20' is not assignable to type 'string'. - +file2.ts:1:14 - error TS2322: Type '20' is not assignable to type 'string'. + +1 export const y: string = 20; +   ~ + + +[12:00:41 AM] Found 1 error. Watching for file changes. -12:00:41 AM - Found 1 error. Watching for file changes. Program root files: ["/users/username/projects/project/file1.ts","/users/username/projects/project/file2.ts"] 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 0c0caa279a4..49b39fd4da8 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 @@ -75,6 +75,7 @@ define(["require", "exports"], function (require, exports) { Output:: + Program root files: ["/users/username/projects/project/file1.ts","/users/username/projects/project/file2.ts"] Program options: {"incremental":true,"module":2,"configFilePath":"/users/username/projects/project/tsconfig.json"} Program files:: @@ -145,6 +146,7 @@ define(["require", "exports"], function (require, exports) { Output:: + Program root files: ["/users/username/projects/project/file1.ts","/users/username/projects/project/file2.ts"] Program options: {"incremental":true,"module":2,"configFilePath":"/users/username/projects/project/tsconfig.json"} Program files:: 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 29235631123..c2baff80ea8 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 @@ -76,11 +76,11 @@ define(["require", "exports"], function (require, exports) { Output:: >> Screen clear -12:00:23 AM - Starting compilation in watch mode... +[12:00:23 AM] Starting compilation in watch mode... +[12:00:30 AM] Found 0 errors. Watching for file changes. -12:00:30 AM - Found 0 errors. Watching for file changes. Program root files: ["/users/username/projects/project/file1.ts","/users/username/projects/project/file2.ts"] @@ -166,11 +166,11 @@ define(["require", "exports"], function (require, exports) { Output:: >> Screen clear -12:00:34 AM - Starting compilation in watch mode... +[12:00:34 AM] Starting compilation in watch mode... +[12:00:41 AM] Found 0 errors. Watching for file changes. -12:00:41 AM - Found 0 errors. Watching for file changes. Program root files: ["/users/username/projects/project/file1.ts","/users/username/projects/project/file2.ts"] 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 0dff433ed1a..45a1509e76e 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 @@ -80,6 +80,7 @@ define("file2", ["require", "exports"], function (require, exports) { Output:: + Program root files: ["/users/username/projects/project/file1.ts","/users/username/projects/project/file2.ts"] Program options: {"incremental":true,"module":2,"outFile":"/users/username/projects/project/out.js","configFilePath":"/users/username/projects/project/tsconfig.json"} Program files:: 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 4ab69d3456b..35d0ead9ec1 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 @@ -80,11 +80,11 @@ define("file2", ["require", "exports"], function (require, exports) { Output:: >> Screen clear -12:00:23 AM - Starting compilation in watch mode... +[12:00:23 AM] Starting compilation in watch mode... +[12:00:28 AM] Found 0 errors. Watching for file changes. -12:00:28 AM - Found 0 errors. Watching for file changes. Program root files: ["/users/username/projects/project/file1.ts","/users/username/projects/project/file2.ts"] 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 bb050fddb76..93286dba3a2 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 @@ -75,7 +75,15 @@ var y = 20; Output:: -file2.ts(1,7): error TS2322: Type '20' is not assignable to type 'string'. +file2.ts:1:7 - error TS2322: Type '20' is not assignable to type 'string'. + +1 const y: string = 20; +   ~ + + + +Found 1 error. + Program root files: ["/users/username/projects/project/file1.ts","/users/username/projects/project/file2.ts"] @@ -154,7 +162,15 @@ var z = 10; Output:: -file2.ts(1,7): error TS2322: Type '20' is not assignable to type 'string'. +file2.ts:1:7 - error TS2322: Type '20' is not assignable to type 'string'. + +1 const y: string = 20; +   ~ + + + +Found 1 error. + Program root files: ["/users/username/projects/project/file1.ts","/users/username/projects/project/file2.ts"] 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 6ca8381958f..5a6ea3a205f 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 @@ -77,13 +77,17 @@ var y = 20; Output:: >> Screen clear -12:00:23 AM - Starting compilation in watch mode... +[12:00:23 AM] Starting compilation in watch mode... -file2.ts(1,7): error TS2322: Type '20' is not assignable to type 'string'. - +file2.ts:1:7 - error TS2322: Type '20' is not assignable to type 'string'. + +1 const y: string = 20; +   ~ + + +[12:00:30 AM] Found 1 error. Watching for file changes. -12:00:30 AM - Found 1 error. Watching for file changes. Program root files: ["/users/username/projects/project/file1.ts","/users/username/projects/project/file2.ts"] @@ -176,13 +180,17 @@ var z = 10; Output:: >> Screen clear -12:00:34 AM - Starting compilation in watch mode... +[12:00:34 AM] Starting compilation in watch mode... -file2.ts(1,7): error TS2322: Type '20' is not assignable to type 'string'. - +file2.ts:1:7 - error TS2322: Type '20' is not assignable to type 'string'. + +1 const y: string = 20; +   ~ + + +[12:00:44 AM] Found 1 error. Watching for file changes. -12:00:44 AM - Found 1 error. Watching for file changes. Program root files: ["/users/username/projects/project/file1.ts","/users/username/projects/project/file2.ts"] 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 8c1154bcf58..3235db7b279 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 @@ -65,6 +65,7 @@ var y = 20; Output:: + Program root files: ["/users/username/projects/project/file1.ts","/users/username/projects/project/file2.ts"] Program options: {"incremental":true,"project":"/users/username/projects/project/tsconfig.json","configFilePath":"/users/username/projects/project/tsconfig.json"} Program files:: @@ -131,6 +132,7 @@ var z = 10; Output:: + Program root files: ["/users/username/projects/project/file1.ts","/users/username/projects/project/file2.ts"] Program options: {"incremental":true,"project":"/users/username/projects/project/tsconfig.json","configFilePath":"/users/username/projects/project/tsconfig.json"} Program files:: 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 2aa001e3489..23046b92b2d 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 @@ -66,11 +66,11 @@ var y = 20; Output:: >> Screen clear -12:00:23 AM - Starting compilation in watch mode... +[12:00:23 AM] Starting compilation in watch mode... +[12:00:30 AM] Found 0 errors. Watching for file changes. -12:00:30 AM - Found 0 errors. Watching for file changes. Program root files: ["/users/username/projects/project/file1.ts","/users/username/projects/project/file2.ts"] @@ -152,11 +152,11 @@ var z = 10; Output:: >> Screen clear -12:00:34 AM - Starting compilation in watch mode... +[12:00:34 AM] Starting compilation in watch mode... +[12:00:44 AM] Found 0 errors. Watching for file changes. -12:00:44 AM - Found 0 errors. Watching for file changes. Program root files: ["/users/username/projects/project/file1.ts","/users/username/projects/project/file2.ts"] 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 2c5f7f2862c..bff1dc8bcd2 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 @@ -64,6 +64,7 @@ var y = 20; Output:: + Program root files: ["/users/username/projects/project/file1.ts","/users/username/projects/project/file2.ts"] Program options: {"incremental":true,"configFilePath":"/users/username/projects/project/tsconfig.json"} Program files:: @@ -129,6 +130,7 @@ var z = 10; Output:: + Program root files: ["/users/username/projects/project/file1.ts","/users/username/projects/project/file2.ts"] Program options: {"incremental":true,"configFilePath":"/users/username/projects/project/tsconfig.json"} Program files:: 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 8ab92c6cf7c..cb9f0530670 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 @@ -65,11 +65,11 @@ var y = 20; Output:: >> Screen clear -12:00:23 AM - Starting compilation in watch mode... +[12:00:23 AM] Starting compilation in watch mode... +[12:00:30 AM] Found 0 errors. Watching for file changes. -12:00:30 AM - Found 0 errors. Watching for file changes. Program root files: ["/users/username/projects/project/file1.ts","/users/username/projects/project/file2.ts"] @@ -150,11 +150,11 @@ var z = 10; Output:: >> Screen clear -12:00:34 AM - Starting compilation in watch mode... +[12:00:34 AM] Starting compilation in watch mode... +[12:00:44 AM] Found 0 errors. Watching for file changes. -12:00:44 AM - Found 0 errors. Watching for file changes. Program root files: ["/users/username/projects/project/file1.ts","/users/username/projects/project/file2.ts"] diff --git a/tests/baselines/reference/tscWatch/incremental/with---out-incremental.js b/tests/baselines/reference/tscWatch/incremental/with---out-incremental.js index cf9992f122e..755aae38414 100644 --- a/tests/baselines/reference/tscWatch/incremental/with---out-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/with---out-incremental.js @@ -60,6 +60,7 @@ var y = 20; Output:: + Program root files: ["/users/username/projects/project/file1.ts","/users/username/projects/project/file2.ts"] Program options: {"incremental":true,"outFile":"/users/username/projects/project/out.js","configFilePath":"/users/username/projects/project/tsconfig.json"} Program files:: diff --git a/tests/baselines/reference/tscWatch/incremental/with---out-watch.js b/tests/baselines/reference/tscWatch/incremental/with---out-watch.js index 2ff28e31c74..48f323ca949 100644 --- a/tests/baselines/reference/tscWatch/incremental/with---out-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/with---out-watch.js @@ -60,11 +60,11 @@ var y = 20; Output:: >> Screen clear -12:00:23 AM - Starting compilation in watch mode... +[12:00:23 AM] Starting compilation in watch mode... +[12:00:28 AM] Found 0 errors. Watching for file changes. -12:00:28 AM - Found 0 errors. Watching for file changes. Program root files: ["/users/username/projects/project/file1.ts","/users/username/projects/project/file2.ts"] 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 894bcbc8ae4..383145eb54d 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 @@ -30,15 +30,23 @@ var x = 10; Output:: >> Screen clear -12:00:15 AM - Starting compilation in watch mode... +[12:00:15 AM] Starting compilation in watch mode... -a/b/tsconfig.json(3,29): error TS5023: Unknown compiler option 'foo'. - -a/b/tsconfig.json(4,29): error TS5025: Unknown compiler option 'allowJS'. Did you mean 'allowJs'? - +a/b/tsconfig.json:3:29 - error TS5023: Unknown compiler option 'foo'. + +3 "foo": "bar", +   ~~~~~ + + +a/b/tsconfig.json:4:29 - error TS5025: Unknown compiler option 'allowJS'. Did you mean 'allowJs'? + +4 "allowJS": true +   ~~~~~~~~~ + + +[12:00:18 AM] Found 2 errors. Watching for file changes. -12:00:18 AM - Found 2 errors. Watching for file changes. Program root files: ["/a/b/app.ts"] 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 8d6be9a2204..a1ba8d3cd22 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 @@ -33,17 +33,29 @@ var x = 10; Output:: >> Screen clear -12:00:15 AM - Starting compilation in watch mode... +[12:00:15 AM] Starting compilation in watch mode... -a/b/tsconfig.json(6,9): error TS5053: Option 'mapRoot' cannot be specified with option 'inlineSourceMap'. - -a/b/tsconfig.json(7,9): error TS5053: Option 'mapRoot' cannot be specified with option 'inlineSourceMap'. - -a/b/tsconfig.json(7,9): error TS5069: Option 'mapRoot' cannot be specified without specifying option 'sourceMap' or option 'declarationMap'. - +a/b/tsconfig.json:6:9 - error TS5053: Option 'mapRoot' cannot be specified with option 'inlineSourceMap'. + +6 "inlineSourceMap": true, +   ~~~~~~~~~~~~~~~~~ + + +a/b/tsconfig.json:7:9 - error TS5053: Option 'mapRoot' cannot be specified with option 'inlineSourceMap'. + +7 "mapRoot": "./" +   ~~~~~~~~~ + + +a/b/tsconfig.json:7:9 - error TS5069: Option 'mapRoot' cannot be specified without specifying option 'sourceMap' or option 'declarationMap'. + +7 "mapRoot": "./" +   ~~~~~~~~~ + + +[12:00:18 AM] Found 3 errors. Watching for file changes. -12:00:18 AM - Found 3 errors. Watching for file changes. Program root files: ["/a/b/app.ts"] @@ -86,17 +98,29 @@ Change:: Remove the comment from config file Output:: >> Screen clear -12:00:22 AM - File change detected. Starting incremental compilation... +[12:00:22 AM] File change detected. Starting incremental compilation... -a/b/tsconfig.json(4,9): error TS5053: Option 'mapRoot' cannot be specified with option 'inlineSourceMap'. - -a/b/tsconfig.json(5,9): error TS5053: Option 'mapRoot' cannot be specified with option 'inlineSourceMap'. - -a/b/tsconfig.json(5,9): error TS5069: Option 'mapRoot' cannot be specified without specifying option 'sourceMap' or option 'declarationMap'. - +a/b/tsconfig.json:4:9 - error TS5053: Option 'mapRoot' cannot be specified with option 'inlineSourceMap'. + +4 "inlineSourceMap": true, +   ~~~~~~~~~~~~~~~~~ + + +a/b/tsconfig.json:5:9 - error TS5053: Option 'mapRoot' cannot be specified with option 'inlineSourceMap'. + +5 "mapRoot": "./" +   ~~~~~~~~~ + + +a/b/tsconfig.json:5:9 - error TS5069: Option 'mapRoot' cannot be specified without specifying option 'sourceMap' or option 'declarationMap'. + +5 "mapRoot": "./" +   ~~~~~~~~~ + + +[12:00:23 AM] Found 3 errors. Watching for file changes. -12:00:23 AM - Found 3 errors. Watching for file changes. Program root files: ["/a/b/app.ts"] 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 fa3d3aacca3..c03b891e13f 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 @@ -24,13 +24,17 @@ interface Array { length: number; [n: number]: T; } Output:: >> Screen clear -12:00:15 AM - Starting compilation in watch mode... +[12:00:15 AM] Starting compilation in watch mode... -a/b/tsconfig.json(1,2): error TS1005: '}' expected. - +a/b/tsconfig.json:1:2 - error TS1005: '}' expected. + +1 { +    + + +[12:00:18 AM] Found 1 error. Watching for file changes. -12:00:18 AM - Found 1 error. Watching for file changes. Program root files: ["/a/b/app.ts"] 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 c2e658db957..65754c16108 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 @@ -25,11 +25,11 @@ var x = 10; Output:: >> Screen clear -12:00:15 AM - Starting compilation in watch mode... +[12:00:15 AM] Starting compilation in watch mode... +[12:00:18 AM] Found 0 errors. Watching for file changes. -12:00:18 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/app.ts"] @@ -72,13 +72,17 @@ Change:: change config file to add error Output:: >> Screen clear -12:00:22 AM - File change detected. Starting incremental compilation... +[12:00:22 AM] File change detected. Starting incremental compilation... -a/b/tsconfig.json(3,29): error TS5023: Unknown compiler option 'haha'. - +a/b/tsconfig.json:3:29 - error TS5023: Unknown compiler option 'haha'. + +3 "haha": 123 +   ~~~~~~ + + +[12:00:23 AM] Found 1 error. Watching for file changes. -12:00:23 AM - Found 1 error. Watching for file changes. Program root files: ["/a/b/app.ts"] @@ -118,11 +122,11 @@ Change:: change config file to remove error Output:: >> Screen clear -12:00:27 AM - File change detected. Starting incremental compilation... +[12:00:27 AM] File change detected. Starting incremental compilation... +[12:00:28 AM] Found 0 errors. Watching for file changes. -12:00:28 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/app.ts"] 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 7163e5119e5..594cd2eb8fa 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 @@ -25,11 +25,11 @@ label: while (1) { } Output:: >> Screen clear -12:00:13 AM - Starting compilation in watch mode... +[12:00:13 AM] Starting compilation in watch mode... +[12:00:16 AM] Found 0 errors. Watching for file changes. -12:00:16 AM - Found 0 errors. Watching for file changes. Program root files: ["/a.ts","/a/lib/lib.d.ts"] @@ -66,13 +66,17 @@ Change:: Disable allowUnsusedLabels Output:: >> Screen clear -12:00:19 AM - File change detected. Starting incremental compilation... +[12:00:19 AM] File change detected. Starting incremental compilation... -a.ts(1,1): error TS7028: Unused label. - +a.ts:1:1 - error TS7028: Unused label. + +1 label: while (1) {} +  ~~~~~ + + +[12:00:20 AM] Found 1 error. Watching for file changes. -12:00:20 AM - Found 1 error. Watching for file changes. Program root files: ["/a.ts","/a/lib/lib.d.ts"] @@ -109,11 +113,11 @@ Change:: Enable allowUnsusedLabels Output:: >> Screen clear -12:00:23 AM - File change detected. Starting incremental compilation... +[12:00:23 AM] File change detected. Starting incremental compilation... +[12:00:24 AM] Found 0 errors. Watching for file changes. -12:00:24 AM - Found 0 errors. Watching for file changes. Program root files: ["/a.ts","/a/lib/lib.d.ts"] 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 4726c1a0080..f8c37664c82 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 @@ -25,11 +25,11 @@ var x = 1; Output:: >> Screen clear -12:00:15 AM - Starting compilation in watch mode... +[12:00:15 AM] Starting compilation in watch mode... +[12:00:18 AM] Found 0 errors. Watching for file changes. -12:00:18 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/commonFile1.ts"] @@ -73,11 +73,11 @@ var y = 1; Output:: >> Screen clear -12:00:21 AM - File change detected. Starting incremental compilation... +[12:00:21 AM] File change detected. Starting incremental compilation... +[12:00:27 AM] Found 0 errors. Watching for file changes. -12:00:27 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/commonFile1.ts","/a/b/commonFile2.ts"] 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 00ea2e59bbc..5189293311d 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 @@ -25,13 +25,17 @@ T.bar(); Output:: >> Screen clear -12:00:13 AM - Starting compilation in watch mode... +[12:00:13 AM] Starting compilation in watch mode... -a/b/file1.ts(1,20): error TS2307: Cannot find module './moduleFile'. - +a/b/file1.ts:1:20 - error TS2307: Cannot find module './moduleFile'. + +1 import * as T from "./moduleFile"; T.bar(); +   ~~~~~~~~~~~~~~ + + +[12:00:16 AM] Found 1 error. Watching for file changes. -12:00:16 AM - Found 1 error. Watching for file changes. Program root files: ["/a/b/file1.ts"] @@ -75,11 +79,11 @@ exports.bar = bar; Output:: >> Screen clear -12:00:19 AM - File change detected. Starting incremental compilation... +[12:00:19 AM] File change detected. Starting incremental compilation... +[12:00:25 AM] Found 0 errors. Watching for file changes. -12:00:25 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/file1.ts"] 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 4f4263fa0eb..05b4dff8804 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 @@ -28,11 +28,11 @@ var x = 1; Output:: >> Screen clear -12:00:17 AM - Starting compilation in watch mode... +[12:00:17 AM] Starting compilation in watch mode... +[12:00:20 AM] Found 0 errors. Watching for file changes. -12:00:20 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/f1.ts"] @@ -74,11 +74,11 @@ var y = 1; Output:: >> Screen clear -12:00:24 AM - File change detected. Starting incremental compilation... +[12:00:24 AM] File change detected. Starting incremental compilation... +[12:00:30 AM] Found 0 errors. Watching for file changes. -12:00:30 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/f1.ts","/a/b/f2.ts"] 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 a57944f9dc4..9ce22191c99 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 @@ -25,11 +25,11 @@ var x = 1; Output:: >> Screen clear -12:00:15 AM - Starting compilation in watch mode... +[12:00:15 AM] Starting compilation in watch mode... +[12:00:18 AM] Found 0 errors. Watching for file changes. -12:00:18 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/f1.ts"] @@ -73,11 +73,11 @@ var y = 1; Output:: >> Screen clear -12:00:21 AM - File change detected. Starting incremental compilation... +[12:00:21 AM] File change detected. Starting incremental compilation... +[12:00:27 AM] Found 0 errors. Watching for file changes. -12:00:27 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/f1.ts","/a/b/f2.ts"] 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 0bec2a80dc9..4b09ae0d84c 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 @@ -25,11 +25,11 @@ var x = 1; Output:: >> Screen clear -12:00:15 AM - Starting compilation in watch mode... +[12:00:15 AM] Starting compilation in watch mode... +[12:00:18 AM] Found 0 errors. Watching for file changes. -12:00:18 AM - Found 0 errors. Watching for file changes. Program root files: ["/A/B/app.ts"] 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 fa109ce2a02..54c0a0a5076 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 @@ -32,11 +32,11 @@ var y = 1; Output:: >> Screen clear -12:00:17 AM - Starting compilation in watch mode... +[12:00:17 AM] Starting compilation in watch mode... +[12:00:22 AM] Found 0 errors. Watching for file changes. -12:00:22 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/f1.ts","/a/b/f2.ts"] @@ -82,11 +82,11 @@ var y = 1; Output:: >> Screen clear -12:00:26 AM - File change detected. Starting incremental compilation... +[12:00:26 AM] File change detected. Starting incremental compilation... +[12:00:29 AM] Found 0 errors. Watching for file changes. -12:00:29 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/f1.ts","/a/b/f2.ts"] 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 e34c63f054b..ad5648f6240 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 @@ -47,11 +47,11 @@ __exportStar(require("./f2"), exports); Output:: >> Screen clear -12:00:19 AM - Starting compilation in watch mode... +[12:00:19 AM] Starting compilation in watch mode... +[12:00:24 AM] Found 0 errors. Watching for file changes. -12:00:24 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/f1.ts"] @@ -112,11 +112,11 @@ exports.y = 1; Output:: >> Screen clear -12:00:27 AM - File change detected. Starting incremental compilation... +[12:00:27 AM] File change detected. Starting incremental compilation... +[12:00:36 AM] Found 0 errors. Watching for file changes. -12:00:36 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/f1.ts"] 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 c4702e878c8..c12d28459fa 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 @@ -46,11 +46,11 @@ exports.y = 1; Output:: >> Screen clear -12:00:21 AM - Starting compilation in watch mode... +[12:00:21 AM] Starting compilation in watch mode... +[12:00:28 AM] Found 0 errors. Watching for file changes. -12:00:28 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/c/f2.ts","/a/c/f3.ts"] 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 46e913247dc..86020466715 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/config-file-is-deleted.js +++ b/tests/baselines/reference/tscWatch/programUpdates/config-file-is-deleted.js @@ -32,11 +32,11 @@ var y = 2; Output:: >> Screen clear -12:00:17 AM - Starting compilation in watch mode... +[12:00:17 AM] Starting compilation in watch mode... +[12:00:22 AM] Found 0 errors. Watching for file changes. -12:00:22 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/f1.ts","/a/b/f2.ts"] @@ -77,10 +77,11 @@ Change:: Delete config file Output:: >> Screen clear -12:00:24 AM - File change detected. Starting incremental compilation... +[12:00:24 AM] File change detected. Starting incremental compilation... -error TS6053: File '/a/b/tsconfig.json' not found. +error TS6053: File '/a/b/tsconfig.json' not found. + WatchedFiles:: 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 164918dbdb4..3763be7ba6d 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 @@ -29,13 +29,17 @@ var x; Output:: >> Screen clear -12:00:15 AM - Starting compilation in watch mode... +[12:00:15 AM] Starting compilation in watch mode... -src/app.ts(1,8): error TS2583: Cannot find name 'Promise'. Do you need to change your target library? Try changing the `lib` compiler option to es2015 or later. - +src/app.ts:1:8 - error TS2583: Cannot find name 'Promise'. Do you need to change your target library? Try changing the `lib` compiler option to es2015 or later. + +1 var x: Promise; +   ~~~~~~~ + + +[12:00:18 AM] Found 1 error. Watching for file changes. -12:00:18 AM - Found 1 error. Watching for file changes. Program root files: ["/src/app.ts"] @@ -75,11 +79,11 @@ Change:: Change the lib in config Output:: >> Screen clear -12:00:22 AM - File change detected. Starting incremental compilation... +[12:00:22 AM] File change detected. Starting incremental compilation... +[12:00:26 AM] Found 0 errors. Watching for file changes. -12:00:26 AM - Found 0 errors. Watching for file changes. Program root files: ["/src/app.ts"] 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 c1383cefcad..bc2124b1e49 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 @@ -41,11 +41,11 @@ var y = 1; Output:: >> Screen clear -12:00:25 AM - Starting compilation in watch mode... +[12:00:25 AM] Starting compilation in watch mode... +[12:00:30 AM] Found 0 errors. Watching for file changes. -12:00:30 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/c/f1.ts","/a/b/d/f2.ts"] 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 c649e7c26ed..0fe8f7ca2c8 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 @@ -31,15 +31,23 @@ console.log(module_1.f); Output:: >> Screen clear -12:00:17 AM - Starting compilation in watch mode... +[12:00:17 AM] Starting compilation in watch mode... -a/b/c/app.ts(2,25): error TS2305: Module '"./module"' has no exported member 'f'. - -a/b/c/app.ts(3,17): error TS2584: Cannot find name 'console'. Do you need to change your target library? Try changing the `lib` compiler option to include 'dom'. - +a/b/c/app.ts:2:25 - error TS2305: Module '"./module"' has no exported member 'f'. + +2 import {f} from "./module" +   ~ + + +a/b/c/app.ts:3:17 - error TS2584: Cannot find name 'console'. Do you need to change your target library? Try changing the `lib` compiler option to include 'dom'. + +3 console.log(f) +   ~~~~~~~ + + +[12:00:20 AM] Found 2 errors. Watching for file changes. -12:00:20 AM - Found 2 errors. Watching for file changes. Program root files: ["/a/b/c/app.ts"] 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 d16746a9f45..230b885505a 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 @@ -63,11 +63,11 @@ __exportStar(require("./f2"), exports); Output:: >> Screen clear -12:00:19 AM - Starting compilation in watch mode... +[12:00:19 AM] Starting compilation in watch mode... +[12:00:26 AM] Found 0 errors. Watching for file changes. -12:00:26 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/f1.ts","/a/c/f3.ts"] @@ -107,13 +107,17 @@ Change:: Delete f2 Output:: >> Screen clear -12:00:28 AM - File change detected. Starting incremental compilation... +[12:00:28 AM] File change detected. Starting incremental compilation... -a/b/f1.ts(1,15): error TS7016: Could not find a declaration file for module './f2'. '/a/b/f2.js' implicitly has an 'any' type. - +a/b/f1.ts:1:15 - error TS7016: Could not find a declaration file for module './f2'. '/a/b/f2.js' implicitly has an 'any' type. + +1 export * from "./f2" +   ~~~~~~ + + +[12:00:32 AM] Found 1 error. Watching for file changes. -12:00:32 AM - Found 1 error. Watching for file changes. Program root files: ["/a/b/f1.ts","/a/c/f3.ts"] 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 dc360839df7..f8bed52fc9c 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 @@ -63,11 +63,11 @@ __exportStar(require("./f2"), exports); Output:: >> Screen clear -12:00:19 AM - Starting compilation in watch mode... +[12:00:19 AM] Starting compilation in watch mode... +[12:00:26 AM] Found 0 errors. Watching for file changes. -12:00:26 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/f1.ts"] @@ -107,13 +107,17 @@ Change:: Delete f2 Output:: >> Screen clear -12:00:28 AM - File change detected. Starting incremental compilation... +[12:00:28 AM] File change detected. Starting incremental compilation... -a/b/f1.ts(1,15): error TS7016: Could not find a declaration file for module './f2'. '/a/b/f2.js' implicitly has an 'any' type. - +a/b/f1.ts:1:15 - error TS7016: Could not find a declaration file for module './f2'. '/a/b/f2.js' implicitly has an 'any' type. + +1 export * from "./f2" +   ~~~~~~ + + +[12:00:32 AM] Found 1 error. Watching for file changes. -12:00:32 AM - Found 1 error. Watching for file changes. Program root files: ["/a/b/f1.ts"] 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 89b9a089273..820146d8414 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 @@ -38,11 +38,11 @@ var y = 1; Output:: >> Screen clear -12:00:21 AM - Starting compilation in watch mode... +[12:00:21 AM] Starting compilation in watch mode... +[12:00:26 AM] Found 0 errors. Watching for file changes. -12:00:26 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/commonFile1.ts","/a/b/commonFile2.ts"] 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 70d8db96ed3..fbcd232a830 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/handle-recreated-files-correctly.js +++ b/tests/baselines/reference/tscWatch/programUpdates/handle-recreated-files-correctly.js @@ -32,11 +32,11 @@ var y = 1; Output:: >> Screen clear -12:00:17 AM - Starting compilation in watch mode... +[12:00:17 AM] Starting compilation in watch mode... +[12:00:22 AM] Found 0 errors. Watching for file changes. -12:00:22 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/commonFile1.ts","/a/b/commonFile2.ts"] @@ -77,11 +77,11 @@ Change:: delete file2 Output:: >> Screen clear -12:00:24 AM - File change detected. Starting incremental compilation... +[12:00:24 AM] File change detected. Starting incremental compilation... +[12:00:25 AM] Found 0 errors. Watching for file changes. -12:00:25 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/commonFile1.ts"] @@ -120,11 +120,11 @@ let y = 1 Output:: >> Screen clear -12:00:28 AM - File change detected. Starting incremental compilation... +[12:00:28 AM] File change detected. Starting incremental compilation... +[12:00:35 AM] Found 0 errors. Watching for file changes. -12:00:35 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/commonFile1.ts","/a/b/commonFile2.ts"] 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 56073bf7dc0..a14b42fb5a8 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 @@ -24,15 +24,23 @@ var x = y; Output:: >> Screen clear -12:00:13 AM - Starting compilation in watch mode... +[12:00:13 AM] Starting compilation in watch mode... -a/b/commonFile1.ts(1,22): error TS6053: File '/a/b/commonFile2.ts' not found. - -a/b/commonFile1.ts(2,29): error TS2304: Cannot find name 'y'. - +a/b/commonFile1.ts:1:22 - error TS6053: File '/a/b/commonFile2.ts' not found. + +1 /// +   ~~~~~~~~~~~~~~ + + +a/b/commonFile1.ts:2:29 - error TS2304: Cannot find name 'y'. + +2 let x = y +   ~ + + +[12:00:16 AM] Found 2 errors. Watching for file changes. -12:00:16 AM - Found 2 errors. Watching for file changes. Program root files: ["/a/b/commonFile1.ts"] @@ -72,11 +80,11 @@ var y = 1; Output:: >> Screen clear -12:00:19 AM - File change detected. Starting incremental compilation... +[12:00:19 AM] File change detected. Starting incremental compilation... +[12:00:25 AM] Found 0 errors. Watching for file changes. -12:00:25 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/commonFile1.ts"] 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 bbaee444dd7..41c2dc2f159 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 @@ -27,11 +27,11 @@ var x = 10; Output:: >> Screen clear -12:00:15 AM - Starting compilation in watch mode... +[12:00:15 AM] Starting compilation in watch mode... +[12:00:18 AM] Found 0 errors. Watching for file changes. -12:00:18 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/app.ts"] 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 c10efcbb901..dc4c73a43da 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 @@ -27,13 +27,17 @@ interface Array { length: number; [n: number]: T; } Output:: >> Screen clear -12:00:23 AM - Starting compilation in watch mode... +[12:00:23 AM] Starting compilation in watch mode... -tsconfig.json(1,24): error TS18002: The 'files' list in config file '/a/tsconfig.json' is empty. - +tsconfig.json:1:24 - error TS18002: The 'files' list in config file '/a/tsconfig.json' is empty. + +1 {"compiler":{},"files":[]} +   ~~ + + +[12:00:24 AM] Found 1 error. Watching for file changes. -12:00:24 AM - Found 1 error. Watching for file changes. Program root files: [] 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 e9cdec404a7..d5aceb0fc03 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 @@ -24,13 +24,14 @@ interface Array { length: number; [n: number]: T; } Output:: >> Screen clear -12:00:15 AM - Starting compilation in watch mode... +[12:00:15 AM] Starting compilation in watch mode... -error TS18003: No inputs were found in config file '/a/b/tsconfig.json'. Specified 'include' paths were '["app/*","test/**/*","something"]' and 'exclude' paths were '[]'. - +error TS18003: No inputs were found in config file '/a/b/tsconfig.json'. Specified 'include' paths were '["app/*","test/**/*","something"]' and 'exclude' paths were '[]'. + + +[12:00:16 AM] Found 1 error. Watching for file changes. -12:00:16 AM - Found 1 error. Watching for file changes. Program root files: [] 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 0ec3414bb21..6483755722f 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 @@ -40,11 +40,11 @@ T.bar(); Output:: >> Screen clear -12:00:17 AM - Starting compilation in watch mode... +[12:00:17 AM] Starting compilation in watch mode... +[12:00:22 AM] Found 0 errors. Watching for file changes. -12:00:22 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/file1.ts","/a/b/moduleFile.ts"] @@ -99,13 +99,17 @@ exports.bar = bar; Output:: >> Screen clear -12:00:27 AM - File change detected. Starting incremental compilation... +[12:00:27 AM] File change detected. Starting incremental compilation... -a/b/file1.ts(1,20): error TS2307: Cannot find module './moduleFile'. - +a/b/file1.ts:1:20 - error TS2307: Cannot find module './moduleFile'. + +1 import * as T from "./moduleFile"; T.bar(); +   ~~~~~~~~~~~~~~ + + +[12:00:33 AM] Found 1 error. Watching for file changes. -12:00:33 AM - Found 1 error. Watching for file changes. Program root files: ["/a/b/file1.ts","/a/b/moduleFile1.ts"] @@ -162,11 +166,11 @@ exports.bar = bar; Output:: >> Screen clear -12:00:37 AM - File change detected. Starting incremental compilation... +[12:00:37 AM] File change detected. Starting incremental compilation... +[12:00:43 AM] Found 0 errors. Watching for file changes. -12:00:43 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/file1.ts","/a/b/moduleFile.ts"] 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 3c41445a934..4d935309ded 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 @@ -37,11 +37,11 @@ T.bar(); Output:: >> Screen clear -12:00:15 AM - Starting compilation in watch mode... +[12:00:15 AM] Starting compilation in watch mode... +[12:00:20 AM] Found 0 errors. Watching for file changes. -12:00:20 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/file1.ts"] @@ -81,13 +81,17 @@ export function bar() { }; Output:: >> Screen clear -12:00:25 AM - File change detected. Starting incremental compilation... +[12:00:25 AM] File change detected. Starting incremental compilation... -a/b/file1.ts(1,20): error TS2307: Cannot find module './moduleFile'. - +a/b/file1.ts:1:20 - error TS2307: Cannot find module './moduleFile'. + +1 import * as T from "./moduleFile"; T.bar(); +   ~~~~~~~~~~~~~~ + + +[12:00:29 AM] Found 1 error. Watching for file changes. -12:00:29 AM - Found 1 error. Watching for file changes. Program root files: ["/a/b/file1.ts"] @@ -132,11 +136,11 @@ exports.bar = bar; Output:: >> Screen clear -12:00:33 AM - File change detected. Starting incremental compilation... +[12:00:33 AM] File change detected. Starting incremental compilation... +[12:00:39 AM] Found 0 errors. Watching for file changes. -12:00:39 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/file1.ts"] 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 6cb5a572034..25944808c93 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 @@ -36,13 +36,17 @@ exports.__esModule = true; Output:: >> Screen clear -12:00:23 AM - Starting compilation in watch mode... +[12:00:23 AM] Starting compilation in watch mode... -a.ts(1,19): error TS6059: File '/user/username/projects/b.ts' is not under 'rootDir' '/user/username/projects/myproject'. 'rootDir' is expected to contain all source files. - +a.ts:1:19 - error TS6059: File '/user/username/projects/b.ts' is not under 'rootDir' '/user/username/projects/myproject'. 'rootDir' is expected to contain all source files. + +1 import { x } from "../b"; +   ~~~~~~ + + +[12:00:34 AM] Found 1 error. Watching for file changes. -12:00:34 AM - Found 1 error. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts"] @@ -88,13 +92,17 @@ import { x } from "../b"; Output:: >> Screen clear -12:00:38 AM - File change detected. Starting incremental compilation... +[12:00:38 AM] File change detected. Starting incremental compilation... -a.ts(3,19): error TS6059: File '/user/username/projects/b.ts' is not under 'rootDir' '/user/username/projects/myproject'. 'rootDir' is expected to contain all source files. - +a.ts:3:19 - error TS6059: File '/user/username/projects/b.ts' is not under 'rootDir' '/user/username/projects/myproject'. 'rootDir' is expected to contain all source files. + +3 import { x } from "../b"; +   ~~~~~~ + + +[12:00:42 AM] Found 1 error. Watching for file changes. -12:00:42 AM - Found 1 error. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts"] 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 a1876102cde..e0ca8774e8a 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 @@ -39,11 +39,11 @@ var b = a_1.a; Output:: >> Screen clear -12:00:23 AM - Starting compilation in watch mode... +[12:00:23 AM] Starting compilation in watch mode... +[12:00:28 AM] Found 0 errors. Watching for file changes. -12:00:28 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts"] @@ -93,13 +93,17 @@ exports.a = 1; Output:: >> Screen clear -12:00:32 AM - File change detected. Starting incremental compilation... +[12:00:32 AM] File change detected. Starting incremental compilation... -b.ts(2,7): error TS2322: Type 'number' is not assignable to type 'string'. - +b.ts:2:7 - error TS2322: Type 'number' is not assignable to type 'string'. + +2 const b: string = a; +   ~ + + +[12:00:36 AM] Found 1 error. Watching for file changes. -12:00:36 AM - Found 1 error. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts"] 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 4d997cf87d3..1250de66a8d 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 @@ -25,11 +25,11 @@ var x = 1; Output:: >> Screen clear -12:00:15 AM - Starting compilation in watch mode... +[12:00:15 AM] Starting compilation in watch mode... +[12:00:18 AM] Found 0 errors. Watching for file changes. -12:00:18 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/src/app.ts"] 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 74e5e282817..221058a3b08 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 @@ -34,13 +34,14 @@ var x = 1; Output:: >> Screen clear -12:00:17 AM - Starting compilation in watch mode... +[12:00:17 AM] Starting compilation in watch mode... -error TS6053: File '/a/b/commonFile3.ts' not found. - +error TS6053: File '/a/b/commonFile3.ts' not found. + + +[12:00:20 AM] Found 1 error. Watching for file changes. -12:00:20 AM - Found 1 error. Watching for file changes. Program root files: ["/a/b/commonFile1.ts","/a/b/commonFile3.ts"] 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 15c37a039aa..36c9d0609c1 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 @@ -117,11 +117,11 @@ export declare const d = 30; Output:: >> Screen clear -12:00:25 AM - Starting compilation in watch mode... +[12:00:25 AM] Starting compilation in watch mode... +[12:00:40 AM] Found 0 errors. Watching for file changes. -12:00:40 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/file1.ts","/user/username/projects/myproject/src/file2.ts"] 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 d00c703f949..f755ab350ec 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 @@ -117,11 +117,11 @@ export declare const d = 30; Output:: >> Screen clear -12:00:25 AM - Starting compilation in watch mode... +[12:00:25 AM] Starting compilation in watch mode... +[12:00:46 AM] Found 0 errors. Watching for file changes. -12:00:46 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/file1.ts","/user/username/projects/myproject/src/file2.ts"] 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 ad3f6eef1f2..933745206f2 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 @@ -108,11 +108,11 @@ define(["require", "exports"], function (require, exports) { Output:: >> Screen clear -12:00:25 AM - Starting compilation in watch mode... +[12:00:25 AM] Starting compilation in watch mode... +[12:00:36 AM] Found 0 errors. Watching for file changes. -12:00:36 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/file1.ts","/user/username/projects/myproject/src/file2.ts"] 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 c3a472b8abb..9bb54d9380e 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 @@ -105,11 +105,11 @@ define("src/file2", ["require", "exports"], function (require, exports) { Output:: >> Screen clear -12:00:25 AM - Starting compilation in watch mode... +[12:00:25 AM] Starting compilation in watch mode... +[12:00:31 AM] Found 0 errors. Watching for file changes. -12:00:31 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/file1.ts","/user/username/projects/myproject/src/file2.ts"] 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 3a1e2045a14..158a39b4880 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 @@ -108,11 +108,11 @@ define(["require", "exports"], function (require, exports) { Output:: >> Screen clear -12:00:25 AM - Starting compilation in watch mode... +[12:00:25 AM] Starting compilation in watch mode... +[12:00:30 AM] Found 0 errors. Watching for file changes. -12:00:30 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/file1.ts","/user/username/projects/myproject/src/file2.ts"] 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 19f4c7ca168..bcd52553d3a 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 @@ -37,11 +37,11 @@ exports.__esModule = true; Output:: >> Screen clear -12:00:21 AM - Starting compilation in watch mode... +[12:00:21 AM] Starting compilation in watch mode... +[12:00:24 AM] Found 0 errors. Watching for file changes. -12:00:24 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/file1.ts"] @@ -95,11 +95,11 @@ exports.__esModule = true; Output:: >> Screen clear -12:00:28 AM - File change detected. Starting incremental compilation... +[12:00:28 AM] File change detected. Starting incremental compilation... +[12:00:34 AM] Found 0 errors. Watching for file changes. -12:00:34 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/file1.ts"] 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 bdd20a09cf4..caf17a39d76 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 @@ -35,11 +35,11 @@ var y = 1; Output:: >> Screen clear -12:00:17 AM - Starting compilation in watch mode... +[12:00:17 AM] Starting compilation in watch mode... +[12:00:22 AM] Found 0 errors. Watching for file changes. -12:00:22 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/commonFile1.ts","/a/b/commonFile2.ts"] @@ -83,11 +83,11 @@ Change:: Change config Output:: >> Screen clear -12:00:26 AM - File change detected. Starting incremental compilation... +[12:00:26 AM] File change detected. Starting incremental compilation... +[12:00:27 AM] Found 0 errors. Watching for file changes. -12:00:27 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/commonFile1.ts"] 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 f5df0897b86..5daca3fac5e 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 @@ -38,13 +38,17 @@ var y = 1; Output:: >> Screen clear -12:00:17 AM - Starting compilation in watch mode... +[12:00:17 AM] Starting compilation in watch mode... -a/b/tsconfig.json(4,29): error TS5023: Unknown compiler option 'allowAnything'. - +a/b/tsconfig.json:4:29 - error TS5023: Unknown compiler option 'allowAnything'. + +4 "allowAnything": true +   ~~~~~~~~~~~~~~~ + + +[12:00:22 AM] Found 1 error. Watching for file changes. -12:00:22 AM - Found 1 error. Watching for file changes. Program root files: ["/a/b/commonFile1.ts","/a/b/commonFile2.ts"] 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 5ac4ea612d4..28658ce6bfb 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 @@ -32,11 +32,11 @@ function two() { Output:: >> Screen clear -12:00:13 AM - Starting compilation in watch mode... +[12:00:13 AM] Starting compilation in watch mode... +[12:00:16 AM] Found 0 errors. Watching for file changes. -12:00:16 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/file.ts"] @@ -87,11 +87,11 @@ exports.two = two; Output:: >> Screen clear -12:00:20 AM - File change detected. Starting incremental compilation... +[12:00:20 AM] File change detected. Starting incremental compilation... +[12:00:24 AM] Found 0 errors. Watching for file changes. -12:00:24 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/file.ts"] 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 756326be47a..f3f9980ec6e 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 @@ -28,11 +28,11 @@ var x = 1; Output:: >> Screen clear -12:00:25 AM - Starting compilation in watch mode... +[12:00:25 AM] Starting compilation in watch mode... +[12:00:28 AM] Found 0 errors. Watching for file changes. -12:00:28 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/app.ts"] 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 cdc688545f7..ce2e4c8addf 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 @@ -53,15 +53,23 @@ export { A }; Output:: >> Screen clear -12:00:15 AM - Starting compilation in watch mode... +[12:00:15 AM] Starting compilation in watch mode... -a.ts(1,1): error TS1371: This import is never used as a value and must use 'import type' because the 'importsNotUsedAsValues' is set to 'error'. - -a.ts(3,14): error TS1219: Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option in your 'tsconfig' or 'jsconfig' to remove this warning. - +a.ts:1:1 - error TS1371: This import is never used as a value and must use 'import type' because the 'importsNotUsedAsValues' is set to 'error'. + +1 import {B} from './b' +  ~~~~~~~~~~~~~~~~~~~~~ + + +a.ts:3:14 - error TS1219: Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option in your 'tsconfig' or 'jsconfig' to remove this warning. + +3 export class A { +   ~ + + +[12:00:20 AM] Found 2 errors. Watching for file changes. -12:00:20 AM - Found 2 errors. Watching for file changes. Program root files: ["/a.ts","/b.ts","/a/lib/lib.d.ts"] @@ -102,13 +110,17 @@ Change:: Enable experimentalDecorators Output:: >> Screen clear -12:00:23 AM - File change detected. Starting incremental compilation... +[12:00:23 AM] File change detected. Starting incremental compilation... -a.ts(1,1): error TS1371: This import is never used as a value and must use 'import type' because the 'importsNotUsedAsValues' is set to 'error'. - +a.ts:1:1 - error TS1371: This import is never used as a value and must use 'import type' because the 'importsNotUsedAsValues' is set to 'error'. + +1 import {B} from './b' +  ~~~~~~~~~~~~~~~~~~~~~ + + +[12:00:24 AM] Found 1 error. Watching for file changes. -12:00:24 AM - Found 1 error. Watching for file changes. Program root files: ["/a.ts","/b.ts","/a/lib/lib.d.ts"] @@ -174,11 +186,11 @@ export { A }; Output:: >> Screen clear -12:00:27 AM - File change detected. Starting incremental compilation... +[12:00:27 AM] File change detected. Starting incremental compilation... +[12:00:34 AM] Found 0 errors. Watching for file changes. -12:00:34 AM - Found 0 errors. Watching for file changes. Program root files: ["/a.ts","/b.ts","/a/lib/lib.d.ts"] 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 9e10ed0448b..721df9bc343 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 @@ -34,11 +34,11 @@ class D extends C { Output:: >> Screen clear -12:00:13 AM - Starting compilation in watch mode... +[12:00:13 AM] Starting compilation in watch mode... +[12:00:16 AM] Found 0 errors. Watching for file changes. -12:00:16 AM - Found 0 errors. Watching for file changes. Program root files: ["/a.ts","/a/lib/lib.d.ts"] @@ -92,13 +92,17 @@ class D extends C { Output:: >> Screen clear -12:00:20 AM - File change detected. Starting incremental compilation... +[12:00:20 AM] File change detected. Starting incremental compilation... -a.ts(2,21): error TS2610: 'prop' is defined as an accessor in class 'C', but is overridden here in 'D' as an instance property. - +a.ts:2:21 - error TS2610: 'prop' is defined as an accessor in class 'C', but is overridden here in 'D' as an instance property. + +2 class D extends C { prop = 1; } +   ~~~~ + + +[12:00:24 AM] Found 1 error. Watching for file changes. -12:00:24 AM - Found 1 error. Watching for file changes. Program root files: ["/a.ts","/a/lib/lib.d.ts"] 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 58ab71d9c7d..0a8654e0e8a 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 @@ -45,11 +45,11 @@ exports.f = f; Output:: >> Screen clear -12:00:23 AM - Starting compilation in watch mode... +[12:00:23 AM] Starting compilation in watch mode... +[12:00:28 AM] Found 0 errors. Watching for file changes. -12:00:28 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts"] @@ -94,11 +94,11 @@ Change:: Set to "remove" Output:: >> Screen clear -12:00:32 AM - File change detected. Starting incremental compilation... +[12:00:32 AM] File change detected. Starting incremental compilation... +[12:00:39 AM] Found 0 errors. Watching for file changes. -12:00:39 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts"] @@ -151,13 +151,17 @@ exports.f = f; Output:: >> Screen clear -12:00:43 AM - File change detected. Starting incremental compilation... +[12:00:43 AM] File change detected. Starting incremental compilation... -b.ts(1,1): error TS1371: This import is never used as a value and must use 'import type' because the 'importsNotUsedAsValues' is set to 'error'. - +b.ts:1:1 - error TS1371: This import is never used as a value and must use 'import type' because the 'importsNotUsedAsValues' is set to 'error'. + +1 import {C} from './a'; +  ~~~~~~~~~~~~~~~~~~~~~~ + + +[12:00:50 AM] Found 1 error. Watching for file changes. -12:00:50 AM - Found 1 error. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts"] @@ -202,11 +206,11 @@ Change:: Set to "preserve" Output:: >> Screen clear -12:00:54 AM - File change detected. Starting incremental compilation... +[12:00:54 AM] File change detected. Starting incremental compilation... +[12:01:01 AM] Found 0 errors. Watching for file changes. -12:01:01 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts"] 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 4ac03a8f561..d177992f2ef 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 @@ -28,11 +28,11 @@ interface Array { length: number; [n: number]: T; } Output:: >> Screen clear -12:00:23 AM - Starting compilation in watch mode... +[12:00:23 AM] Starting compilation in watch mode... +[12:00:24 AM] Found 0 errors. Watching for file changes. -12:00:24 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts"] @@ -78,13 +78,17 @@ export default test; Output:: >> Screen clear -12:00:28 AM - File change detected. Starting incremental compilation... +[12:00:28 AM] File change detected. Starting incremental compilation... -a.ts(2,6): error TS2345: Argument of type '4' is not assignable to parameter of type 'string'. - +a.ts:2:6 - error TS2345: Argument of type '4' is not assignable to parameter of type 'string'. + +2 test(4, 5); +   ~ + + +[12:00:29 AM] Found 1 error. Watching for file changes. -12:00:29 AM - Found 1 error. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts"] @@ -129,11 +133,11 @@ export default test; Output:: >> Screen clear -12:00:33 AM - File change detected. Starting incremental compilation... +[12:00:33 AM] File change detected. Starting incremental compilation... +[12:00:34 AM] Found 0 errors. Watching for file changes. -12:00:34 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts"] @@ -178,15 +182,23 @@ export default test; Output:: >> Screen clear -12:00:38 AM - File change detected. Starting incremental compilation... +[12:00:38 AM] File change detected. Starting incremental compilation... -a.ts(2,9): error TS2345: Argument of type '5' is not assignable to parameter of type 'string'. - -b.ts(2,16): error TS2362: The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type. - +a.ts:2:9 - error TS2345: Argument of type '5' is not assignable to parameter of type 'string'. + +2 test(4, 5); +   ~ + + +b.ts:2:16 - error TS2362: The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type. + +2 return x + y / 5; +   ~ + + +[12:00:39 AM] Found 2 errors. Watching for file changes. -12:00:39 AM - Found 2 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts"] @@ -231,11 +243,11 @@ export default test; Output:: >> Screen clear -12:00:43 AM - File change detected. Starting incremental compilation... +[12:00:43 AM] File change detected. Starting incremental compilation... +[12:00:44 AM] Found 0 errors. Watching for file changes. -12:00:44 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts"] 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 79dc63c4b28..6a02e56478e 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 @@ -32,15 +32,23 @@ exports.__esModule = true; Output:: >> Screen clear -12:00:19 AM - Starting compilation in watch mode... +[12:00:19 AM] Starting compilation in watch mode... -../../../../a/lib/lib.d.ts(13,14): error TS2687: All declarations of 'fullscreen' must have identical modifiers. - -a.ts(4,5): error TS2687: All declarations of 'fullscreen' must have identical modifiers. - +../../../../a/lib/lib.d.ts:13:14 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. + +13 readonly fullscreen: boolean; +   ~~~~~~~~~~ + + +a.ts:4:5 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. + +4 fullscreen: boolean; +   ~~~~~~~~~~ + + +[12:00:22 AM] Found 2 errors. Watching for file changes. -12:00:22 AM - Found 2 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts"] @@ -80,11 +88,11 @@ var y: number; Output:: >> Screen clear -12:00:26 AM - File change detected. Starting incremental compilation... +[12:00:26 AM] File change detected. Starting incremental compilation... +[12:00:30 AM] Found 0 errors. Watching for file changes. -12:00:30 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts"] @@ -126,15 +134,23 @@ var y: number; Output:: >> Screen clear -12:00:34 AM - File change detected. Starting incremental compilation... +[12:00:34 AM] File change detected. Starting incremental compilation... -../../../../a/lib/lib.d.ts(13,14): error TS2687: All declarations of 'fullscreen' must have identical modifiers. - -a.ts(4,5): error TS2687: All declarations of 'fullscreen' must have identical modifiers. - +../../../../a/lib/lib.d.ts:13:14 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. + +13 readonly fullscreen: boolean; +   ~~~~~~~~~~ + + +a.ts:4:5 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. + +4 fullscreen: boolean; +   ~~~~~~~~~~ + + +[12:00:38 AM] Found 2 errors. Watching for file changes. -12:00:38 AM - Found 2 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts"] 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 332223ef496..27a39ad5f9c 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 @@ -32,13 +32,17 @@ exports.__esModule = true; Output:: >> Screen clear -12:00:19 AM - Starting compilation in watch mode... +[12:00:19 AM] Starting compilation in watch mode... -a.ts(4,5): error TS2687: All declarations of 'fullscreen' must have identical modifiers. - +a.ts:4:5 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. + +4 fullscreen: boolean; +   ~~~~~~~~~~ + + +[12:00:22 AM] Found 1 error. Watching for file changes. -12:00:22 AM - Found 1 error. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts"] @@ -78,11 +82,11 @@ var y: number; Output:: >> Screen clear -12:00:26 AM - File change detected. Starting incremental compilation... +[12:00:26 AM] File change detected. Starting incremental compilation... +[12:00:30 AM] Found 0 errors. Watching for file changes. -12:00:30 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts"] @@ -123,13 +127,17 @@ var y: number; Output:: >> Screen clear -12:00:34 AM - File change detected. Starting incremental compilation... +[12:00:34 AM] File change detected. Starting incremental compilation... -a.ts(4,5): error TS2687: All declarations of 'fullscreen' must have identical modifiers. - +a.ts:4:5 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. + +4 fullscreen: boolean; +   ~~~~~~~~~~ + + +[12:00:38 AM] Found 1 error. Watching for file changes. -12:00:38 AM - Found 1 error. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts"] 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 e82d552cc36..09ed3add077 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 @@ -32,13 +32,17 @@ exports.__esModule = true; Output:: >> Screen clear -12:00:19 AM - Starting compilation in watch mode... +[12:00:19 AM] Starting compilation in watch mode... -a.ts(4,5): error TS2687: All declarations of 'fullscreen' must have identical modifiers. - +a.ts:4:5 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. + +4 fullscreen: boolean; +   ~~~~~~~~~~ + + +[12:00:22 AM] Found 1 error. Watching for file changes. -12:00:22 AM - Found 1 error. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts"] @@ -78,11 +82,11 @@ var y: number; Output:: >> Screen clear -12:00:26 AM - File change detected. Starting incremental compilation... +[12:00:26 AM] File change detected. Starting incremental compilation... +[12:00:30 AM] Found 0 errors. Watching for file changes. -12:00:30 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts"] @@ -123,13 +127,17 @@ var y: number; Output:: >> Screen clear -12:00:34 AM - File change detected. Starting incremental compilation... +[12:00:34 AM] File change detected. Starting incremental compilation... -a.ts(4,5): error TS2687: All declarations of 'fullscreen' must have identical modifiers. - +a.ts:4:5 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. + +4 fullscreen: boolean; +   ~~~~~~~~~~ + + +[12:00:38 AM] Found 1 error. Watching for file changes. -12:00:38 AM - Found 1 error. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts"] 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 932acfaacae..9f620946381 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 @@ -28,15 +28,23 @@ var y; Output:: >> Screen clear -12:00:19 AM - Starting compilation in watch mode... +[12:00:19 AM] Starting compilation in watch mode... -../../../../a/lib/lib.d.ts(13,14): error TS2687: All declarations of 'fullscreen' must have identical modifiers. - -a.ts(2,5): error TS2687: All declarations of 'fullscreen' must have identical modifiers. - +../../../../a/lib/lib.d.ts:13:14 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. + +13 readonly fullscreen: boolean; +   ~~~~~~~~~~ + + +a.ts:2:5 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. + +2 fullscreen: boolean; +   ~~~~~~~~~~ + + +[12:00:22 AM] Found 2 errors. Watching for file changes. -12:00:22 AM - Found 2 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts"] @@ -77,11 +85,11 @@ var y; Output:: >> Screen clear -12:00:26 AM - File change detected. Starting incremental compilation... +[12:00:26 AM] File change detected. Starting incremental compilation... +[12:00:30 AM] Found 0 errors. Watching for file changes. -12:00:30 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts"] @@ -123,15 +131,23 @@ var y; Output:: >> Screen clear -12:00:34 AM - File change detected. Starting incremental compilation... +[12:00:34 AM] File change detected. Starting incremental compilation... -../../../../a/lib/lib.d.ts(13,14): error TS2687: All declarations of 'fullscreen' must have identical modifiers. - -a.ts(2,5): error TS2687: All declarations of 'fullscreen' must have identical modifiers. - +../../../../a/lib/lib.d.ts:13:14 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. + +13 readonly fullscreen: boolean; +   ~~~~~~~~~~ + + +a.ts:2:5 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. + +2 fullscreen: boolean; +   ~~~~~~~~~~ + + +[12:00:38 AM] Found 2 errors. Watching for file changes. -12:00:38 AM - Found 2 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts"] 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 083837d43b4..82a34f7f07e 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 @@ -28,13 +28,17 @@ var y; Output:: >> Screen clear -12:00:19 AM - Starting compilation in watch mode... +[12:00:19 AM] Starting compilation in watch mode... -a.ts(2,5): error TS2687: All declarations of 'fullscreen' must have identical modifiers. - +a.ts:2:5 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. + +2 fullscreen: boolean; +   ~~~~~~~~~~ + + +[12:00:22 AM] Found 1 error. Watching for file changes. -12:00:22 AM - Found 1 error. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts"] @@ -75,11 +79,11 @@ var y; Output:: >> Screen clear -12:00:26 AM - File change detected. Starting incremental compilation... +[12:00:26 AM] File change detected. Starting incremental compilation... +[12:00:30 AM] Found 0 errors. Watching for file changes. -12:00:30 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts"] @@ -120,13 +124,17 @@ var y; Output:: >> Screen clear -12:00:34 AM - File change detected. Starting incremental compilation... +[12:00:34 AM] File change detected. Starting incremental compilation... -a.ts(2,5): error TS2687: All declarations of 'fullscreen' must have identical modifiers. - +a.ts:2:5 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. + +2 fullscreen: boolean; +   ~~~~~~~~~~ + + +[12:00:38 AM] Found 1 error. Watching for file changes. -12:00:38 AM - Found 1 error. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts"] 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 4cdca3b41eb..d169086a9ef 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 @@ -28,13 +28,17 @@ var y; Output:: >> Screen clear -12:00:19 AM - Starting compilation in watch mode... +[12:00:19 AM] Starting compilation in watch mode... -a.ts(2,5): error TS2687: All declarations of 'fullscreen' must have identical modifiers. - +a.ts:2:5 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. + +2 fullscreen: boolean; +   ~~~~~~~~~~ + + +[12:00:22 AM] Found 1 error. Watching for file changes. -12:00:22 AM - Found 1 error. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts"] @@ -75,11 +79,11 @@ var y; Output:: >> Screen clear -12:00:26 AM - File change detected. Starting incremental compilation... +[12:00:26 AM] File change detected. Starting incremental compilation... +[12:00:30 AM] Found 0 errors. Watching for file changes. -12:00:30 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts"] @@ -120,13 +124,17 @@ var y; Output:: >> Screen clear -12:00:34 AM - File change detected. Starting incremental compilation... +[12:00:34 AM] File change detected. Starting incremental compilation... -a.ts(2,5): error TS2687: All declarations of 'fullscreen' must have identical modifiers. - +a.ts:2:5 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. + +2 fullscreen: boolean; +   ~~~~~~~~~~ + + +[12:00:38 AM] Found 1 error. Watching for file changes. -12:00:38 AM - Found 1 error. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts"] 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 b8933cf220d..1258794a1ff 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 @@ -26,11 +26,11 @@ interface Array { length: number; [n: number]: T; } Output:: >> Screen clear -12:00:21 AM - Starting compilation in watch mode... +[12:00:21 AM] Starting compilation in watch mode... +[12:00:24 AM] Found 0 errors. Watching for file changes. -12:00:24 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts"] @@ -75,15 +75,33 @@ declare module 'a' { Output:: >> Screen clear -12:00:27 AM - File change detected. Starting incremental compilation... +[12:00:27 AM] File change detected. Starting incremental compilation... -a.ts(2,8): error TS2300: Duplicate identifier 'foo'. - -b.ts(2,8): error TS2300: Duplicate identifier 'foo'. - +a.ts:2:8 - error TS2300: Duplicate identifier 'foo'. + +2 type foo = number; +   ~~~ + + b.ts:2:8 + 2 type foo = number; +    ~~~ + 'foo' was also declared here. + + +b.ts:2:8 - error TS2300: Duplicate identifier 'foo'. + +2 type foo = number; +   ~~~ + + a.ts:2:8 + 2 type foo = number; +    ~~~ + 'foo' was also declared here. + + +[12:00:33 AM] Found 2 errors. Watching for file changes. -12:00:33 AM - Found 2 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts"] @@ -125,11 +143,11 @@ Change:: Delete b.ts Output:: >> Screen clear -12:00:35 AM - File change detected. Starting incremental compilation... +[12:00:35 AM] File change detected. Starting incremental compilation... +[12:00:39 AM] Found 0 errors. Watching for file changes. -12:00:39 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts"] 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 f86054e4f93..39846bc9039 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 @@ -41,11 +41,11 @@ exports.__esModule = true; Output:: >> Screen clear -12:00:15 AM - Starting compilation in watch mode... +[12:00:15 AM] Starting compilation in watch mode... +[12:00:20 AM] Found 0 errors. Watching for file changes. -12:00:20 AM - Found 0 errors. Watching for file changes. Program root files: ["/a.ts","/b.ts","/a/lib/lib.d.ts"] @@ -86,13 +86,17 @@ Change:: Enable forceConsistentCasingInFileNames Output:: >> Screen clear -12:00:24 AM - File change detected. Starting incremental compilation... +[12:00:24 AM] File change detected. Starting incremental compilation... -b.ts(1,43): error TS1149: File name '/A.ts' differs from already included file name '/a.ts' only in casing. - +b.ts:1:43 - error TS1149: File name '/A.ts' differs from already included file name '/a.ts' only in casing. + +1 import {C} from './a'; import * as A from './A'; +   ~~~~~ + + +[12:00:25 AM] Found 1 error. Watching for file changes. -12:00:25 AM - Found 1 error. Watching for file changes. Program root files: ["/a.ts","/b.ts","/a/lib/lib.d.ts"] 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 52dbf686cf8..26e2b95740d 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 @@ -34,13 +34,17 @@ v === 'foo'; Output:: >> Screen clear -12:00:21 AM - Starting compilation in watch mode... +[12:00:21 AM] Starting compilation in watch mode... -a.ts(10,1): error TS2367: This condition will always return 'false' since the types '{ reallyLongPropertyName1: string | number | bigint | boolean | symbol | object; reallyLongPropertyName2: string | number | bigint | boolean | symbol | object; reallyLongPropertyName3: string | ... 4 more ... | object; reallyLongPropertyName4: string | ... 4 more ... | object; reallyLongPropertyName5: string | ... 4...' and 'string' have no overlap. - +a.ts:10:1 - error TS2367: This condition will always return 'false' since the types '{ reallyLongPropertyName1: string | number | bigint | boolean | symbol | object; reallyLongPropertyName2: string | number | bigint | boolean | symbol | object; reallyLongPropertyName3: string | ... 4 more ... | object; reallyLongPropertyName4: string | ... 4 more ... | object; reallyLongPropertyName5: string | ... 4...' and 'string' have no overlap. + +10 v === 'foo'; +  ~~~~~~~~~~~ + + +[12:00:24 AM] Found 1 error. Watching for file changes. -12:00:24 AM - Found 1 error. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts"] @@ -79,13 +83,17 @@ Change:: Enable noErrorTruncation Output:: >> Screen clear -12:00:28 AM - File change detected. Starting incremental compilation... +[12:00:28 AM] File change detected. Starting incremental compilation... -a.ts(10,1): error TS2367: This condition will always return 'false' since the types '{ reallyLongPropertyName1: string | number | bigint | boolean | symbol | object; reallyLongPropertyName2: string | number | bigint | boolean | symbol | object; reallyLongPropertyName3: string | number | bigint | boolean | symbol | object; reallyLongPropertyName4: string | number | bigint | boolean | symbol | object; reallyLongPropertyName5: string | number | bigint | boolean | symbol | object; reallyLongPropertyName6: string | number | bigint | boolean | symbol | object; reallyLongPropertyName7: string | number | bigint | boolean | symbol | object; }' and 'string' have no overlap. - +a.ts:10:1 - error TS2367: This condition will always return 'false' since the types '{ reallyLongPropertyName1: string | number | bigint | boolean | symbol | object; reallyLongPropertyName2: string | number | bigint | boolean | symbol | object; reallyLongPropertyName3: string | number | bigint | boolean | symbol | object; reallyLongPropertyName4: string | number | bigint | boolean | symbol | object; reallyLongPropertyName5: string | number | bigint | boolean | symbol | object; reallyLongPropertyName6: string | number | bigint | boolean | symbol | object; reallyLongPropertyName7: string | number | bigint | boolean | symbol | object; }' and 'string' have no overlap. + +10 v === 'foo'; +  ~~~~~~~~~~~ + + +[12:00:29 AM] Found 1 error. Watching for file changes. -12:00:29 AM - Found 1 error. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts"] 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 c5e20b3a245..56496aadaed 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 @@ -26,11 +26,11 @@ foo().hello; Output:: >> Screen clear -12:00:21 AM - Starting compilation in watch mode... +[12:00:21 AM] Starting compilation in watch mode... +[12:00:24 AM] Found 0 errors. Watching for file changes. -12:00:24 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts"] @@ -69,13 +69,17 @@ Change:: Enable strict null checks Output:: >> Screen clear -12:00:28 AM - File change detected. Starting incremental compilation... +[12:00:28 AM] File change detected. Starting incremental compilation... -a.ts(2,1): error TS2531: Object is possibly 'null'. - +a.ts:2:1 - error TS2531: Object is possibly 'null'. + +2 foo().hello +  ~~~~~ + + +[12:00:29 AM] Found 1 error. Watching for file changes. -12:00:29 AM - Found 1 error. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts"] @@ -114,13 +118,17 @@ Change:: Set always strict false Output:: >> Screen clear -12:00:33 AM - File change detected. Starting incremental compilation... +[12:00:33 AM] File change detected. Starting incremental compilation... -a.ts(2,1): error TS2531: Object is possibly 'null'. - +a.ts:2:1 - error TS2531: Object is possibly 'null'. + +2 foo().hello +  ~~~~~ + + +[12:00:34 AM] Found 1 error. Watching for file changes. -12:00:34 AM - Found 1 error. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts"] @@ -159,11 +167,11 @@ Change:: Disable strict Output:: >> Screen clear -12:00:38 AM - File change detected. Starting incremental compilation... +[12:00:38 AM] File change detected. Starting incremental compilation... +[12:00:39 AM] Found 0 errors. Watching for file changes. -12:00:39 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts"] 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 cdb44ab7162..d669ad19c97 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 @@ -29,13 +29,17 @@ exports.__esModule = true; Output:: >> Screen clear -12:00:23 AM - Starting compilation in watch mode... +[12:00:23 AM] Starting compilation in watch mode... -a.ts(1,23): error TS2732: Cannot find module './data.json'. Consider using '--resolveJsonModule' to import module with '.json' extension - +a.ts:1:23 - error TS2732: Cannot find module './data.json'. Consider using '--resolveJsonModule' to import module with '.json' extension + +1 import * as data from './data.json' +   ~~~~~~~~~~~~~ + + +[12:00:26 AM] Found 1 error. Watching for file changes. -12:00:26 AM - Found 1 error. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts"] @@ -79,11 +83,11 @@ Change:: Enable resolveJsonModule Output:: >> Screen clear -12:00:30 AM - File change detected. Starting incremental compilation... +[12:00:30 AM] File change detected. Starting incremental compilation... +[12:00:34 AM] Found 0 errors. Watching for file changes. -12:00:34 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts"] 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 eb5e29ab81f..e51a3a1bfbc 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 @@ -25,11 +25,11 @@ var a = 10; Output:: >> Screen clear -12:00:21 AM - Starting compilation in watch mode... +[12:00:21 AM] Starting compilation in watch mode... +[12:00:24 AM] Found 0 errors. Watching for file changes. -12:00:24 AM - Found 0 errors. Watching for file changes. Program root files: ["/home/username/project/src/file1.ts"] @@ -73,11 +73,11 @@ var a = 10; Output:: >> Screen clear -12:00:28 AM - File change detected. Starting incremental compilation... +[12:00:28 AM] File change detected. Starting incremental compilation... +[12:00:31 AM] Found 0 errors. Watching for file changes. -12:00:31 AM - Found 0 errors. Watching for file changes. Program root files: ["/home/username/project/src/file2.ts"] 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 7f1dfdf0e82..ee1196dc4cb 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 @@ -34,17 +34,29 @@ interface Document { Output:: >> Screen clear -12:00:23 AM - Starting compilation in watch mode... +[12:00:23 AM] Starting compilation in watch mode... -../../../../a/lib/lib.d.ts(13,14): error TS2687: All declarations of 'fullscreen' must have identical modifiers. - -a.ts(2,5): error TS2687: All declarations of 'fullscreen' must have identical modifiers. - -b.d.ts(2,5): error TS2687: All declarations of 'fullscreen' must have identical modifiers. - +../../../../a/lib/lib.d.ts:13:14 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. + +13 readonly fullscreen: boolean; +   ~~~~~~~~~~ + + +a.ts:2:5 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. + +2 fullscreen: boolean; +   ~~~~~~~~~~ + + +b.d.ts:2:5 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. + +2 fullscreen: boolean; +   ~~~~~~~~~~ + + +[12:00:26 AM] Found 3 errors. Watching for file changes. -12:00:26 AM - Found 3 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts"] @@ -87,13 +99,17 @@ Change:: Changing config to {"compilerOptions":{"skipLibCheck":true}} Output:: >> Screen clear -12:00:30 AM - File change detected. Starting incremental compilation... +[12:00:30 AM] File change detected. Starting incremental compilation... -a.ts(2,5): error TS2687: All declarations of 'fullscreen' must have identical modifiers. - +a.ts:2:5 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. + +2 fullscreen: boolean; +   ~~~~~~~~~~ + + +[12:00:31 AM] Found 1 error. Watching for file changes. -12:00:31 AM - Found 1 error. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts"] @@ -135,15 +151,23 @@ Change:: Changing config to {"compilerOptions":{"skipDefaultLibCheck":true}} Output:: >> Screen clear -12:00:35 AM - File change detected. Starting incremental compilation... +[12:00:35 AM] File change detected. Starting incremental compilation... -a.ts(2,5): error TS2687: All declarations of 'fullscreen' must have identical modifiers. - -b.d.ts(2,5): error TS2687: All declarations of 'fullscreen' must have identical modifiers. - +a.ts:2:5 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. + +2 fullscreen: boolean; +   ~~~~~~~~~~ + + +b.d.ts:2:5 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. + +2 fullscreen: boolean; +   ~~~~~~~~~~ + + +[12:00:36 AM] Found 2 errors. Watching for file changes. -12:00:36 AM - Found 2 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts"] @@ -185,17 +209,29 @@ Change:: Changing config to {"compilerOptions":{}} Output:: >> Screen clear -12:00:40 AM - File change detected. Starting incremental compilation... +[12:00:40 AM] File change detected. Starting incremental compilation... -../../../../a/lib/lib.d.ts(13,14): error TS2687: All declarations of 'fullscreen' must have identical modifiers. - -a.ts(2,5): error TS2687: All declarations of 'fullscreen' must have identical modifiers. - -b.d.ts(2,5): error TS2687: All declarations of 'fullscreen' must have identical modifiers. - +../../../../a/lib/lib.d.ts:13:14 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. + +13 readonly fullscreen: boolean; +   ~~~~~~~~~~ + + +a.ts:2:5 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. + +2 fullscreen: boolean; +   ~~~~~~~~~~ + + +b.d.ts:2:5 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. + +2 fullscreen: boolean; +   ~~~~~~~~~~ + + +[12:00:41 AM] Found 3 errors. Watching for file changes. -12:00:41 AM - Found 3 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts"] @@ -236,15 +272,23 @@ Change:: Changing config to {"compilerOptions":{"skipDefaultLibCheck":true}} Output:: >> Screen clear -12:00:45 AM - File change detected. Starting incremental compilation... +[12:00:45 AM] File change detected. Starting incremental compilation... -a.ts(2,5): error TS2687: All declarations of 'fullscreen' must have identical modifiers. - -b.d.ts(2,5): error TS2687: All declarations of 'fullscreen' must have identical modifiers. - +a.ts:2:5 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. + +2 fullscreen: boolean; +   ~~~~~~~~~~ + + +b.d.ts:2:5 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. + +2 fullscreen: boolean; +   ~~~~~~~~~~ + + +[12:00:46 AM] Found 2 errors. Watching for file changes. -12:00:46 AM - Found 2 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts"] @@ -285,13 +329,17 @@ Change:: Changing config to {"compilerOptions":{"skipLibCheck":true}} Output:: >> Screen clear -12:00:50 AM - File change detected. Starting incremental compilation... +[12:00:50 AM] File change detected. Starting incremental compilation... -a.ts(2,5): error TS2687: All declarations of 'fullscreen' must have identical modifiers. - +a.ts:2:5 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. + +2 fullscreen: boolean; +   ~~~~~~~~~~ + + +[12:00:51 AM] Found 1 error. Watching for file changes. -12:00:51 AM - Found 1 error. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts"] @@ -333,17 +381,29 @@ Change:: Changing config to {"compilerOptions":{}} Output:: >> Screen clear -12:00:55 AM - File change detected. Starting incremental compilation... +[12:00:55 AM] File change detected. Starting incremental compilation... -../../../../a/lib/lib.d.ts(13,14): error TS2687: All declarations of 'fullscreen' must have identical modifiers. - -a.ts(2,5): error TS2687: All declarations of 'fullscreen' must have identical modifiers. - -b.d.ts(2,5): error TS2687: All declarations of 'fullscreen' must have identical modifiers. - +../../../../a/lib/lib.d.ts:13:14 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. + +13 readonly fullscreen: boolean; +   ~~~~~~~~~~ + + +a.ts:2:5 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. + +2 fullscreen: boolean; +   ~~~~~~~~~~ + + +b.d.ts:2:5 - error TS2687: All declarations of 'fullscreen' must have identical modifiers. + +2 fullscreen: boolean; +   ~~~~~~~~~~ + + +[12:00:56 AM] Found 3 errors. Watching for file changes. -12:00:56 AM - Found 3 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts"] 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 5dbb0323093..f1bd9f9249f 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 @@ -35,11 +35,11 @@ var y = 1; Output:: >> Screen clear -12:00:17 AM - Starting compilation in watch mode... +[12:00:17 AM] Starting compilation in watch mode... +[12:00:22 AM] Found 0 errors. Watching for file changes. -12:00:22 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/commonFile1.ts","/a/b/commonFile2.ts"] @@ -78,11 +78,11 @@ Change:: Modify config without changing content Output:: >> Screen clear -12:00:25 AM - File change detected. Starting incremental compilation... +[12:00:25 AM] File change detected. Starting incremental compilation... +[12:00:26 AM] Found 0 errors. Watching for file changes. -12:00:26 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/commonFile1.ts","/a/b/commonFile2.ts"] 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 623aff0dbe6..4ce614c9b47 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 @@ -29,11 +29,11 @@ exports.__esModule = true; Output:: >> Screen clear -12:00:27 AM - Starting compilation in watch mode... +[12:00:27 AM] Starting compilation in watch mode... +[12:00:30 AM] Found 0 errors. Watching for file changes. -12:00:30 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/test.ts"] 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 881cded07eb..9cc74754ada 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 @@ -29,11 +29,11 @@ exports.__esModule = true; Output:: >> Screen clear -12:00:27 AM - Starting compilation in watch mode... +[12:00:27 AM] Starting compilation in watch mode... +[12:00:30 AM] Found 0 errors. Watching for file changes. -12:00:30 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/test.ts"] 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 e5d2c331928..5efdeb8a51f 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 @@ -25,13 +25,14 @@ myapp.component("hello"); Output:: >> Screen clear -12:00:23 AM - Starting compilation in watch mode... +[12:00:23 AM] Starting compilation in watch mode... -error TS2688: Cannot find type definition file for '@myapp/ts-types'. - +error TS2688: Cannot find type definition file for '@myapp/ts-types'. + + +[12:00:26 AM] Found 1 error. Watching for file changes. -12:00:26 AM - Found 1 error. Watching for file changes. Program root files: ["/user/username/projects/myproject/lib/app.ts"] @@ -75,11 +76,11 @@ declare namespace myapp { Output:: >> Screen clear -12:00:39 AM - File change detected. Starting incremental compilation... +[12:00:39 AM] File change detected. Starting incremental compilation... +[12:00:43 AM] Found 0 errors. Watching for file changes. -12:00:43 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/lib/app.ts"] 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 6bb057a3efe..09189652cdb 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 @@ -36,11 +36,11 @@ exports.__esModule = true; Output:: >> Screen clear -12:00:39 AM - Starting compilation in watch mode... +[12:00:39 AM] Starting compilation in watch mode... +[12:00:42 AM] Found 0 errors. Watching for file changes. -12:00:42 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/main/index.ts"] 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 a0d2d739058..44d877463a4 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 @@ -35,13 +35,17 @@ exports.__esModule = true; Output:: >> Screen clear -12:00:15 AM - Starting compilation in watch mode... +[12:00:15 AM] Starting compilation in watch mode... -foo.ts(2,21): error TS2307: Cannot find module 'fs'. - +foo.ts:2:21 - error TS2307: Cannot find module 'fs'. + +2 import * as fs from "fs"; +   ~~~~ + + +[12:00:18 AM] Found 1 error. Watching for file changes. -12:00:18 AM - Found 1 error. Watching for file changes. Program root files: ["/a/b/foo.ts","/a/b/bar.d.ts"] @@ -95,11 +99,11 @@ declare module "fs" { Output:: >> Screen clear -12:00:21 AM - File change detected. Starting incremental compilation... +[12:00:21 AM] File change detected. Starting incremental compilation... +[12:00:25 AM] Found 0 errors. Watching for file changes. -12:00:25 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/foo.ts","/a/b/bar.d.ts"] 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 e93bcb946e1..bb10ad2c313 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 @@ -23,13 +23,17 @@ exports.__esModule = true; Output:: >> Screen clear -12:00:13 AM - Starting compilation in watch mode... +[12:00:13 AM] Starting compilation in watch mode... -foo.ts(1,21): error TS2307: Cannot find module 'fs'. - +foo.ts:1:21 - error TS2307: Cannot find module 'fs'. + +1 import * as fs from "fs"; +   ~~~~ + + +[12:00:16 AM] Found 1 error. Watching for file changes. -12:00:16 AM - Found 1 error. Watching for file changes. Program root files: ["/a/b/foo.ts"] @@ -79,11 +83,11 @@ declare module "fs" { Output:: >> Screen clear -12:00:27 AM - File change detected. Starting incremental compilation... +[12:00:27 AM] File change detected. Starting incremental compilation... +[12:00:31 AM] Found 0 errors. Watching for file changes. -12:00:31 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/foo.ts"] 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 cfdc90ebda8..d9706b77da0 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 @@ -26,13 +26,17 @@ exports.__esModule = true; Output:: >> Screen clear -12:00:27 AM - Starting compilation in watch mode... +[12:00:27 AM] Starting compilation in watch mode... -a.ts(1,20): error TS2307: Cannot find module 'qqq'. - +a.ts:1:20 - error TS2307: Cannot find module 'qqq'. + +1 import * as q from "qqq"; +   ~~~~~ + + +[12:00:30 AM] Found 1 error. Watching for file changes. -12:00:30 AM - Found 1 error. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts"] @@ -71,11 +75,11 @@ export {} Output:: >> Screen clear -12:00:34 AM - File change detected. Starting incremental compilation... +[12:00:34 AM] File change detected. Starting incremental compilation... +[12:00:38 AM] Found 0 errors. Watching for file changes. -12:00:38 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/a.ts"] 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 b201e329fda..89679dca449 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 @@ -43,11 +43,11 @@ module11("hello"); Output:: >> Screen clear -12:00:29 AM - Starting compilation in watch mode... +[12:00:29 AM] Starting compilation in watch mode... +[12:00:37 AM] Found 0 errors. Watching for file changes. -12:00:37 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/projects/myProject/src/file1.ts","/a/b/projects/myProject/src/file2.ts"] @@ -110,11 +110,11 @@ module1("hello"); Output:: >> Screen clear -12:00:40 AM - File change detected. Starting incremental compilation... +[12:00:40 AM] File change detected. Starting incremental compilation... +[12:00:44 AM] Found 0 errors. Watching for file changes. -12:00:44 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/projects/myProject/src/file1.ts","/a/b/projects/myProject/src/file2.ts"] 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 3cc85be95ae..a06ca8733ce 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 @@ -24,11 +24,11 @@ interface Array { length: number; [n: number]: T; } Output:: >> Screen clear -12:00:19 AM - Starting compilation in watch mode... +[12:00:19 AM] Starting compilation in watch mode... +[12:00:22 AM] Found 0 errors. Watching for file changes. -12:00:22 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/username/project/src/file1.ts"] @@ -67,11 +67,11 @@ Change:: Rename file1 to file2 Output:: >> Screen clear -12:00:26 AM - File change detected. Starting incremental compilation... +[12:00:26 AM] File change detected. Starting incremental compilation... +[12:00:29 AM] Found 0 errors. Watching for file changes. -12:00:29 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/username/project/src/file2.ts"] 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 9f5bec3a09f..2a79ce7e351 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 @@ -24,11 +24,11 @@ interface Array { length: number; [n: number]: T; } Output:: >> Screen clear -12:00:19 AM - Starting compilation in watch mode... +[12:00:19 AM] Starting compilation in watch mode... +[12:00:22 AM] Found 0 errors. Watching for file changes. -12:00:22 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/username/project/src/file1.ts"] @@ -73,11 +73,11 @@ Change:: Rename file1 to file2 Output:: >> Screen clear -12:00:26 AM - File change detected. Starting incremental compilation... +[12:00:26 AM] File change detected. Starting incremental compilation... +[12:00:29 AM] Found 0 errors. Watching for file changes. -12:00:29 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/username/project/src/file2.ts"] 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 6f1f34fed86..6fa14c6d54d 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 @@ -24,11 +24,11 @@ interface Array { length: number; [n: number]: T; } Output:: >> Screen clear -12:00:19 AM - Starting compilation in watch mode... +[12:00:19 AM] Starting compilation in watch mode... +[12:00:22 AM] Found 0 errors. Watching for file changes. -12:00:22 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/username/project/src/file1.ts"] @@ -73,11 +73,11 @@ Change:: Rename file1 to file2 Output:: >> Screen clear -12:00:26 AM - File change detected. Starting incremental compilation... +[12:00:26 AM] File change detected. Starting incremental compilation... +[12:00:29 AM] Found 0 errors. Watching for file changes. -12:00:29 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/username/project/src/file2.ts"] 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 14febdc58fb..7c71ca719af 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 @@ -35,8 +35,7 @@ exports.__esModule = true; Output:: - -12:00:45 AM - Starting compilation in watch mode... +[12:00:45 AM] Starting compilation in watch mode... Current directory: /home/user/projects/myproject CaseSensitiveFileNames: false @@ -95,8 +94,8 @@ DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject/node_modules Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject/node_modules/@types 1 undefined Type roots +[12:00:48 AM] Found 0 errors. Watching for file changes. -12:00:48 AM - Found 0 errors. Watching for file changes. DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject 1 undefined Wild card directory 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 ee522c1f8ac..7da98787997 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 @@ -29,11 +29,11 @@ exports.__esModule = true; Output:: >> Screen clear -12:00:29 AM - Starting compilation in watch mode... +[12:00:29 AM] Starting compilation in watch mode... +[12:00:32 AM] Found 0 errors. Watching for file changes. -12:00:32 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/src/file1.ts"] @@ -79,11 +79,11 @@ Change:: Pending updates because of file1.js creation Output:: >> Screen clear -12:00:33 AM - File change detected. Starting incremental compilation... +[12:00:33 AM] File change detected. Starting incremental compilation... +[12:00:34 AM] Found 0 errors. Watching for file changes. -12:00:34 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/src/file1.ts"] @@ -128,13 +128,17 @@ Change:: Remove directory node_modules Output:: >> Screen clear -12:00:38 AM - File change detected. Starting incremental compilation... +[12:00:38 AM] File change detected. Starting incremental compilation... -user/username/projects/myproject/src/file1.ts(1,19): error TS2307: Cannot find module 'file2'. - +user/username/projects/myproject/src/file1.ts:1:19 - error TS2307: Cannot find module 'file2'. + +1 import { x } from "file2"; +   ~~~~~~~ + + +[12:00:42 AM] Found 1 error. Watching for file changes. -12:00:42 AM - Found 1 error. Watching for file changes. Program root files: ["/user/username/projects/myproject/src/file1.ts"] @@ -173,13 +177,17 @@ Change:: Pending directory watchers and program update Output:: >> Screen clear -12:00:43 AM - File change detected. Starting incremental compilation... +[12:00:43 AM] File change detected. Starting incremental compilation... -user/username/projects/myproject/src/file1.ts(1,19): error TS2307: Cannot find module 'file2'. - +user/username/projects/myproject/src/file1.ts:1:19 - error TS2307: Cannot find module 'file2'. + +1 import { x } from "file2"; +   ~~~~~~~ + + +[12:00:44 AM] Found 1 error. Watching for file changes. -12:00:44 AM - Found 1 error. Watching for file changes. Program root files: ["/user/username/projects/myproject/src/file1.ts"] @@ -331,11 +339,11 @@ Change:: Pending updates Output:: >> Screen clear -12:00:51 AM - File change detected. Starting incremental compilation... +[12:00:51 AM] File change detected. Starting incremental compilation... +[12:00:55 AM] Found 0 errors. Watching for file changes. -12:00:55 AM - Found 0 errors. Watching for file changes. Program root files: ["/user/username/projects/myproject/src/file1.ts"] 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 61398bf7f3b..a5a414e5bc0 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 @@ -22,11 +22,11 @@ var z = 10; Output:: >> Screen clear -12:00:15 AM - Starting compilation in watch mode... +[12:00:15 AM] Starting compilation in watch mode... +[12:00:18 AM] Found 0 errors. Watching for file changes. -12:00:18 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/username/project/typescript.ts"] @@ -85,11 +85,11 @@ var zz30 = 100; Output:: >> Screen clear -12:00:22 AM - File change detected. Starting incremental compilation... +[12:00:22 AM] File change detected. Starting incremental compilation... +[12:00:26 AM] Found 0 errors. Watching for file changes. -12:00:26 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/username/project/typescript.ts"] 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 d664d227368..af9d83b410c 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-fallbackPolling-option.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-fallbackPolling-option.js @@ -32,11 +32,11 @@ var y = 1; Output:: >> Screen clear -12:00:17 AM - Starting compilation in watch mode... +[12:00:17 AM] Starting compilation in watch mode... +[12:00:22 AM] Found 0 errors. Watching for file changes. -12:00:22 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/commonFile1.ts","/a/b/commonFile2.ts"] 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 85c1826fd10..c602b440502 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-watchDirectory-option.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-watchDirectory-option.js @@ -32,11 +32,11 @@ var y = 1; Output:: >> Screen clear -12:00:17 AM - Starting compilation in watch mode... +[12:00:17 AM] Starting compilation in watch mode... +[12:00:22 AM] Found 0 errors. Watching for file changes. -12:00:22 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/commonFile1.ts","/a/b/commonFile2.ts"] 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 532fbdd357e..6da07d029e0 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 @@ -32,11 +32,11 @@ var y = 1; Output:: >> Screen clear -12:00:17 AM - Starting compilation in watch mode... +[12:00:17 AM] Starting compilation in watch mode... +[12:00:22 AM] Found 0 errors. Watching for file changes. -12:00:22 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/commonFile1.ts","/a/b/commonFile2.ts"] 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 fc7edb0e539..1a34046c572 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-watchFile-option.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-watchFile-option.js @@ -32,11 +32,11 @@ var y = 1; Output:: >> Screen clear -12:00:17 AM - Starting compilation in watch mode... +[12:00:17 AM] Starting compilation in watch mode... +[12:00:22 AM] Found 0 errors. Watching for file changes. -12:00:22 AM - Found 0 errors. Watching for file changes. Program root files: ["/a/b/commonFile1.ts","/a/b/commonFile2.ts"]