v0.4.1
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 missingdefinition.ts. The download step now writes an empty stub whensrc/app/definition.tsis absent (e.g. a fresh CI/Vercel checkout, where it's gitignored) on any skip/fail path, sonext buildcan resolve@/app/definitionand the fonts wire up on the next deploy onceFONT_DOWNLOAD_URLis reachable.
Upgrade notes
- Run
pnpm installafter 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/sharpwhere applicable) — each plugin's docs page lists what to provide.
Full changelog: v0.4.0...v0.4.1