Skip to content

Commit 83a6613

Browse files
prc5claude
andcommitted
fix: šŸ› enums typecheck depends on its own build, so composed spec files stop racing it
tsconfig.spec.json references the composite lib project, so a test file importing lib sources needs the lib's declaration output in dist. Nothing ordered that: typecheck only depended on ^build, and under --parallel=2 a pack that composes new enums source (pack-newsletter's schemas.test.ts) hit TS6305 'Output file has not been built from source file' whenever enums:typecheck was scheduled before enums:build. Same trap as the paraglide generate ordering fixed in v1.2.1, one target over. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
1 parent d48b5d3 commit 83a6613

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

ā€Žpackages/enums/package.jsonā€Ž

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@
2424
"options": {
2525
"passWithNoTests": true
2626
}
27+
},
28+
"typecheck": {
29+
"dependsOn": ["build", "generate", "^generate", "^build"]
2730
}
2831
}
2932
}

0 commit comments

Comments
Ā (0)