Skip to content

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 resolved for peers express (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 ignored peerDependenciesMeta.optional. (Fixed in apps/web/vite-plugin-modules.ts: checkPeerDependencies() now (a) skips peers marked optional in peerDependenciesMeta, and (b) skips peers that aren't transitively reachable from the client entry's directory tree — scanned via static import/require matching of the dist/client/ JS files. The original intent — catching missing client peers like @mantine/core that 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.)