Skip to content

v0.4.1

Choose a tag to compare

@chad-hill chad-hill released this 19 Jun 00:17
· 17 commits to main since this release

A packaging release: every @pro-laico/* plugin is now self-contained — install one and its third-party deps come along — while cross-plugin and framework deps stay peers so you resolve a single shared copy. Plus a @pro-laico/fonts build fix for clean first deploys.

Self-contained packages

@pro-laico/* packages now bundle their third-party runtime libraries as regular dependencies, so pnpm add @pro-laico/<pkg> just works without hand-installing transitive deps — server-only, zustand, @mux/blurup, dotenv, svgo, svg-path-bbox, @oversightstudio/mux-video, @next/third-parties, @vercel/analytics, and posthog-js. @pro-laico/core is always a regular dependency, so the shared base always installs.

Cross-package @pro-laico/* deps are now peerDependencies, so a consumer resolves a single shared copy of each plugin instead of duplicated nested copies. The host framework stays peer too — payload, next, react, react-dom, @payloadcms/* — alongside sharp, unocss, and @base-ui/react. Every plugin's docs page now spells out exactly what's installed for you vs. what you provide.

Fixed

  • @pro-laico/fonts: clean builds no longer fail on a missing definition.ts. The download step now writes an empty stub when src/app/definition.ts is absent (e.g. a fresh CI/Vercel checkout, where it's gitignored) on any skip/fail path, so next build can resolve @/app/definition and the fonts wire up on the next deploy once FONT_DOWNLOAD_URL is reachable.

Upgrade notes

  • Run pnpm install after updating. If your package manager doesn't auto-install peer dependencies, add the @pro-laico/* plugins each package now lists as peers (plus @base-ui/react / unocss / sharp where applicable) — each plugin's docs page lists what to provide.

Full changelog: v0.4.0...v0.4.1