Installing and building the entire Vue library in a real Nuxt 4 project surfaced latent SFC compile errors — components BoldKit's own app never compiled (unused ones are tree-shaken, and vue-tsc doesn't enforce these compiler-only rules).
🐛 Fixes
<script setup>cannot contain ES module exports — 8 components declared an injection-keyexport const … = Symbol()inside<script setup>, breaking the consumer's build: Carousel, Dropzone, ChartContainer, ToggleGroup, Timeline, SidebarProvider, Stepper, StepperItem. Each key (and cross-imported context type) moved to a paired<script>block.- GaugeChart —
withDefaultsreferenced a setup-localDEFAULT_ZONES(defineProps() cannot reference locally declared variables). Moved to module scope.
Verified end-to-end: all 364 components compile in one Nuxt 4 build; vue-tsc clean; registry:audit clean.
Bumps
- React:
3.4.5 → 3.4.6 - Vue:
3.2.5 → 3.2.6