v0.29.1 - peer-dep preflight false positives
- 2026-06-08
Bugs
- [x] CI build for v0.29.0 release failed with
4 module(s) declared in modules.hosted.json could not be resolvedfor peersexpress(system8, scenes),zod(scenes), and@huggingface/transformers(genai). The new peer-dep preflight added in v0.29.0 was over-eager: it flagged peers used only by each module's server-side code (dist/server/), and ignoredpeerDependenciesMeta.optional. (Fixed inapps/web/vite-plugin-modules.ts:checkPeerDependencies()now (a) skips peers marked optional inpeerDependenciesMeta, and (b) skips peers that aren't transitively reachable from the client entry's directory tree — scanned via staticimport/requirematching of thedist/client/JS files. The original intent — catching missing client peers like@mantine/corethat would crash Rollup — is preserved by a new test that confirms peers reached through nested client files are still flagged. 4 new tests, 21/21 plugin tests green.)