Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
a3b5207
Use fixed time for vfs so baselining is consistent
sheetalkamat Apr 13, 2022
c20613f
Baseline buildinfos
sheetalkamat Apr 13, 2022
c79af2c
Write new file text in baseline even if the file wasnt read on the sh…
sheetalkamat Apr 14, 2022
40a8c7f
Remove unnecessary debugger statement
sheetalkamat Apr 15, 2022
7377470
Make sure that incremental correctness is checked with correct writeF…
sheetalkamat Apr 15, 2022
c206ff0
More baselines for the tsbuildinfo
sheetalkamat Apr 19, 2022
fc91aff
If we are writing dts file and have used file text as version, we can…
sheetalkamat Apr 13, 2022
396e6c8
Make WriteFileCallback Api ready for future
sheetalkamat Apr 14, 2022
7084221
Assert that there is only single source file when emitting d.ts file
sheetalkamat Apr 15, 2022
5f02cf3
Add test
sheetalkamat Apr 5, 2022
c984298
Renames
sheetalkamat Apr 6, 2022
e4bf58a
More refactoring
sheetalkamat Apr 6, 2022
87a7112
If we are updating dts of any of the file and it affects global scope…
sheetalkamat Apr 6, 2022
16cef4a
Stacktrace optimization for getModified time in anticipation of using…
sheetalkamat Mar 16, 2022
7e65cd3
Baseline getModifiedTime, setModifiedTime, fileExits and directoryExi…
sheetalkamat Apr 5, 2022
0ff8cb3
Remove unnecessary write file finger print code since its not used at…
sheetalkamat Mar 16, 2022
59ad6ef
Use modified time instead of file existence check
sheetalkamat Apr 11, 2022
c8327da
Remove unnecessary getModifiedTime
sheetalkamat Mar 17, 2022
7817fbf
No need to check for file existence before reading the d.ts file
sheetalkamat Mar 17, 2022
cb7aca3
Do project reference errors before doing input/output file checks
sheetalkamat Mar 21, 2022
dd96e33
Dont call getModifiedTimes if dts change
sheetalkamat Mar 28, 2022
89d2d4c
Passdown modified time if queried
sheetalkamat Mar 15, 2022
6e0c916
Use modified time passed through the file watching in tsbuild
sheetalkamat Mar 18, 2022
e6a3ee8
Handle force build as separate upto date status
sheetalkamat Mar 29, 2022
7cb0f40
uptodate status worker to read buildinfo and use it to determine upto…
sheetalkamat Apr 7, 2022
1a8abac
No need to update output timestamps if buildinfo will determine uptod…
sheetalkamat Apr 11, 2022
59f2b5c
Store change file set instead of hasPendingChange to be able to reuse…
sheetalkamat Apr 5, 2022
5c12067
Add test that shows input file is not present
sheetalkamat Apr 7, 2022
7734528
No need to check input time stamp before buildinfo
sheetalkamat Apr 7, 2022
6198fa3
Keep buildinfos for lifetime of the solution builder and project
sheetalkamat Apr 8, 2022
fcf07f8
Store modified time along with text of buildinfo
sheetalkamat Apr 8, 2022
2f2e370
Non composite projects dont need to track declaration change time
sheetalkamat Apr 12, 2022
15fe24e
Pass through buildInfo so we dont have to parse it back
sheetalkamat Apr 14, 2022
dc21283
Save dts change time in buildinfo itself
sheetalkamat Apr 12, 2022
5bccee8
Store dts time for --out in the buildInfo
sheetalkamat Apr 15, 2022
62c687b
Store hash of text in the bundle info so it can be verified before ma…
sheetalkamat Apr 19, 2022
128008a
Since buildinfo is cached no need to maintain version check state
sheetalkamat Apr 19, 2022
4fb6773
Store output time stamps for non incremental builds
sheetalkamat Apr 19, 2022
7e1e9d7
Revert "Baseline getModifiedTime, setModifiedTime, fileExits and dire…
sheetalkamat Apr 5, 2022
cb73874
Change verbose messages for upto date status
sheetalkamat Apr 19, 2022
d8d8609
Merge branch 'main' into timestamps
sheetalkamat Apr 20, 2022
0f7903d
Reconcile reusable builder state and builder state so there are not t…
sheetalkamat Apr 20, 2022
82fb56b
Cleanup impliedFormat
sheetalkamat Apr 20, 2022
7785a87
Cleanup
sheetalkamat Apr 20, 2022
a95d3cc
Cleanup noEmit option
sheetalkamat Apr 20, 2022
437619e
BuildInfo options emit as a flag
sheetalkamat Apr 20, 2022
b568d7e
Factor out types for program written in buildinfo with and without bu…
sheetalkamat Apr 20, 2022
78ba778
No need to store output file stamps if not in watch mode
sheetalkamat Apr 20, 2022
10728b4
Cleanup
sheetalkamat Apr 20, 2022
5492949
Test for single watch per file
sheetalkamat Apr 20, 2022
70069d2
Fix emit and error update baselines that were duplicate
sheetalkamat Apr 21, 2022
21a6806
More refactoring
sheetalkamat Apr 21, 2022
b32d2eb
Only copy emit state fields when backing up to restore if emit fails
sheetalkamat Apr 21, 2022
26e7cb6
Merge branch 'main' into timestamps
sheetalkamat Apr 22, 2022
303824e
Instead of maintaining delta of changes, maintain old state for those…
sheetalkamat Apr 26, 2022
643576c
Merge branch 'main' into timestamps
sheetalkamat Apr 27, 2022
7810c56
Add test to verify build when input file does not change
sheetalkamat Apr 29, 2022
28a9ff3
If version of the input file does not change, dont mark as out of date
sheetalkamat Apr 29, 2022
929ddad
Merge branch 'main' into timestamps
sheetalkamat Apr 29, 2022
5d31847
Disable lint warning as build fails without the assert
sheetalkamat Apr 29, 2022
fa1068e
Merge branch 'main' into timestamps
sheetalkamat May 6, 2022
94e7e43
Merge branch 'main' into timestamps
sheetalkamat May 24, 2022
7593eee
Merge branch 'main' into timestamps
sheetalkamat May 27, 2022
405d8e9
Report aggregate statistics for solution as well as some solution per…
sheetalkamat May 27, 2022
fe69264
Merge branch 'main' into timestamps
sheetalkamat Jun 1, 2022
0cf9e30
Options solutionDiagnostics instead so that its not too verbose when …
sheetalkamat Jun 1, 2022
e4e6672
When tsc --build --clean, only remove tsbuildinfo if its incremental …
sheetalkamat Jun 2, 2022
842de49
Merge branch 'main' into timestamps
sheetalkamat Jun 6, 2022
5c07c77
Revert "Options solutionDiagnostics instead so that its not too verbo…
sheetalkamat Jun 7, 2022
31427f6
Revert "Report aggregate statistics for solution as well as some solu…
sheetalkamat Jun 7, 2022
0f898f2
Merge branch 'main' into timestamps
sheetalkamat Jun 7, 2022
5cd883a
Revert "When tsc --build --clean, only remove tsbuildinfo if its incr…
sheetalkamat Jun 7, 2022
5cd5d57
Comments in the code
sheetalkamat Jun 7, 2022
624c182
Feedback
sheetalkamat Jun 8, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Make sure that incremental correctness is checked with correct writeF…
…ile so we know buildInfo was written

Also baseline these so its easy to verify the changes
  • Loading branch information
sheetalkamat committed Apr 18, 2022
commit 7377470be86aa3a139b79b4d3484f75f2c9a65ec
357 changes: 195 additions & 162 deletions src/testRunner/unittests/tsbuild/helpers.ts

Large diffs are not rendered by default.

101 changes: 71 additions & 30 deletions src/testRunner/unittests/tsbuild/noEmitOnError.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,40 +8,81 @@ namespace ts {
projFs = undefined!;
});

function verifyNoEmitOnError(subScenario: string, fixModifyFs: TestTscEdit["modifyFs"], modifyFs?: TestTscEdit["modifyFs"]) {
verifyTscWithEdits({
scenario: "noEmitOnError",
subScenario,
fs: () => projFs,
modifyFs,
commandLineArgs: ["--b", "/src/tsconfig.json"],
edits: [
noChangeRun,
{
subScenario: "Fix error",
modifyFs: fixModifyFs,
},
noChangeRun,
],
baselinePrograms: true,
baselineIncremental: true
});
}
verifyTscWithEdits({
scenario: "noEmitOnError",
subScenario: "syntax errors",
fs: () => projFs,
commandLineArgs: ["--b", "/src/tsconfig.json"],
edits: [
noChangeRun,
{
subScenario: "Fix error",
modifyFs: fs => fs.writeFileSync("/src/src/main.ts", `import { A } from "../shared/types/db";
const a = {
lastName: 'sdsd'
};`, "utf-8"),
},
noChangeRun,
],
baselinePrograms: true,
});

verifyNoEmitOnError(
"syntax errors",
fs => fs.writeFileSync("/src/src/main.ts", `import { A } from "../shared/types/db";
verifyTscWithEdits({
scenario: "noEmitOnError",
subScenario: "syntax errors with incremental",
fs: () => projFs,
commandLineArgs: ["--b", "/src/tsconfig.json", "--incremental"],
edits: [
noChangeRun,
{
subScenario: "Fix error",
modifyFs: fs => fs.writeFileSync("/src/src/main.ts", `import { A } from "../shared/types/db";
const a = {
lastName: 'sdsd'
};`, "utf-8")
);
};`, "utf-8"),
descripencyExplaination: noChangeWithExportsDescripencyRun.descripencyExplaination,
},
noChangeWithExportsDescripencyRun,
],
baselinePrograms: true,
});

verifyNoEmitOnError(
"semantic errors",
fs => fs.writeFileSync("/src/src/main.ts", `import { A } from "../shared/types/db";
verifyTscWithEdits({
scenario: "noEmitOnError",
subScenario: "semantic errors",
fs: () => projFs,
modifyFs: fs => fs.writeFileSync("/src/src/main.ts", `import { A } from "../shared/types/db";
const a: string = 10;`, "utf-8"),
commandLineArgs: ["--b", "/src/tsconfig.json"],
edits: [
noChangeRun,
{
subScenario: "Fix error",
modifyFs: fs => fs.writeFileSync("/src/src/main.ts", `import { A } from "../shared/types/db";
const a: string = "hello";`, "utf-8"),
fs => fs.writeFileSync("/src/src/main.ts", `import { A } from "../shared/types/db";
const a: string = 10;`, "utf-8")
);
},
noChangeRun,
],
baselinePrograms: true,
});

verifyTscWithEdits({
scenario: "noEmitOnError",
subScenario: "semantic errors with incremental",
fs: () => projFs,
modifyFs: fs => fs.writeFileSync("/src/src/main.ts", `import { A } from "../shared/types/db";
const a: string = 10;`, "utf-8"),
commandLineArgs: ["--b", "/src/tsconfig.json", "--incremental"],
edits: [
noChangeWithExportsDescripencyRun,
{
subScenario: "Fix error",
modifyFs: fs => fs.writeFileSync("/src/src/main.ts", `import { A } from "../shared/types/db";
const a: string = "hello";`, "utf-8"),
},
noChangeRun,
],
baselinePrograms: true,
});
});
}
11 changes: 1 addition & 10 deletions src/testRunner/unittests/tsbuild/outputPaths.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,7 @@ namespace ts {
}
})
}),
edits: [
noChangeRun,
{
...noChangeProject,
cleanBuildDiscrepancies: () => new Map([
["/src/dist/tsconfig.tsbuildinfo", CleanBuildDescrepancy.CleanFileTextDifferent], // tsbuildinfo will have -p setting when built using -p vs no build happens incrementally because of no change.
["/src/dist/tsconfig.tsbuildinfo.readable.baseline.txt", CleanBuildDescrepancy.CleanFileTextDifferent] // tsbuildinfo will have -p setting when built using -p vs no build happens incrementally because of no change.
]),
}
],
edits,
}, ["/src/dist/src/index.js", "/src/dist/src/index.d.ts"]);

verify({
Expand Down
2 changes: 1 addition & 1 deletion src/testRunner/unittests/tsbuild/publicApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export function f22() { } // trailing`,
writtenFiles.add(path);
return originalWriteFile.call(sys, fileName, content, writeByteOrderMark);
};
const { cb, getPrograms } = commandLineCallbacks(sys, /*originalReadCall*/ undefined, originalWriteFile);
const { cb, getPrograms } = commandLineCallbacks(sys, /*originalReadCall*/ undefined);
const buildHost = createSolutionBuilderHost(
sys,
/*createProgram*/ undefined,
Expand Down
6 changes: 3 additions & 3 deletions src/testRunner/unittests/tsbuild/resolveJsonModule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export default hello.hello`);
fs: () => projFs,
commandLineArgs: ["--b", "src/tsconfig_withFiles.json", "--verbose", "--explainFiles"],
modifyFs: fs => replaceText(fs, "src/tsconfig_withFiles.json", `"composite": true,`, `"composite": true, "sourceMap": true,`),
edits: noChangeOnlyRuns
edits: noChangeWithExportsDescripencyOnlyRuns
});

verifyTscWithEdits({
Expand All @@ -66,7 +66,7 @@ export default hello.hello`);
fs: () => projFs,
commandLineArgs: ["--b", "src/tsconfig_withFiles.json", "--verbose"],
modifyFs: fs => replaceText(fs, "src/tsconfig_withFiles.json", `"outDir": "dist",`, ""),
edits: noChangeOnlyRuns
edits: noChangeWithExportsDescripencyOnlyRuns
});
});

Expand All @@ -76,7 +76,7 @@ export default hello.hello`);
subScenario: "importing json module from project reference",
fs: () => loadProjectFromDisk("tests/projects/importJsonFromProjectReference"),
commandLineArgs: ["--b", "src/tsconfig.json", "--verbose", "--explainFiles"],
edits: noChangeOnlyRuns
edits: noChangeWithExportsDescripencyOnlyRuns
});
});
}
23 changes: 16 additions & 7 deletions src/testRunner/unittests/tsc/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,15 @@ namespace ts {
subScenario: "no-change-run",
modifyFs: noop
};
export const noChangeWithExportsDescripencyRun: TestTscEdit = {
...noChangeRun,
descripencyExplaination: () => [
"Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files",
"Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed"
]
};
export const noChangeOnlyRuns = [noChangeRun];
export const noChangeWithExportsDescripencyOnlyRuns = [noChangeWithExportsDescripencyRun];

export interface TestTscCompile extends TestTscCompileLikeBase {
baselineSourceMap?: boolean;
Expand All @@ -30,21 +38,20 @@ namespace ts {
export function commandLineCallbacks(
sys: System & { writtenFiles: ReadonlyCollection<Path>; },
originalReadCall?: System["readFile"],
originalWriteFile?: System["writeFile"],
): CommandLineCallbacks {
let programs: CommandLineProgram[] | undefined;

return {
cb: program => {
if (isAnyProgram(program)) {
baselineBuildInfo(program.getCompilerOptions(), sys, originalReadCall, originalWriteFile);
baselineBuildInfo(program.getCompilerOptions(), sys, originalReadCall);
(programs || (programs = [])).push(isBuilderProgram(program) ?
[program.getProgram(), program] :
[program]
);
}
else {
baselineBuildInfo(program.options, sys, originalReadCall, originalWriteFile);
baselineBuildInfo(program.options, sys, originalReadCall);
}
},
getPrograms: () => {
Expand Down Expand Up @@ -120,11 +127,13 @@ ${patch ? vfs.formatPatch(patch) : ""}`
const originalWriteFile = sys.writeFile;
sys.writeFile = (fileName, content, writeByteOrderMark) => {
const path = toPathWithSystem(sys, fileName);
assert.isFalse(writtenFiles.has(path));
// When buildinfo is same for two projects,
// it gives error and doesnt write buildinfo but because buildInfo is written for one project,
// readable baseline will be written two times for those two projects with same contents and is ok
Debug.assert(!writtenFiles.has(path) || endsWith(path, "baseline.txt"));
writtenFiles.add(path);
return originalWriteFile.call(sys, fileName, content, writeByteOrderMark);
};
return originalWriteFile;
}

export function createSolutionBuilderHostForBaseline(sys: TscCompileSystem, versionToWrite?: string) {
Expand Down Expand Up @@ -153,7 +162,7 @@ ${patch ? vfs.formatPatch(patch) : ""}`
});

function commandLineCompile(sys: TscCompileSystem) {
const originalWriteFile = makeSystemReadyForBaseline(sys);
makeSystemReadyForBaseline(sys);
actualReadFileMap = {};
const originalReadFile = sys.readFile;
sys.readFile = path => {
Expand All @@ -164,7 +173,7 @@ ${patch ? vfs.formatPatch(patch) : ""}`
return originalReadFile.call(sys, path);
};

const result = commandLineCallbacks(sys, originalReadFile, originalWriteFile);
const result = commandLineCallbacks(sys, originalReadFile);
executeCommandLine(
sys,
result.cb,
Expand Down
30 changes: 16 additions & 14 deletions src/testRunner/unittests/tsc/incremental.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ namespace ts {
commandLineArgs: ["--incremental", "-p", "src"],
modifyFs,
edits: [
noChangeRun,
noChangeWithExportsDescripencyRun,
{
subScenario: "incremental-declaration-doesnt-change",
modifyFs: fixModifyFs
Expand Down Expand Up @@ -124,12 +124,12 @@ const a: string = 10;`, "utf-8"),

function verifyNoEmitChanges(compilerOptions: CompilerOptions) {
const noChangeRunWithNoEmit: TestTscEdit = {
...noChangeRun,
...noChangeWithExportsDescripencyRun,
subScenario: "No Change run with noEmit",
commandLineArgs: ["--p", "src/project", "--noEmit"],
};
const noChangeRunWithEmit: TestTscEdit = {
...noChangeRun,
...noChangeWithExportsDescripencyRun,
subScenario: "No Change run with emit",
commandLineArgs: ["--p", "src/project"],
};
Expand All @@ -156,6 +156,7 @@ const a: string = 10;`, "utf-8"),
{
subScenario: "Fix error and emit",
modifyFs: fs => replaceText(fs, "/src/project/src/class.ts", "prop1", "prop"),
descripencyExplaination: noChangeWithExportsDescripencyRun.descripencyExplaination,
},
noChangeRunWithEmit,
noChangeRunWithNoEmit,
Expand All @@ -164,6 +165,7 @@ const a: string = 10;`, "utf-8"),
{
subScenario: "Introduce error and emit",
modifyFs: fs => replaceText(fs, "/src/project/src/class.ts", "prop", "prop1"),
descripencyExplaination: noChangeWithExportsDescripencyRun.descripencyExplaination,
},
noChangeRunWithEmit,
noChangeRunWithNoEmit,
Expand All @@ -173,6 +175,7 @@ const a: string = 10;`, "utf-8"),
subScenario: "Fix error and no emit",
commandLineArgs: ["--p", "src/project", "--noEmit"],
modifyFs: fs => replaceText(fs, "/src/project/src/class.ts", "prop1", "prop"),
descripencyExplaination: noChangeWithExportsDescripencyRun.descripencyExplaination,
},
noChangeRunWithEmit,
noChangeRunWithNoEmit,
Expand All @@ -196,6 +199,7 @@ const a: string = 10;`, "utf-8"),
{
subScenario: "Fix error and no emit",
modifyFs: fs => replaceText(fs, "/src/project/src/class.ts", "prop1", "prop"),
descripencyExplaination: noChangeWithExportsDescripencyRun.descripencyExplaination
},
noChangeRunWithEmit,
],
Expand Down Expand Up @@ -252,7 +256,7 @@ const a: string = 10;`, "utf-8"),
}),
commandLineArgs: ["--p", "src/project"],
edits: [
noChangeRun,
noChangeWithExportsDescripencyRun,
{
subScenario: "Modify main file",
modifyFs: fs => appendText(fs, `/src/project/src/main.ts`, `something();`),
Expand Down Expand Up @@ -352,11 +356,10 @@ declare global {
{
subScenario: "Add class3 to project1 and build it",
modifyFs: fs => fs.writeFileSync("/src/projects/project1/class3.ts", `class class3 {}`, "utf-8"),
cleanBuildDiscrepancies: () => new Map<string, CleanBuildDescrepancy>([
// Ts buildinfo will not be updated in incremental build so it will have semantic diagnostics cached from previous build
// But in clean build because of global diagnostics, semantic diagnostics are not queried so not cached in tsbuildinfo
["/src/projects/project2/tsconfig.tsbuildinfo", CleanBuildDescrepancy.CleanFileTextDifferent]
]),
descripencyExplaination: () => [
"Ts buildinfo will not be updated in incremental build so it will have semantic diagnostics cached from previous build",
"But in clean build because of global diagnostics, semantic diagnostics are not queried so not cached in tsbuildinfo",
],
},
{
subScenario: "Add output of class3",
Expand All @@ -372,11 +375,10 @@ declare global {
{
subScenario: "Delete output for class3",
modifyFs: fs => fs.unlinkSync("/src/projects/project1/class3.d.ts"),
cleanBuildDiscrepancies: () => new Map<string, CleanBuildDescrepancy>([
// Ts buildinfo willbe updated but will retain lib file errors from previous build and not others because they are emitted because of change which results in clearing their semantic diagnostics cache
// But in clean build because of global diagnostics, semantic diagnostics are not queried so not cached in tsbuildinfo
["/src/projects/project2/tsconfig.tsbuildinfo", CleanBuildDescrepancy.CleanFileTextDifferent]
]),
descripencyExplaination: () => [
"Ts buildinfo willbe updated but will retain lib file errors from previous build and not others because they are emitted because of change which results in clearing their semantic diagnostics cache",
"But in clean build because of global diagnostics, semantic diagnostics are not queried so not cached in tsbuildinfo",
],
},
{
subScenario: "Create output for class3",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
0:: no-change-run
Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files
Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed
Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt
Incremental: {
"../src/main.ts": [
"../shared/types/db.ts"
]
}
Clean: {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
1:: Fix error
Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files
Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed
Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt
Incremental: {
"../src/main.ts": [
"../shared/types/db.ts"
]
}
Clean: {}
2:: no-change-run
Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files
Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed
Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt
Incremental: {
"../src/main.ts": [
"../shared/types/db.ts"
]
}
Clean: {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
0:: no-change-run
Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files
Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed
Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/main/tsconfig.tsbuildinfo.readable.baseline.txt
Incremental: {
"./index.ts": [
"../strings/foo.json"
]
}
Clean: {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
0:: no-change-run
Incremental build does not change and has .ts as signature so exports has all imported modules/referenced files
Clean build always uses d.ts for signature for testing thus does not contain non exported modules/referenced files that arent needed
Incremental and clean size of maps do not match:: exportedModulesMap:: File:: /src/dist/tsconfig_withfiles.tsbuildinfo.readable.baseline.txt
Incremental: {
"../src/index.ts": [
"../src/hello.json"
]
}
Clean: {}
Loading