0.9.1-alpha.56
Alpha@xaui/native@0.9.1-alpha.56
Patch Changes
-
c251f16: Emit declarations with
tsc, not onerollup-plugin-dtsworkertsup'sdtsrolls all thirty-five entry points up in a single worker that holds the package's whole type graph at once — every component's props, andreact-native's.d.tsunder them. It crossed Node's default 4288 MB heap, and the worker does not fail gracefully: the JS build reports success, thenERR_WORKER_OUT_OF_MEMORYtakes the process down with an error that names no file.mainwent red on its own, and every CI job that runs@xaui/native#buildas a turbo dependency — Pack Uniqueness, ESLint, Type Check, Vitest — went down with it. The stopgap raised the ceiling withNODE_OPTIONS=--max-old-space-size=6144; the package gains roughly a component per branch, so the ceiling was going to be hit again.Declarations now come from
tsc --emitDeclarationOnly— a plain file-by-file emit with no rollup pass and no worker to run out of heap — andtooling/dual-dtsmirrors each emitted.d.tsto the.d.ctsthat therequirehalf of theexportsmap points at. The--max-old-space-sizeflag is gone from thebuildscript.What a consumer sees:
distnow carries a declaration file for every source module rather than one bundled.d.tsper entry point. Bothimportandrequiretype conditions still resolve to a real file on every subpath,pnpm pack:checkstill passes, andpnpm buildsucceeds on a default heap.