v0.7.1 — Packaging: build before publish, no source maps
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
-
prepublishOnlybuilds before packing.dist/is git-ignored and was built by hand, so
nothing tied the published bundle to the tagged source — a manualnpm publishcould ship a stale
dist/that silently disagreed with the release it claimed to be. -
Source maps are no longer published.
dist/**/*.mapwas 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. -
binpaths drop the./prefix. npm normalised it away and warned
"bin[cob-shopify]" script name was invalid and removedon 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