openclaw/scripts/write-unified-entry-dts.ts
Peter Steinberger 4015f0b046
ci: scope declaration caches to generator inputs (#135559)
* ci: scope declaration caches to generator inputs

Resolve the selected declaration writer and build configuration dependency graph instead of hashing every CI script. Keep explicit schema and metadata inputs, compiler receipts, and fail-closed module resolution in the existing cache owner.

* test(ci): complete declaration ownership fixtures
2026-09-01 15:40:18 -07:00

10 lines
456 B
TypeScript

import { TSDOWN_NON_SDK_DTS_CONFIG_GROUPS } from "./lib/tsdown-config-groups.mts";
import { writeTsdownDeclarations } from "./lib/tsdown-declaration-writer.mts";
import { listReplaceableTsdownDeclarationOutputs } from "./tsdown-build.mts";
await writeTsdownDeclarations(
TSDOWN_NON_SDK_DTS_CONFIG_GROUPS,
"tsdown-unified",
(root) => listReplaceableTsdownDeclarationOutputs({ cwd: root, roots: ["dist"] }),
"scripts/write-unified-entry-dts.ts",
);