Skip to content

fix: add @ade/harnesses alias to CLI vitest config - #3

Merged
mrsimpson merged 2 commits into
mainfrom
claude/fix-build-fKXQs
Mar 17, 2026
Merged

fix: add @ade/harnesses alias to CLI vitest config#3
mrsimpson merged 2 commits into
mainfrom
claude/fix-build-fKXQs

Conversation

@mrsimpson

Copy link
Copy Markdown
Contributor

The CLI's vitest config aliased @ade/core to its TypeScript source
so tests could run without a prior build, but @ade/harnesses was
missing the same alias. This caused all CLI tests to fail with
"Failed to resolve entry for package @ade/harnesses" whenever the
harnesses dist was absent (e.g. after clean:build or on a fresh
checkout without running turbo first).

https://claude.ai/code/session_01F7BP8h7zywc5Z64tqk3Pf1

claude added 2 commits March 17, 2026 22:52
The CLI's vitest config aliased @ade/core to its TypeScript source
so tests could run without a prior build, but @ade/harnesses was
missing the same alias. This caused all CLI tests to fail with
"Failed to resolve entry for package @ade/harnesses" whenever the
harnesses dist was absent (e.g. after clean:build or on a fresh
checkout without running turbo first).

https://claude.ai/code/session_01F7BP8h7zywc5Z64tqk3Pf1
Replace per-package aliases in packages/cli/vitest.config.ts with
root-level aliases in vitest.config.ts. This means every package in
the workspace can run tests against TypeScript source without a prior
build, and the config stays in one place rather than requiring each
new consumer to repeat the same alias list.

https://claude.ai/code/session_01F7BP8h7zywc5Z64tqk3Pf1
@mrsimpson
mrsimpson merged commit 74ad2d0 into main Mar 17, 2026
1 check passed
@mrsimpson
mrsimpson deleted the claude/fix-build-fKXQs branch March 17, 2026 23:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants