pnpm run clean fails on v0.1.7-rc.2: "expected TypeScript outDir to end in /types: lib/desktop-keyboard-test-types" #8127
Clean script fails on a fresh rc.2 checkoutVersion: tag Repro: Cause: So on every fresh rc.2 checkout Expected: the planner either removes this outDir as well (deleting Workaround: manually remove gitignored |
Replies: 2 comments
|
This is fixed on Checked on a fresh clone: If you need to stay on rc.2, the fix cherry-picks cleanly and One leftover to know about: once the config is gone, |
|
Thanks @JulienKervarrec — clear and actionable. We run rc.2 in production with the documented workaround (manual Marking your comment as the answer. |
This is fixed on
masterby a08472e ("fix(build): fold desktop keyboard tests into client typecheck"). It deletestsconfig.desktop-keyboard-tests.jsonand moves those files into thetsconfig.client.jsontypecheck, so the only outDir left in the project graph that doesn't end in/typesis the native entrylib, whichscripts/clean.tsalready special-cases. The commit shipped in dsh-v0.2.0-rc.1 (tagged yesterday).Checked on a fresh clone: