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
uptodate status worker to read buildinfo and use it to determine upto…
… date ness
  • Loading branch information
sheetalkamat committed Apr 19, 2022
commit 7cb0f40f071cb81c362cda46dbf42ec47f32b362
5 changes: 4 additions & 1 deletion src/compiler/builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -800,6 +800,7 @@ namespace ts {
exportedModulesMap?: ProgramBuildInfoReferencedMap;
semanticDiagnosticsPerFile?: ProgramBuildInfoDiagnostic[];
affectedFilesPendingEmit?: ProgramBuilderInfoFilePendingEmit[];
hasPendingChange?: boolean;
}

/**
Expand Down Expand Up @@ -898,6 +899,7 @@ namespace ts {
exportedModulesMap,
semanticDiagnosticsPerFile,
affectedFilesPendingEmit,
hasPendingChange: state.changedFilesSet?.size ? true : undefined,
};

function relativeToBuildInfoEnsuringAbsolutePath(path: string) {
Expand Down Expand Up @@ -941,7 +943,8 @@ namespace ts {
// flags it controls (e.g. `strictNullChecks`) will be retrieved correctly from the buildinfo
optionKey === "strict" ||
// We need to store these to determine whether `lib` files need to be rechecked.
optionKey === "skiplibcheck" || optionKey === "skipdefaultlibcheck") {
optionKey === "skiplibcheck" || optionKey === "skipdefaultlibcheck" ||
optionKey === "noemit") {
(result ||= {})[name] = convertToReusableCompilerOptionValue(
optionInfo,
options[name] as CompilerOptionsValue,
Expand Down
4 changes: 4 additions & 0 deletions src/compiler/diagnosticMessages.json
Original file line number Diff line number Diff line change
Expand Up @@ -5272,6 +5272,10 @@
"category": "Message",
"code": 6398
},
"Project '{0}' is out of date because buildinfo file '{1}' indicates that some of the changes are not emitted": {
Comment thread
sheetalkamat marked this conversation as resolved.
Outdated
"category": "Message",
"code": 6399
},

"The expected type comes from property '{0}' which is declared here on type '{1}'": {
"category": "Message",
Expand Down
10 changes: 10 additions & 0 deletions src/compiler/tsbuild.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ namespace ts {
OutputMissing,
OutOfDateWithSelf,
OutOfDateWithUpstream,
OutOfDateBuildInfo,
UpstreamOutOfDate,
UpstreamBlocked,
ComputingUpstream,
Expand All @@ -37,6 +38,7 @@ namespace ts {
| Status.OutputMissing
| Status.OutOfDateWithSelf
| Status.OutOfDateWithUpstream
| Status.OutOfDateBuildInfo
| Status.UpstreamOutOfDate
| Status.UpstreamBlocked
| Status.ComputingUpstream
Expand Down Expand Up @@ -102,6 +104,14 @@ namespace ts {
newerInputFileName: string;
}

/**
* Buildinfo indicates that build is out of date
*/
export interface OutOfDateBuildInfo {
type: UpToDateStatusType.OutOfDateBuildInfo,
buildInfoFile: string;
}

/**
* This project depends on an out-of-date project, so shouldn't be built yet
*/
Expand Down
132 changes: 96 additions & 36 deletions src/compiler/tsbuildPublic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ namespace ts {
originalWriteFile: CompilerHost["writeFile"] | undefined;
originalReadFileWithCache: CompilerHost["readFile"];
originalGetSourceFile: CompilerHost["getSourceFile"];
buildInfoCache: ESMap<Path, BuildInfo | false>;
}

interface FileWatcherWithModifiedTime {
Expand Down Expand Up @@ -282,7 +283,7 @@ namespace ts {

// State of the solution
const baseCompilerOptions = getCompilerOptionsOfBuildOptions(options);
const compilerHost = createCompilerHostFromProgramHost(host, () => state.projectCompilerOptions);
const compilerHost = createCompilerHostFromProgramHost(host, () => state.projectCompilerOptions) as CompilerHost & ReadBuildProgramHost;
setGetSourceFileAsHashVersioned(compilerHost, host);
compilerHost.getParsedCommandLine = fileName => parseConfigFile(state, fileName as ResolvedConfigFileName, toResolvedConfigFilePath(state, fileName as ResolvedConfigFileName));
compilerHost.resolveModuleNames = maybeBind(host, host.resolveModuleNames);
Expand All @@ -300,6 +301,7 @@ namespace ts {
compilerHost.resolveTypeReferenceDirectives = (typeReferenceDirectiveNames, containingFile, redirectedReference, _options, containingFileMode) =>
loadWithTypeDirectiveCache<ResolvedTypeReferenceDirective>(Debug.checkEachDefined(typeReferenceDirectiveNames), containingFile, redirectedReference, containingFileMode, loader);
}
compilerHost.getBuildInfo = fileName => getBuildInfo(state, fileName);

const { watchFile, watchDirectory, writeLog } = createWatchFactory<ResolvedConfigFileName>(hostWithWatch, options);

Expand Down Expand Up @@ -573,6 +575,7 @@ namespace ts {
originalWriteFile,
originalReadFileWithCache,
originalGetSourceFile,
buildInfoCache: new Map(),
};
}

Expand Down Expand Up @@ -986,7 +989,9 @@ namespace ts {
}
}

emittedOutputs.set(toPath(state, name), name);
const path = toPath(state, name);
emittedOutputs.set(path, name);
state.cache?.buildInfoCache.delete(path);
writeFile(writeFileCallback ? { writeFile: writeFileCallback } : compilerHost, emitterDiagnostics, name, text, writeByteOrderMark);
});

Expand All @@ -1003,7 +1008,12 @@ namespace ts {
function emitBuildInfo(writeFileCallback?: WriteFileCallback, cancellationToken?: CancellationToken): EmitResult {
Debug.assertIsDefined(program);
Debug.assert(step === BuildStep.EmitBuildInfo);
const emitResult = program.emitBuildInfo(writeFileCallback, cancellationToken);
const emitResult = program.emitBuildInfo((name, data, writeByteOrderMark, onError, sourceFiles) => {
const path = toPath(state, name);
state.cache?.buildInfoCache.delete(path);
if (writeFileCallback) writeFileCallback(name, data, writeByteOrderMark, onError, sourceFiles);
else state.compilerHost.writeFile(name, data, writeByteOrderMark, onError, sourceFiles);
}, cancellationToken);
if (emitResult.diagnostics.length) {
reportErrors(state, emitResult.diagnostics);
state.diagnostics.set(projectPath, [...state.diagnostics.get(projectPath)!, ...emitResult.diagnostics]);
Expand Down Expand Up @@ -1101,7 +1111,9 @@ namespace ts {
const emitterDiagnostics = createDiagnosticCollection();
const emittedOutputs = new Map<Path, string>();
outputFiles.forEach(({ name, text, writeByteOrderMark }) => {
emittedOutputs.set(toPath(state, name), name);
const path = toPath(state, name);
emittedOutputs.set(path, name);
state.cache?.buildInfoCache.delete(path);
writeFile(writeFileCallback ? { writeFile: writeFileCallback } : compilerHost, emitterDiagnostics, name, text, writeByteOrderMark);
});

Expand Down Expand Up @@ -1390,6 +1402,16 @@ namespace ts {
};
}

function getBuildInfo(state: SolutionBuilderState, buildInfoPath: string): BuildInfo | undefined {
const path = toPath(state, buildInfoPath);
const existing = state.cache?.buildInfoCache.get(path);
if (existing !== undefined) return existing || undefined;
const value = state.readFileWithCache(buildInfoPath);
const buildInfo = value ? ts.getBuildInfo(value) : undefined;
state.cache?.buildInfoCache.set(path, buildInfo || false);
return buildInfo;
}

function checkConfigFileUpToDateStatus(state: SolutionBuilderState, configFile: string, oldestOutputFileTime: Date, oldestOutputFileName: string): Status.OutOfDateWithSelf | undefined {
// Check tsconfig time
const tsconfigTime = getModifiedTime(state, configFile);
Expand Down Expand Up @@ -1472,43 +1494,89 @@ namespace ts {

if (force) return { type: UpToDateStatusType.ForceBuild };

// Collect the expected outputs of this project
const outputs = getAllProjectOutputs(project, !host.useCaseSensitiveFileNames());

const buildInfoPath = getTsBuildInfoEmitOutputFilePath(project.options);
// Now see if all outputs are newer than the newest input
let oldestOutputFileName = "(none)";
Comment thread
sheetalkamat marked this conversation as resolved.
Outdated
let oldestOutputFileTime = maximumDate;
let newestDeclarationFileContentChangedTime;
for (const output of outputs) {
// Output is missing; can stop checking
const outputTime = ts.getModifiedTime(host, output);
if (buildInfoPath) {
const outputTime = ts.getModifiedTime(host, buildInfoPath);
if (outputTime === missingFileModifiedTime) {
return {
Comment thread
sheetalkamat marked this conversation as resolved.
type: UpToDateStatusType.OutputMissing,
missingOutputFileName: output
missingOutputFileName: buildInfoPath
};
}

if (outputTime < oldestOutputFileTime) {
oldestOutputFileTime = outputTime;
oldestOutputFileName = output;
const buildInfo = Debug.checkDefined(getBuildInfo(state, buildInfoPath));
if (!state.buildInfoChecked.has(resolvedPath)) {
state.buildInfoChecked.set(resolvedPath, true);
if (buildInfo && (buildInfo.bundle || buildInfo.program) && buildInfo.version !== version) {
return {
type: UpToDateStatusType.TsVersionOutputOfDate,
version: buildInfo.version
};
}
}

// If an output is older than the newest input, we can stop checking
if (outputTime < newestInputFileTime) {
return {
type: UpToDateStatusType.OutOfDateWithSelf,
outOfDateOutputFileName: oldestOutputFileName,
outOfDateOutputFileName: buildInfoPath,
newerInputFileName: newestInputFileName
};
}

// Keep track of when the most recent time a .d.ts file was changed.
// In addition to file timestamps, we also keep track of when a .d.ts file
// had its file touched but not had its contents changed - this allows us
// to skip a downstream typecheck
if (isDeclarationFileName(output)) {
newestDeclarationFileContentChangedTime = newer(newestDeclarationFileContentChangedTime, outputTime);
if (buildInfo.program) {
if (buildInfo.program.hasPendingChange ||
(!buildInfo.program.options?.noEmit && buildInfo.program.affectedFilesPendingEmit?.length)) {
return {
type: UpToDateStatusType.OutOfDateBuildInfo,
buildInfoFile: buildInfoPath
};
}
}

oldestOutputFileTime = outputTime;
oldestOutputFileName = buildInfoPath;
}
// Dont check output timestamps if we have buildinfo telling us output is uptodate
else {
// Collect the expected outputs of this project
const outputs = getAllProjectOutputs(project, !host.useCaseSensitiveFileNames());
Comment thread
sheetalkamat marked this conversation as resolved.
for (const output of outputs) {
if (buildInfoPath === output) continue;
// Output is missing; can stop checking
const outputTime = ts.getModifiedTime(state.host, output);
if (outputTime === missingFileModifiedTime) {
return {
type: UpToDateStatusType.OutputMissing,
missingOutputFileName: output
};
}

if (outputTime < oldestOutputFileTime) {
oldestOutputFileTime = outputTime;
oldestOutputFileName = output;
}

// If an output is older than the newest input, we can stop checking
if (outputTime < newestInputFileTime) {
return {
type: UpToDateStatusType.OutOfDateWithSelf,
outOfDateOutputFileName: oldestOutputFileName,
newerInputFileName: newestInputFileName
};
}

// Keep track of when the most recent time a .d.ts file was changed.
// In addition to file timestamps, we also keep track of when a .d.ts file
// had its file touched but not had its contents changed - this allows us
// to skip a downstream typecheck
if (isDeclarationFileName(output)) {
newestDeclarationFileContentChangedTime = newer(newestDeclarationFileContentChangedTime, outputTime);
}
}
}

Expand Down Expand Up @@ -1557,21 +1625,6 @@ namespace ts {
);
if (dependentPackageFileStatus) return dependentPackageFileStatus;

if (!state.buildInfoChecked.has(resolvedPath)) {
state.buildInfoChecked.set(resolvedPath, true);
const buildInfoPath = getTsBuildInfoEmitOutputFilePath(project.options);
if (buildInfoPath) {
const value = state.readFileWithCache(buildInfoPath);
const buildInfo = value && getBuildInfo(value);
if (buildInfo && (buildInfo.bundle || buildInfo.program) && buildInfo.version !== version) {
return {
type: UpToDateStatusType.TsVersionOutputOfDate,
version: buildInfo.version
};
}
}
}

if (usesPrepend && pseudoUpToDate) {
return {
type: UpToDateStatusType.OutOfDateWithPrepend,
Expand Down Expand Up @@ -2103,6 +2156,13 @@ namespace ts {
relName(state, configFileName),
relName(state, status.missingOutputFileName)
);
case UpToDateStatusType.OutOfDateBuildInfo:
return reportStatus(
state,
Diagnostics.Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_some_of_the_changes_are_not_emitted,
relName(state, configFileName),
relName(state, status.buildInfoFile)
);
case UpToDateStatusType.UpToDate:
if (status.newestInputFileTime !== undefined) {
return reportStatus(
Expand Down
15 changes: 12 additions & 3 deletions src/compiler/watchPublic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,23 @@ namespace ts {
useCaseSensitiveFileNames(): boolean;
getCurrentDirectory(): string;
readFile(fileName: string): string | undefined;
/*@internal*/
getBuildInfo?(fileName: string): BuildInfo | undefined;
}
export function readBuilderProgram(compilerOptions: CompilerOptions, host: ReadBuildProgramHost) {
if (outFile(compilerOptions)) return undefined;
const buildInfoPath = getTsBuildInfoEmitOutputFilePath(compilerOptions);
if (!buildInfoPath) return undefined;
const content = host.readFile(buildInfoPath);
if (!content) return undefined;
const buildInfo = getBuildInfo(content);
let buildInfo;
if (host.getBuildInfo) {
Comment thread
sheetalkamat marked this conversation as resolved.
buildInfo = host.getBuildInfo(buildInfoPath);
if (!buildInfo) return undefined;
}
else {
const content = host.readFile(buildInfoPath);
if (!content) return undefined;
buildInfo = getBuildInfo(content);
}
if (buildInfo.version !== version) return undefined;
if (!buildInfo.program) return undefined;
return createBuildProgramUsingProgramBuildInfo(buildInfo.program, buildInfoPath, host);
Expand Down
15 changes: 13 additions & 2 deletions src/testRunner/unittests/tsbuild/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ interface Symbol {
exportedModulesMap?: MapLike<string[]>;
semanticDiagnosticsPerFile?: readonly ReadableProgramBuildInfoDiagnostic[];
affectedFilesPendingEmit?: readonly ReadableProgramBuilderInfoFilePendingEmit[];
hasPendingChange?: boolean
}
type ReadableBuildInfo = Omit<BuildInfo, "program"> & { program: ReadableProgramBuildInfo | undefined; size: number; };
function generateBuildInfoProgramBaseline(sys: System, buildInfoPath: string, buildInfo: BuildInfo) {
Expand All @@ -231,6 +232,7 @@ interface Symbol {
emitKind === BuilderFileEmit.Full ? "Full" :
Debug.assertNever(emitKind)
]),
hasPendingChange: buildInfo.program.hasPendingChange,
};
const version = buildInfo.version === ts.version ? fakes.version : buildInfo.version;
const result: ReadableBuildInfo = {
Expand Down Expand Up @@ -480,8 +482,7 @@ interface Symbol {
fileNames: undefined,
fileNamesList: undefined,
fileInfos: sanitizedFileInfos,
// Ignore noEmit since that shouldnt be reason to emit the tsbuild info and presence of it in the buildinfo file does not matter
options: { ...readableBuildInfo.program.options, noEmit: undefined },
options: sanatizeCompilerOptions(readableBuildInfo.program.options),
exportedModulesMap: undefined,
affectedFilesPendingEmit: undefined,
},
Expand All @@ -491,6 +492,16 @@ interface Symbol {
};
}

function sanatizeCompilerOptions(options: CompilerOptions | undefined) {
if (!options) return options;
let result: CompilerOptions | undefined;
for (const name of getOwnKeys(options).sort(compareStringsCaseSensitive)) {
// Ignore noEmit since that shouldnt be reason to emit the tsbuild info and presence of it in the buildinfo file does not matter
if (name.toLowerCase() !== "noemit") (result ||= {})[name] = options[name];
}
return result;
}

export enum CleanBuildDescrepancy {
CleanFileTextDifferent,
CleanFilePresent,
Expand Down
5 changes: 3 additions & 2 deletions src/testRunner/unittests/tsbuild/sample.ts
Original file line number Diff line number Diff line change
Expand Up @@ -285,12 +285,13 @@ namespace ts {
});

describe("downstream-blocked compilations", () => {
verifyTsc({
verifyTscWithEdits({
scenario: "sample1",
subScenario: "does not build downstream projects if upstream projects have errors",
fs: () => projFs,
commandLineArgs: ["--b", "/src/tests", "--verbose"],
modifyFs: fs => replaceText(fs, "/src/logic/index.ts", "c.multiply(10, 15)", `c.muitply()`)
modifyFs: fs => replaceText(fs, "/src/logic/index.ts", "c.multiply(10, 15)", `c.muitply()`),
edits: noChangeOnlyRuns
});
});

Expand Down
Loading