Skip to content

Commit 84a32a1

Browse files
sanchitrkclaude
andcommitted
fix(ci): build aikit before verify's type-aware lint
`vp check` resolves @codeworksh/aikit through its generated declarations, like typecheck, so verify builds them first again. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent c0ff557 commit 84a32a1

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎vite.config.ts‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,14 @@ export default defineConfig({
8080
// Uncached tasks see the whole environment, which these need (npm OIDC in CI, git signing).
8181
bump: { command: "node scripts/bump.mjs", cache: false },
8282
release: { command: "node scripts/release.mjs", cache: false },
83-
// CI's check gate; each package's typecheck builds the aikit declarations it needs first.
83+
// CI's check gate. Type-aware lint, like each package's typecheck, resolves aikit through
84+
// its generated declarations, so they are built first.
8485
verify: {
8586
command: [
8687
"vp check packages scripts .github",
8788
"vp run --filter './packages/*' --concurrency-limit 2 typecheck",
8889
],
90+
dependsOn: ["@codeworksh/aikit#build"],
8991
cache: false,
9092
},
9193
},

0 commit comments

Comments
 (0)