Report on outDir and/or DeclarationDir

This commit is contained in:
Sheetal Nandi
2025-10-01 12:00:41 -07:00
parent 1f2989eae8
commit 00f890805d
35 changed files with 413 additions and 115 deletions
+9 -4
View File
@@ -4269,10 +4269,15 @@ export function createProgram(_rootNamesOrOptions: readonly string[] | CreatePro
const dir59 = getComputedCommonSourceDirectory(emittedFiles, currentDirectory, getCanonicalFileName);
if (dir59 !== "" && getCanonicalFileName(dir) !== getCanonicalFileName(dir59)) {
// change in layout
programDiagnostics.addConfigDiagnostic(createCompilerDiagnosticFromMessageChain(chainDiagnosticMessages(
chainDiagnosticMessages(/*details*/ undefined, Diagnostics.Visit_https_Colon_Slash_Slashaka_ms_Slashts6_for_migration_information),
Diagnostics.Inferred_common_source_directory_differs_from_tsconfig_directory_output_layout_will_be_changed,
)));
createDiagnosticForOption(
/*onKey*/ true,
options.outDir ? "outDir" : "declarationDir",
options.outDir ? "declarationDir" : undefined,
chainDiagnosticMessages(
chainDiagnosticMessages(/*details*/ undefined, Diagnostics.Visit_https_Colon_Slash_Slashaka_ms_Slashts6_for_migration_information),
Diagnostics.Inferred_common_source_directory_differs_from_tsconfig_directory_output_layout_will_be_changed,
),
);
}
}
@@ -32,16 +32,17 @@ export {};
//// [DtsFileErrors]
error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
/app/tsconfig.json(3,9): error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
Visit https://aka.ms/ts6 for migration information.
!!! error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
!!! error TS5011: Visit https://aka.ms/ts6 for migration information.
==== /app/tsconfig.json (0 errors) ====
==== /app/tsconfig.json (1 errors) ====
{
"compilerOptions": {
"outDir": "bin",
~~~~~~~~
!!! error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
!!! error TS5011: Visit https://aka.ms/ts6 for migration information.
"typeRoots": ["../types"],
"sourceMap": true,
"mapRoot": "myMapRoot",
@@ -1,13 +1,14 @@
error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
/app/tsconfig.json(3,9): error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
Visit https://aka.ms/ts6 for migration information.
!!! error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
!!! error TS5011: Visit https://aka.ms/ts6 for migration information.
==== /app/tsconfig.json (0 errors) ====
==== /app/tsconfig.json (1 errors) ====
{
"compilerOptions": {
"outDir": "bin",
~~~~~~~~
!!! error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
!!! error TS5011: Visit https://aka.ms/ts6 for migration information.
"sourceMap": true,
"mapRoot": "myMapRoot",
"sourceRoot": "mySourceRoot",
@@ -1,17 +1,18 @@
error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
/tsconfig.json(5,5): error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
Visit https://aka.ms/ts6 for migration information.
/tsconfig.json(6,5): error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
Visit https://aka.ms/ts6 for migration information.
!!! error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
!!! error TS5011: Visit https://aka.ms/ts6 for migration information.
==== /tsconfig.json (1 errors) ====
==== /tsconfig.json (2 errors) ====
{
"compilerOptions": {
"module": "nodenext",
"declaration": true,
"outDir": "temp",
~~~~~~~~
!!! error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
!!! error TS5011: Visit https://aka.ms/ts6 for migration information.
"baseUrl": "."
~~~~~~~~~
!!! error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
@@ -1,15 +1,16 @@
error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
packages/b/tsconfig.json(3,9): error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
Visit https://aka.ms/ts6 for migration information.
packages/b/tsconfig.json(5,9): error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
Visit https://aka.ms/ts6 for migration information.
!!! error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
!!! error TS5011: Visit https://aka.ms/ts6 for migration information.
==== packages/b/tsconfig.json (1 errors) ====
==== packages/b/tsconfig.json (2 errors) ====
{
"compilerOptions": {
"outDir": "dist",
~~~~~~~~
!!! error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
!!! error TS5011: Visit https://aka.ms/ts6 for migration information.
"declaration": true,
"baseUrl": ".",
~~~~~~~~~
@@ -1,15 +1,16 @@
error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
packages/lab/tsconfig.json(3,9): error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
Visit https://aka.ms/ts6 for migration information.
packages/lab/tsconfig.json(5,9): error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
Visit https://aka.ms/ts6 for migration information.
!!! error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
!!! error TS5011: Visit https://aka.ms/ts6 for migration information.
==== packages/lab/tsconfig.json (1 errors) ====
==== packages/lab/tsconfig.json (2 errors) ====
{
"compilerOptions": {
"outDir": "dist",
~~~~~~~~
!!! error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
!!! error TS5011: Visit https://aka.ms/ts6 for migration information.
"declaration": true,
"baseUrl": "../",
~~~~~~~~~
@@ -22,14 +22,15 @@ export default Foo;
//// [DtsFileErrors]
error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
/foo/tsconfig.json(2,47): error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
Visit https://aka.ms/ts6 for migration information.
!!! error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
!!! error TS5011: Visit https://aka.ms/ts6 for migration information.
==== /foo/tsconfig.json (0 errors) ====
==== /foo/tsconfig.json (1 errors) ====
{
"compilerOptions": { "declaration": true, "declarationDir": "out" }
~~~~~~~~~~~~~~~~
!!! error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
!!! error TS5011: Visit https://aka.ms/ts6 for migration information.
}
@@ -1,16 +1,14 @@
error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
Visit https://aka.ms/ts6 for migration information.
error TS5055: Cannot write file '/bar.js' because it would overwrite input file.
/root/tsconfig.json(3,9): error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
Visit https://aka.ms/ts6 for migration information.
/root/tsconfig.json(8,9): error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
Visit https://aka.ms/ts6 for migration information.
/root/a.ts(1,21): error TS6059: File '/foo.ts' is not under 'rootDir' '/root'. 'rootDir' is expected to contain all source files.
/root/a.ts(2,21): error TS6059: File '/bar.js' is not under 'rootDir' '/root'. 'rootDir' is expected to contain all source files.
!!! error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
!!! error TS5011: Visit https://aka.ms/ts6 for migration information.
!!! error TS5055: Cannot write file '/bar.js' because it would overwrite input file.
==== /root/tsconfig.json (1 errors) ====
==== /root/tsconfig.json (2 errors) ====
{
"compilerOptions": {
"baseUrl": ".",
@@ -22,6 +20,9 @@ error TS5055: Cannot write file '/bar.js' because it would overwrite input file.
},
"allowJs": true,
"outDir": "bin"
~~~~~~~~
!!! error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
!!! error TS5011: Visit https://aka.ms/ts6 for migration information.
}
}
@@ -1,16 +1,14 @@
error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
Visit https://aka.ms/ts6 for migration information.
error TS5055: Cannot write file '/bar.js' because it would overwrite input file.
/root/tsconfig.json(3,9): error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
Visit https://aka.ms/ts6 for migration information.
/root/tsconfig.json(8,9): error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
Visit https://aka.ms/ts6 for migration information.
/root/a.ts(1,21): error TS6059: File '/foo.ts' is not under 'rootDir' '/root'. 'rootDir' is expected to contain all source files.
/root/a.ts(2,21): error TS6059: File '/bar.js' is not under 'rootDir' '/root'. 'rootDir' is expected to contain all source files.
!!! error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
!!! error TS5011: Visit https://aka.ms/ts6 for migration information.
!!! error TS5055: Cannot write file '/bar.js' because it would overwrite input file.
==== /root/tsconfig.json (1 errors) ====
==== /root/tsconfig.json (2 errors) ====
{
"compilerOptions": {
"baseUrl": ".",
@@ -22,6 +20,9 @@ error TS5055: Cannot write file '/bar.js' because it would overwrite input file.
},
"allowJs": true,
"outDir": "bin"
~~~~~~~~
!!! error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
!!! error TS5011: Visit https://aka.ms/ts6 for migration information.
}
}
@@ -34,9 +34,12 @@ Output::
[HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'...
error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
tsconfig.json:3:5 - error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
Visit https://aka.ms/ts6 for migration information.
3 "outDir": "dist"
   ~~~~~~~~
Found 1 error.
@@ -78,9 +81,12 @@ Output::
[HH:MM:SS AM] Building project '/home/src/workspaces/project/tsconfig.json'...
error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
tsconfig.json:3:5 - error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
Visit https://aka.ms/ts6 for migration information.
3 "outDir": "dist"
   ~~~~~~~~
Found 1 error.
@@ -98,11 +104,14 @@ Input::
/home/src/tslibs/TS/Lib/tsc.js -p /home/src/workspaces/project/tsconfig.json
Output::
error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
tsconfig.json:3:5 - error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
Visit https://aka.ms/ts6 for migration information.
3 "outDir": "dist"
   ~~~~~~~~
Found 1 error.
Found 1 error in tsconfig.json:3
@@ -51,15 +51,18 @@ Output::
[HH:MM:SS AM] Building project '/home/src/workspaces/solution/project/tsconfig.json'...
error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
Visit https://aka.ms/ts6 for migration information.
project/tsconfig.json:3:25 - error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
Visit https://aka.ms/ts6 for migration information.
3 "moduleResolution": "node",
   ~~~~~~
project/tsconfig.json:8:5 - error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
Visit https://aka.ms/ts6 for migration information.
8 "outDir": "dist",
   ~~~~~~~~
TSFILE: /home/src/workspaces/solution/project/dist/src/hello.json
TSFILE: /home/src/workspaces/solution/project/dist/src/index.js
TSFILE: /home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo
@@ -53,15 +53,18 @@ Output::
[HH:MM:SS AM] Building project '/home/src/workspaces/solution/project/tsconfig.json'...
error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
Visit https://aka.ms/ts6 for migration information.
project/tsconfig.json:3:25 - error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
Visit https://aka.ms/ts6 for migration information.
3 "moduleResolution": "node",
   ~~~~~~
project/tsconfig.json:8:5 - error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
Visit https://aka.ms/ts6 for migration information.
8 "outDir": "dist",
   ~~~~~~~~
TSFILE: /home/src/workspaces/solution/project/dist/src/hello.json
TSFILE: /home/src/workspaces/solution/project/dist/src/index.js
TSFILE: /home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo
@@ -51,15 +51,18 @@ Output::
[HH:MM:SS AM] Building project '/home/src/workspaces/solution/project/tsconfig.json'...
error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
Visit https://aka.ms/ts6 for migration information.
project/tsconfig.json:3:25 - error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
Visit https://aka.ms/ts6 for migration information.
3 "moduleResolution": "node",
   ~~~~~~
project/tsconfig.json:8:5 - error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
Visit https://aka.ms/ts6 for migration information.
8 "outDir": "dist",
   ~~~~~~~~
TSFILE: /home/src/workspaces/solution/project/dist/src/index.json
TSFILE: /home/src/workspaces/solution/project/dist/src/index.js
TSFILE: /home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo
@@ -51,15 +51,18 @@ Output::
[HH:MM:SS AM] Building project '/home/src/workspaces/solution/project/tsconfig.json'...
error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
Visit https://aka.ms/ts6 for migration information.
project/tsconfig.json:3:25 - error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
Visit https://aka.ms/ts6 for migration information.
3 "moduleResolution": "node",
   ~~~~~~
project/tsconfig.json:8:5 - error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
Visit https://aka.ms/ts6 for migration information.
8 "outDir": "dist",
   ~~~~~~~~
TSFILE: /home/src/workspaces/solution/project/dist/src/hello.json
TSFILE: /home/src/workspaces/solution/project/dist/src/index.js
TSFILE: /home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo
@@ -50,15 +50,18 @@ Output::
[HH:MM:SS AM] Building project '/home/src/workspaces/solution/project/tsconfig.json'...
error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
Visit https://aka.ms/ts6 for migration information.
project/tsconfig.json:3:25 - error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
Visit https://aka.ms/ts6 for migration information.
3 "moduleResolution": "node",
   ~~~~~~
project/tsconfig.json:8:5 - error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
Visit https://aka.ms/ts6 for migration information.
8 "outDir": "dist",
   ~~~~~~~~
TSFILE: /home/src/workspaces/solution/project/dist/src/hello.json
TSFILE: /home/src/workspaces/solution/project/dist/src/index.js
TSFILE: /home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo
@@ -50,15 +50,18 @@ Output::
[HH:MM:SS AM] Building project '/home/src/workspaces/solution/project/tsconfig.json'...
error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
Visit https://aka.ms/ts6 for migration information.
project/tsconfig.json:3:25 - error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
Visit https://aka.ms/ts6 for migration information.
3 "moduleResolution": "node",
   ~~~~~~
project/tsconfig.json:8:5 - error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
Visit https://aka.ms/ts6 for migration information.
8 "outDir": "dist",
   ~~~~~~~~
TSFILE: /home/src/workspaces/solution/project/dist/src/index.js
TSFILE: /home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo
../../tslibs/TS/Lib/lib.d.ts
@@ -52,15 +52,18 @@ Output::
[HH:MM:SS AM] Building project '/home/src/workspaces/solution/project/tsconfig.json'...
error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
Visit https://aka.ms/ts6 for migration information.
project/tsconfig.json:3:25 - error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
Visit https://aka.ms/ts6 for migration information.
3 "moduleResolution": "node",
   ~~~~~~
project/tsconfig.json:8:5 - error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
Visit https://aka.ms/ts6 for migration information.
8 "outDir": "dist",
   ~~~~~~~~
TSFILE: /home/src/workspaces/solution/project/dist/src/hello.json
TSFILE: /home/src/workspaces/solution/project/dist/src/index.js
TSFILE: /home/src/workspaces/solution/project/dist/src/index.js.map
@@ -126,15 +129,18 @@ Output::
[HH:MM:SS AM] Building project '/home/src/workspaces/solution/project/tsconfig.json'...
error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
Visit https://aka.ms/ts6 for migration information.
project/tsconfig.json:3:25 - error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
Visit https://aka.ms/ts6 for migration information.
3 "moduleResolution": "node",
   ~~~~~~
project/tsconfig.json:8:5 - error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
Visit https://aka.ms/ts6 for migration information.
8 "outDir": "dist",
   ~~~~~~~~
TSFILE: /home/src/workspaces/solution/project/dist/src/hello.json
TSFILE: /home/src/workspaces/solution/project/dist/src/index.js
TSFILE: /home/src/workspaces/solution/project/dist/src/index.js.map
@@ -95,9 +95,12 @@ declare const console: { log(msg: any): void; };
D:\home\src\tslibs\TS\Lib\tsc.js -p D:\Work\pkg1 --explainFiles
Output::
error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
tsconfig.json:13:5 - error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
Visit https://aka.ms/ts6 for migration information.
13 "outDir": "./dist",
   ~~~~~~~~
tsconfig.json:14:5 - error TS5101: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
Visit https://aka.ms/ts6 for migration information.
@@ -121,7 +124,7 @@ src/utils/index.ts
src/main.ts
Matched by include pattern 'src' in 'tsconfig.json'
Found 3 errors in the same file, starting at: tsconfig.json:14
Found 3 errors in the same file, starting at: tsconfig.json:13
@@ -304,9 +304,6 @@ Resolving real path for '/home/src/projects/component-type-checker/node_modules/
======== Module name '@component-type-checker/button' was successfully resolved to '/home/src/projects/component-type-checker/node_modules/.pnpm/@component-type-checker+button@0.0.2/node_modules/@component-type-checker/button/src/index.ts' with Package ID '@component-type-checker/button/src/index.ts@0.0.2'. ========
File '/home/src/projects/component-type-checker/node_modules/.pnpm/@component-type-checker+button@0.0.2/node_modules/@component-type-checker/button/src/package.json' does not exist.
Found 'package.json' at '/home/src/projects/component-type-checker/node_modules/.pnpm/@component-type-checker+button@0.0.2/node_modules/@component-type-checker/button/package.json'.
error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
Visit https://aka.ms/ts6 for migration information.
tsconfig.json:8:25 - error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
Visit https://aka.ms/ts6 for migration information.
@@ -319,6 +316,12 @@ Found 'package.json' at '/home/src/projects/component-type-checker/node_modules/
9 "baseUrl": ".",
   ~~~~~~~~~
tsconfig.json:10:5 - error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
Visit https://aka.ms/ts6 for migration information.
10 "outDir": "dist"
   ~~~~~~~~
../../../../tslibs/TS/Lib/lib.es5.d.ts
Library 'lib.es5.d.ts' specified in compilerOptions
../../node_modules/.pnpm/@component-type-checker+button@0.0.1/node_modules/@component-type-checker/button/src/index.ts
@@ -46,9 +46,12 @@ Output::
>> Screen clear
[HH:MM:SS AM] Starting compilation in watch mode...
error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
tsconfig.json:3:5 - error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
Visit https://aka.ms/ts6 for migration information.
3 "outDir": "../output",
   ~~~~~~~~
[HH:MM:SS AM] Found 1 error. Watching for file changes.
@@ -38,9 +38,12 @@ Output::
>> Screen clear
[HH:MM:SS AM] Starting compilation in watch mode...
error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
tsconfig.json:5:5 - error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
Visit https://aka.ms/ts6 for migration information.
5 "outDir": "Static/scripts/"
   ~~~~~~~~
[HH:MM:SS AM] Found 1 error. Watching for file changes.
@@ -123,9 +126,12 @@ Output::
>> Screen clear
[HH:MM:SS AM] File change detected. Starting incremental compilation...
error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
tsconfig.json:5:5 - error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
Visit https://aka.ms/ts6 for migration information.
5 "outDir": "Static/scripts/"
   ~~~~~~~~
[HH:MM:SS AM] Found 1 error. Watching for file changes.
@@ -48,9 +48,12 @@ Output::
>> Screen clear
[HH:MM:SS AM] Starting compilation in watch mode...
error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
tsconfig.json:7:5 - error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
Visit https://aka.ms/ts6 for migration information.
7 "outDir": "../dist"
   ~~~~~~~~
[HH:MM:SS AM] Found 1 error. Watching for file changes.
@@ -147,9 +150,12 @@ Output::
>> Screen clear
[HH:MM:SS AM] File change detected. Starting incremental compilation...
error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
tsconfig.json:7:5 - error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
Visit https://aka.ms/ts6 for migration information.
7 "outDir": "../dist"
   ~~~~~~~~
[HH:MM:SS AM] Found 1 error. Watching for file changes.
@@ -33,9 +33,12 @@ Output::
>> Screen clear
[HH:MM:SS AM] Starting compilation in watch mode...
error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
tsconfig.json:3:5 - error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
Visit https://aka.ms/ts6 for migration information.
3 "outDir": "dist"
   ~~~~~~~~
[HH:MM:SS AM] Found 1 error. Watching for file changes.
@@ -162,13 +165,16 @@ Output::
>> Screen clear
[HH:MM:SS AM] File change detected. Starting incremental compilation...
error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
Visit https://aka.ms/ts6 for migration information.
error TS6053: File '/user/username/projects/myproject/src/file2.ts' not found.
The file is in the program because:
Matched by default include pattern '**/*'
tsconfig.json:3:5 - error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
Visit https://aka.ms/ts6 for migration information.
3 "outDir": "dist"
   ~~~~~~~~
[HH:MM:SS AM] Found 2 errors. Watching for file changes.
@@ -248,9 +254,12 @@ Output::
>> Screen clear
[HH:MM:SS AM] File change detected. Starting incremental compilation...
error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
tsconfig.json:3:5 - error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
Visit https://aka.ms/ts6 for migration information.
3 "outDir": "dist"
   ~~~~~~~~
[HH:MM:SS AM] Found 1 error. Watching for file changes.
@@ -34,9 +34,12 @@ Output::
>> Screen clear
[HH:MM:SS AM] Starting compilation in watch mode...
error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
tsconfig.json:3:5 - error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
Visit https://aka.ms/ts6 for migration information.
3 "outDir": "dist",
   ~~~~~~~~
[HH:MM:SS AM] Found 1 error. Watching for file changes.
@@ -157,9 +160,12 @@ Output::
>> Screen clear
[HH:MM:SS AM] File change detected. Starting incremental compilation...
error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
tsconfig.json:3:5 - error TS5011: Inferred common source directory differs from tsconfig directory, output layout will be changed.
Visit https://aka.ms/ts6 for migration information.
3 "outDir": "dist",
   ~~~~~~~~
[HH:MM:SS AM] Found 1 error. Watching for file changes.
@@ -271,11 +271,6 @@ Info seq [hh:mm:ss:mss] event:
}
]
},
{
"text": "Inferred common source directory differs from tsconfig directory, output layout will be changed.\n Visit https://aka.ms/ts6 for migration information.",
"code": 5011,
"category": "error"
},
{
"start": {
"line": 7,
@@ -290,6 +285,20 @@ Info seq [hh:mm:ss:mss] event:
"category": "error",
"fileName": "/Users/someuser/work/applications/frontend/tsconfig.json"
},
{
"start": {
"line": 17,
"offset": 5
},
"end": {
"line": 17,
"offset": 13
},
"text": "Inferred common source directory differs from tsconfig directory, output layout will be changed.\n Visit https://aka.ms/ts6 for migration information.",
"code": 5011,
"category": "error",
"fileName": "/Users/someuser/work/applications/frontend/tsconfig.json"
},
{
"start": {
"line": 22,
@@ -271,11 +271,6 @@ Info seq [hh:mm:ss:mss] event:
}
]
},
{
"text": "Inferred common source directory differs from tsconfig directory, output layout will be changed.\n Visit https://aka.ms/ts6 for migration information.",
"code": 5011,
"category": "error"
},
{
"start": {
"line": 7,
@@ -290,6 +285,20 @@ Info seq [hh:mm:ss:mss] event:
"category": "error",
"fileName": "/Users/someuser/work/applications/frontend/tsconfig.json"
},
{
"start": {
"line": 17,
"offset": 5
},
"end": {
"line": 17,
"offset": 13
},
"text": "Inferred common source directory differs from tsconfig directory, output layout will be changed.\n Visit https://aka.ms/ts6 for migration information.",
"code": 5011,
"category": "error",
"fileName": "/Users/someuser/work/applications/frontend/tsconfig.json"
},
{
"start": {
"line": 22,
@@ -341,9 +341,18 @@ Info seq [hh:mm:ss:mss] event:
"configFile": "/user/username/projects/myproject/tsconfig.json",
"diagnostics": [
{
"start": {
"line": 3,
"offset": 5
},
"end": {
"line": 3,
"offset": 13
},
"text": "Inferred common source directory differs from tsconfig directory, output layout will be changed.\n Visit https://aka.ms/ts6 for migration information.",
"code": 5011,
"category": "error"
"category": "error",
"fileName": "/user/username/projects/myproject/tsconfig.json"
},
{
"start": {
@@ -1323,9 +1332,18 @@ Info seq [hh:mm:ss:mss] event:
"configFile": "/user/username/projects/myproject/tsconfig.json",
"diagnostics": [
{
"start": {
"line": 3,
"offset": 5
},
"end": {
"line": 3,
"offset": 13
},
"text": "Inferred common source directory differs from tsconfig directory, output layout will be changed.\n Visit https://aka.ms/ts6 for migration information.",
"code": 5011,
"category": "error"
"category": "error",
"fileName": "/user/username/projects/myproject/tsconfig.json"
},
{
"start": {
@@ -1670,9 +1688,18 @@ Info seq [hh:mm:ss:mss] event:
"configFile": "/user/username/projects/myproject/tsconfig.json",
"diagnostics": [
{
"start": {
"line": 3,
"offset": 5
},
"end": {
"line": 3,
"offset": 13
},
"text": "Inferred common source directory differs from tsconfig directory, output layout will be changed.\n Visit https://aka.ms/ts6 for migration information.",
"code": 5011,
"category": "error"
"category": "error",
"fileName": "/user/username/projects/myproject/tsconfig.json"
},
{
"start": {
@@ -294,9 +294,18 @@ Info seq [hh:mm:ss:mss] event:
"configFile": "/user/username/projects/myproject/tsconfig.json",
"diagnostics": [
{
"start": {
"line": 3,
"offset": 5
},
"end": {
"line": 3,
"offset": 13
},
"text": "Inferred common source directory differs from tsconfig directory, output layout will be changed.\n Visit https://aka.ms/ts6 for migration information.",
"code": 5011,
"category": "error"
"category": "error",
"fileName": "/user/username/projects/myproject/tsconfig.json"
},
{
"start": {
@@ -1051,9 +1060,18 @@ Info seq [hh:mm:ss:mss] event:
"configFile": "/user/username/projects/myproject/tsconfig.json",
"diagnostics": [
{
"start": {
"line": 3,
"offset": 5
},
"end": {
"line": 3,
"offset": 13
},
"text": "Inferred common source directory differs from tsconfig directory, output layout will be changed.\n Visit https://aka.ms/ts6 for migration information.",
"code": 5011,
"category": "error"
"category": "error",
"fileName": "/user/username/projects/myproject/tsconfig.json"
},
{
"start": {
@@ -1295,9 +1313,18 @@ Info seq [hh:mm:ss:mss] event:
"configFile": "/user/username/projects/myproject/tsconfig.json",
"diagnostics": [
{
"start": {
"line": 3,
"offset": 5
},
"end": {
"line": 3,
"offset": 13
},
"text": "Inferred common source directory differs from tsconfig directory, output layout will be changed.\n Visit https://aka.ms/ts6 for migration information.",
"code": 5011,
"category": "error"
"category": "error",
"fileName": "/user/username/projects/myproject/tsconfig.json"
},
{
"start": {
@@ -252,9 +252,18 @@ Info seq [hh:mm:ss:mss] event:
"configFile": "/user/username/projects/myproject/tsconfig.json",
"diagnostics": [
{
"start": {
"line": 3,
"offset": 5
},
"end": {
"line": 3,
"offset": 13
},
"text": "Inferred common source directory differs from tsconfig directory, output layout will be changed.\n Visit https://aka.ms/ts6 for migration information.",
"code": 5011,
"category": "error"
"category": "error",
"fileName": "/user/username/projects/myproject/tsconfig.json"
},
{
"start": {
@@ -939,9 +948,18 @@ Info seq [hh:mm:ss:mss] event:
"configFile": "/user/username/projects/myproject/tsconfig.json",
"diagnostics": [
{
"start": {
"line": 3,
"offset": 5
},
"end": {
"line": 3,
"offset": 13
},
"text": "Inferred common source directory differs from tsconfig directory, output layout will be changed.\n Visit https://aka.ms/ts6 for migration information.",
"code": 5011,
"category": "error"
"category": "error",
"fileName": "/user/username/projects/myproject/tsconfig.json"
},
{
"start": {
@@ -1153,9 +1171,18 @@ Info seq [hh:mm:ss:mss] event:
"configFile": "/user/username/projects/myproject/tsconfig.json",
"diagnostics": [
{
"start": {
"line": 3,
"offset": 5
},
"end": {
"line": 3,
"offset": 13
},
"text": "Inferred common source directory differs from tsconfig directory, output layout will be changed.\n Visit https://aka.ms/ts6 for migration information.",
"code": 5011,
"category": "error"
"category": "error",
"fileName": "/user/username/projects/myproject/tsconfig.json"
},
{
"start": {
@@ -249,9 +249,18 @@ Info seq [hh:mm:ss:mss] event:
"configFile": "/user/username/projects/myproject/tsconfig.json",
"diagnostics": [
{
"start": {
"line": 3,
"offset": 5
},
"end": {
"line": 3,
"offset": 13
},
"text": "Inferred common source directory differs from tsconfig directory, output layout will be changed.\n Visit https://aka.ms/ts6 for migration information.",
"code": 5011,
"category": "error"
"category": "error",
"fileName": "/user/username/projects/myproject/tsconfig.json"
},
{
"start": {
@@ -1215,9 +1224,18 @@ Info seq [hh:mm:ss:mss] event:
"configFile": "/user/username/projects/myproject/tsconfig.json",
"diagnostics": [
{
"start": {
"line": 3,
"offset": 5
},
"end": {
"line": 3,
"offset": 13
},
"text": "Inferred common source directory differs from tsconfig directory, output layout will be changed.\n Visit https://aka.ms/ts6 for migration information.",
"code": 5011,
"category": "error"
"category": "error",
"fileName": "/user/username/projects/myproject/tsconfig.json"
},
{
"start": {
@@ -2585,9 +2603,18 @@ Info seq [hh:mm:ss:mss] event:
"configFile": "/user/username/projects/myproject/tsconfig.json",
"diagnostics": [
{
"start": {
"line": 3,
"offset": 5
},
"end": {
"line": 3,
"offset": 13
},
"text": "Inferred common source directory differs from tsconfig directory, output layout will be changed.\n Visit https://aka.ms/ts6 for migration information.",
"code": 5011,
"category": "error"
"category": "error",
"fileName": "/user/username/projects/myproject/tsconfig.json"
},
{
"start": {
@@ -3758,9 +3785,18 @@ Info seq [hh:mm:ss:mss] event:
"configFile": "/user/username/projects/myproject/tsconfig.json",
"diagnostics": [
{
"start": {
"line": 3,
"offset": 5
},
"end": {
"line": 3,
"offset": 13
},
"text": "Inferred common source directory differs from tsconfig directory, output layout will be changed.\n Visit https://aka.ms/ts6 for migration information.",
"code": 5011,
"category": "error"
"category": "error",
"fileName": "/user/username/projects/myproject/tsconfig.json"
},
{
"start": {
@@ -339,9 +339,18 @@ Info seq [hh:mm:ss:mss] event:
"configFile": "/user/username/projects/myproject/tsconfig.json",
"diagnostics": [
{
"start": {
"line": 3,
"offset": 5
},
"end": {
"line": 3,
"offset": 13
},
"text": "Inferred common source directory differs from tsconfig directory, output layout will be changed.\n Visit https://aka.ms/ts6 for migration information.",
"code": 5011,
"category": "error"
"category": "error",
"fileName": "/user/username/projects/myproject/tsconfig.json"
},
{
"start": {
@@ -1409,9 +1418,18 @@ Info seq [hh:mm:ss:mss] event:
"configFile": "/user/username/projects/myproject/tsconfig.json",
"diagnostics": [
{
"start": {
"line": 3,
"offset": 5
},
"end": {
"line": 3,
"offset": 13
},
"text": "Inferred common source directory differs from tsconfig directory, output layout will be changed.\n Visit https://aka.ms/ts6 for migration information.",
"code": 5011,
"category": "error"
"category": "error",
"fileName": "/user/username/projects/myproject/tsconfig.json"
},
{
"start": {
@@ -2370,9 +2388,18 @@ Info seq [hh:mm:ss:mss] event:
"configFile": "/user/username/projects/myproject/tsconfig.json",
"diagnostics": [
{
"start": {
"line": 3,
"offset": 5
},
"end": {
"line": 3,
"offset": 13
},
"text": "Inferred common source directory differs from tsconfig directory, output layout will be changed.\n Visit https://aka.ms/ts6 for migration information.",
"code": 5011,
"category": "error"
"category": "error",
"fileName": "/user/username/projects/myproject/tsconfig.json"
},
{
"start": {
@@ -3081,9 +3108,18 @@ Info seq [hh:mm:ss:mss] event:
"configFile": "/user/username/projects/myproject/tsconfig.json",
"diagnostics": [
{
"start": {
"line": 3,
"offset": 5
},
"end": {
"line": 3,
"offset": 13
},
"text": "Inferred common source directory differs from tsconfig directory, output layout will be changed.\n Visit https://aka.ms/ts6 for migration information.",
"code": 5011,
"category": "error"
"category": "error",
"fileName": "/user/username/projects/myproject/tsconfig.json"
},
{
"start": {
@@ -4815,9 +4851,18 @@ Info seq [hh:mm:ss:mss] event:
"configFile": "/user/username/projects/myproject/tsconfig.json",
"diagnostics": [
{
"start": {
"line": 3,
"offset": 5
},
"end": {
"line": 3,
"offset": 13
},
"text": "Inferred common source directory differs from tsconfig directory, output layout will be changed.\n Visit https://aka.ms/ts6 for migration information.",
"code": 5011,
"category": "error"
"category": "error",
"fileName": "/user/username/projects/myproject/tsconfig.json"
},
{
"start": {
@@ -555,9 +555,18 @@ Info seq [hh:mm:ss:mss] event:
"configFile": "/home/src/projects/project/tsconfig.json",
"diagnostics": [
{
"start": {
"line": 3,
"offset": 5
},
"end": {
"line": 3,
"offset": 13
},
"text": "Inferred common source directory differs from tsconfig directory, output layout will be changed.\n Visit https://aka.ms/ts6 for migration information.",
"code": 5011,
"category": "error"
"category": "error",
"fileName": "/home/src/projects/project/tsconfig.json"
}
]
}
@@ -555,9 +555,18 @@ Info seq [hh:mm:ss:mss] event:
"configFile": "/home/src/projects/project/tsconfig.json",
"diagnostics": [
{
"start": {
"line": 3,
"offset": 5
},
"end": {
"line": 3,
"offset": 13
},
"text": "Inferred common source directory differs from tsconfig directory, output layout will be changed.\n Visit https://aka.ms/ts6 for migration information.",
"code": 5011,
"category": "error"
"category": "error",
"fileName": "/home/src/projects/project/tsconfig.json"
}
]
}
@@ -211,9 +211,18 @@ Info seq [hh:mm:ss:mss] event:
"configFile": "/user/username/projects/myproject/src/tsconfig.json",
"diagnostics": [
{
"start": {
"line": 6,
"offset": 5
},
"end": {
"line": 6,
"offset": 13
},
"text": "Inferred common source directory differs from tsconfig directory, output layout will be changed.\n Visit https://aka.ms/ts6 for migration information.",
"code": 5011,
"category": "error"
"category": "error",
"fileName": "/user/username/projects/myproject/src/tsconfig.json"
},
{
"start": {
@@ -223,9 +223,18 @@ Info seq [hh:mm:ss:mss] event:
"configFile": "/user/username/projects/myproject/src/tsconfig.json",
"diagnostics": [
{
"start": {
"line": 6,
"offset": 5
},
"end": {
"line": 6,
"offset": 13
},
"text": "Inferred common source directory differs from tsconfig directory, output layout will be changed.\n Visit https://aka.ms/ts6 for migration information.",
"code": 5011,
"category": "error"
"category": "error",
"fileName": "/user/username/projects/myproject/src/tsconfig.json"
},
{
"start": {