All notable changes to this package are documented here. Format follows Keep a Changelog.
[Unreleased]
[0.1.0] - 2026-09-29
Changed
- Stamp-free output (build-determinism ruling):
bundleno longer writes abuiltAttimestamp into*.meta.json(removed, not replaced — no consumer ever read it).standaloneno longer emits the// Built: <ISO>banner line; the source-comment header is purely source-derived.- Both
Bun.buildsites pinsourcemap: 'none', so Bun's path-derived//# debugId=trailer no longer reaches the emitted bytes. Side effect:bundleno longer emits.mapsidecars for preset/pack bundles — the trailer was their only link, since Bun emits nosourceMappingURLcomment. - The golden fixtures were re-captured accordingly, and the test/regold normalizers for those three tokens were replaced by absence assertions.
- Reproducibility is PATH-SCOPED — see README § Determinism of the emitted artifacts. The path-dependent minifier identifier allocation is the known residual, deliberately unfixed (a recorded ruling).
Added
bundle --banner-file <path>(programmaticopts.banner/opts.bannerFile): an opt-in legal comment (/*! … */) written at byte 0 of every emitted JS bundle, after minification, so no minifier can strip it. Deterministic;*.meta.jsonsizes/hashes cover the final bytes; never duplicated on re-application. Omitted, the output is byte-identical (goldens unchanged).- Initial mint of
@awacloud/tool-fw-bundler(fw-tools mutualization). Ports three fw build tools logic-verbatim, alongside fw's unchanged originals:bundlesubcommand ← fwtools/build/bundler/(index.js+lib/*).standalonesubcommand ← fwtools/build/standalone/index.js../modlibsubpath export ← fwtools/_lib/{scan-modules,cli-help}.js— the shared substrate, ratifying the design decision (subpath, not a standalone@awacloud/tool-fw-modlib).
--pkg <dir>path-resolution seam on both subcommands (default: cwd); the only logic adaptation vs the fw originals.- Frozen
bundle/standalone/modlibcall contract (docs/README.md). - Golden / equivalence + idempotence integration tests, including a byte-identical
standalonecompare vs the real fw original and an fw-shaped build fixture.
Notes
- fw source is untouched (the fw devDep add,
scriptsrewrite andfilesdrop are deferred, recorded in the migration inventory, not applied here).