objectstack-vscode@17.0.0-rc.1
Pre-releasePatch Changes
-
2e836de: chore(packaging): CHANGELOG.md ships in every npm tarball (#4261)
The AGENTS.md post-task checklist requires breaking changesets to carry their
FROM → TO migration because "this text ships to consumers asCHANGELOG.md
inside the npm package and is what an upgrading agent greps after the tombstone
error." That delivery path was severed for 68 of the 69 publishable packages:
npm packspackage.json/README*/LICENSE*unconditionally but — unlike
older npm versions — notCHANGELOG.md, and the canonical
"files": ["dist", "README.md"]whitelist never named it. Measured on npm
10.9.7:npm pack --dry-runon@objectstack/typesshipped 3 files while its
70KBCHANGELOG.mdstayed behind. Only@objectstack/speclisted it
explicitly.The tombstone-error scenario is precisely the one where the repo is out of
reach — the upgrading agent hasnode_modulesand nothing else — so the
migration text has to ride in the tarball. Every publishable package now
declaresCHANGELOG.mdinfiles, and the canonical whitelist is
["dist", "README.md", "CHANGELOG.md"].The other half is the gate:
check:published-filesgains a fifth invariant,
COMPLETE — a whitelist that fails to coverCHANGELOG.mdfails the
always-required lint job, so the next package cannot silently sever the path
again.@objectstack/spec's per-package EXTRA_ENTRIES exemption dissolves
into the canonical set.Consumer-visible change: one more file per install (the package's changelog,
e.g. 70.8KB for@objectstack/types), andgrep -r "removed key" node_modules/@objectstack/*/CHANGELOG.mdnow finds the migration it was
promised.