v0.2.1, Published Package Metadata Fixes
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
distoutput. - Public
dist/srcentrypoint promotion intodist. - Compiled alias import rewriting to relative built files.
- Packed
package.jsonmetadata rewriting duringnpm packandnpm publish. - Explicit tarball verification before publish.
- Clean temporary consumer smoke test for install, typecheck, and runtime import.
Fixed
- Packed
mainmetadata resolving to files that did not exist in the published tarball. - Packed
typesmetadata 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.