Area: packaging / bundle metadata (src/version.ts, generated dist/package.json.js)
The audit found a mismatch between the changelog and generated build output. The changelog says the Rollup JSON import is tree-shaken down to version-only metadata, but the built dist/version.js imports dist/package.json.js, and that generated file contains the full package metadata, including scripts and devDependencies.
Impact: browser or edge consumers can receive unnecessary package metadata in the published bundle. The shipped artifact also contradicts the release notes, making it harder to trust package-size and metadata claims.
Acceptance criteria:
Source: production-readiness audit.
Area: packaging / bundle metadata (
src/version.ts, generateddist/package.json.js)The audit found a mismatch between the changelog and generated build output. The changelog says the Rollup JSON import is tree-shaken down to version-only metadata, but the built
dist/version.jsimportsdist/package.json.js, and that generated file contains the full package metadata, including scripts and devDependencies.Impact: browser or edge consumers can receive unnecessary package metadata in the published bundle. The shipped artifact also contradicts the release notes, making it harder to trust package-size and metadata claims.
Acceptance criteria:
VERSIONdoes not pull fullpackage.jsonmetadata intodist.dist/package.json.jscontains scripts, devDependencies, or unrelated package metadata.pnpm run buildand package verification.Source: production-readiness audit.