You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
package-layout: publish declarations as a separate types package (@cldmv/{pkg}-types), like slothlet #448
priority: mediumShould be addressed in the normal course of developmentstatus: implementedBuilt and deployed, but not yet fully tested/verifiedtype: documentationRelates to docs, README updates, guides, or inline code commentstype: enhancementAn improvement to existing functionality without adding a new feature
Packages shouldn't ship their types/. docs/conventions/package-layout.md currently puts types/ in files and points types / the <pkg>-dev condition at ./types/src/index.d.mts.
The target is what @cldmv/slothlet already does: the runtime package ships only a small types/stub/ whose .d.mts re-exports from a companion @cldmv/<pkg>-types package. That package is built from packaging/<pkg>-types/ and published in lockstep with the runtime (same version), and consumers install it as a dev dependency. See slothlet's docs/TYPESCRIPT.md, "Type Declarations (@cldmv/slothlet-types)".
types/ is also becoming a gitignored build artifact in the fleet .gitignore (#429), so repos that commit it today (uuid, fix-headers, vitest-runner, holdmytask, …) will stop tracking it.
To do:
package-layout.md: the stub + types-package layout, files, exports, how the types package is built and published (satellite packages via extra_packages), and how test:types runs against it.
Migration steps for repos that ship or commit types/ today.
changed the title [-]package-layout: publish declarations as a separate `@cldmv/<pkg>-types` package, like slothlet[/-][+]package-layout: publish declarations as a separate types package (@cldmv/{pkg}-types), like slothlet[/+]on Nov 8, 2026
priority: mediumShould be addressed in the normal course of developmentstatus: implementedBuilt and deployed, but not yet fully tested/verifiedtype: documentationRelates to docs, README updates, guides, or inline code commentstype: enhancementAn improvement to existing functionality without adding a new feature
Activity
[-]package-layout: publish declarations as a separate `@cldmv/<pkg>-types` package, like slothlet[/-][+]package-layout: publish declarations as a separate types package (@cldmv/{pkg}-types), like slothlet[/+]docs(package-layout): publish declarations as a separate types package (
cldmv-bot commentedon Nov 25, 2026
Marked
status: implemented— resolved by #539, merged intonext. This issue closes automatically when that work ships to the default branch.release: v4.44.0 - allow creating dev and wip/* branches