@rdk-moss/memory publishes with private: false but its public exports carry no TSDoc stability tags (@public / @beta / @internal). Without them, a patch release can silently break embedding hosts.
Goal: mark every declaration the package barrel (packages/dmoss-memory/src/index.ts) re-exports with @public. Types that are exported from a module but not part of the supported surface get @internal.
How (mirror the kernel): @rdk-moss/core was just tagged this way — see commit 68953fe for the exact pattern:
- Collect the names the barrel re-exports = the public surface.
- For each exported declaration in the source files, add
@public to its TSDoc (or @internal if it is not reachable from the public surface).
- If a type is referenced by a public interface but not barrel-exported, it is part of the surface — tag it
@public and add it to the barrel.
Done when: every barrel-exported declaration has a stability tag, npm run build -w @rdk-moss/memory and npm run typecheck pass, and npm run verify is green.
Good first issue: mechanical, well-scoped, no behavior change.
@rdk-moss/memorypublishes withprivate: falsebut its public exports carry no TSDoc stability tags (@public/@beta/@internal). Without them, a patch release can silently break embedding hosts.Goal: mark every declaration the package barrel (
packages/dmoss-memory/src/index.ts) re-exports with@public. Types that are exported from a module but not part of the supported surface get@internal.How (mirror the kernel):
@rdk-moss/corewas just tagged this way — see commit68953fefor the exact pattern:@publicto its TSDoc (or@internalif it is not reachable from the public surface).@publicand add it to the barrel.Done when: every barrel-exported declaration has a stability tag,
npm run build -w @rdk-moss/memoryandnpm run typecheckpass, andnpm run verifyis green.Good first issue: mechanical, well-scoped, no behavior change.