Skip to content

v0.2.5 — ship relocated subdirectory declarations in the tarball

Choose a tag to compare

@brainkim brainkim released this 26 Jul 22:26
· 70 commits to main since this release

Fixed

  • Relocated subdirectory declarations excluded from the published package — When the author kept a files field, the generated dist whitelist only matched flat output (*.d.ts etc.), so declaration trees relocated from src/ subdirectories (dist/internal/*.d.ts) were silently excluded by npm pack while index.d.ts still imported them — consumers got a package whose types failed to resolve. Each dist subdirectory holding relocated declarations is now whitelisted. Fixes #11.