Skip to content

v0.2.1, Published Package Metadata Fixes

Choose a tag to compare

@mirmachynka mirmachynka released this 22 Jun 10:37
· 2 commits to main since this release

v0.2.1

This release fixes the published package output so packed installs resolve correctly from a clean consumer project.

The publish flow now prepares the compiled dist package more carefully by promoting public entrypoints, rewriting compiled alias imports to relative built files, and rewriting packed package metadata during npm pack and npm publish.

This release also adds explicit pack verification that inspects the tarball and smoke-tests a clean temporary install before publishing.

Added

  • Publish-preparation step for packed dist output.
  • Public dist/src entrypoint promotion into dist.
  • Compiled alias import rewriting to relative built files.
  • Packed package.json metadata rewriting during npm pack and npm publish.
  • Explicit tarball verification before publish.
  • Clean temporary consumer smoke test for install, typecheck, and runtime import.

Fixed

  • Packed main metadata resolving to files that did not exist in the published tarball.
  • Packed types metadata resolving to files that did not exist in the published tarball.
  • Package-private alias imports resolving to missing files in packed output.

Notes

This is a packaging reliability release focused on making published installs work correctly.