Skip to content

v0.7.1 — Packaging: build before publish, no source maps

Choose a tag to compare

@callobuzz callobuzz released this 26 Aug 08:34
· 5 commits to main since this release

Packaging fixes on top of v0.7.0.
No runtime code changed — if you are upgrading from 0.6.6, read the 0.7.0 notes for what is new.

Fixed

  • prepublishOnly builds before packing. dist/ is git-ignored and was built by hand, so
    nothing tied the published bundle to the tagged source — a manual npm publish could ship a stale
    dist/ that silently disagreed with the release it claimed to be.

  • Source maps are no longer published. dist/**/*.map was 940 kB of a 1.6 MB unpacked package.
    The tarball drops from 315 kB to 128 kB and 12 files to 10. Maps are still generated for local
    debugging, just not shipped.

  • bin paths drop the ./ prefix. npm normalised it away and warned
    "bin[cob-shopify]" script name was invalid and removed on every publish, which reads like the
    CLI entry points are being dropped. They were not — the published 0.6.6 has both — but the warning
    was alarming and needless.

Full Changelog: v0.7.0...v0.7.1