Repository navigation
release: v0.1.2 - build dist one file per module instead of bundling - #89
Merged
Merged
Conversation
The build is now esbuild with bundle: false, emitting one minified file per source module in dist/, with bin/gitmulti.mjs a thin file importing ../dist/cli.mjs. The require()/import shapes and exported subpaths are unchanged. Resolves #83
## 🚀 What's Changed ### 💥 Breaking Changes _No breaking changes_ ### ✨ Features _No new features_ ### 🐛 Bug Fixes _No bug fixes_ ### 📦 Dependencies _No dependency updates_ ### 🔧 Other Changes - refactor: build dist one file per module instead of bundling (1d7398b) <details> <summary>👥 Contributors</summary> - @Shinrai </details>
Contributor
Author
🔒 Dependency Review
|
Contributor
Author
|
| File | Raw | Δ Raw | Gzipped | Δ Gzipped |
|---|---|---|---|---|
| bin/gitmulti.mjs | 101 B | −1.2 kB (-92.1%) ✅ | 117 B | −627 B |
| dist/cli.mjs | 1004 B | +1004 B (+100.0%) |
611 B | +611 B |
| dist/index.cjs | 988 B | +2 B (+0.2%) | 606 B | — |
| dist/index.mjs | 193 B | −1.1 kB (-85.3%) ✅ | 152 B | −599 B |
| dist/list.mjs | 494 B | +494 B (+100.0%) |
357 B | +357 B |
| Total | 2.7 kB | −802 B | 1.8 kB | −258 B |
📊 Generated by bundle-size. Brotli sizes also measured but omitted from the table for brevity.
## 🚀 What's Changed ### 💥 Breaking Changes _No breaking changes_ ### ✨ Features _No new features_ ### 🐛 Bug Fixes _No bug fixes_ ### 📦 Dependencies _No dependency updates_ ### 🔧 Other Changes - docs: add the v0.1.2 changelog and promote What's New (2154910) <details> <summary>👥 Contributors</summary> - @Shinrai </details>
Shinrai
approved these changes
Nov 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
gitmulti v0.1.2 Changelog
Release Date: November 2026
Release Type: Patch
Branch:
next→masterOverview
The published
dist/andbin/are now built one file per module instead of as two bundles. Thegitmulticommand, theimportandrequire()API and the exports are unchanged. No runtime behavior changed.🔧 Build
dist/mirrorssrc/, andbin/is a thin launcher (#88, fixes #83)The tsup bundles are replaced by
scripts/build.mjs. It runs esbuild over everysrc/**/*.mjsfile except the executable withbundle: false, minifying each module on its own (names kept for stack traces) intodist/at the same relative path, with source maps next to them.src/index.cjsis still copied verbatim todist/index.cjs, and the target staysnode22.bin/gitmulti.mjsis the minifiedsrc/bin/gitmulti.mjswith its one relative import repointed from../cli.mjsto../dist/cli.mjs. Before, the executable was its own bundle and carried a second copy of the library; now it is a few lines that import the built library fromdist/, so the code exists once.commanderstays an external import, installed fromdependencies. The.mapfiles are still left out of the tarball byfiles.The
gitmultibin entry, the packageexportsand the shape ofrequire()andimportare unchanged. The tarball now holds one.mjsfile per source module indist/instead of a singleindex.mjs.🔧 CI & tooling
bundle-size.ymlmeasuresdist/**.mjs,dist/**.cjsandbin/**.mjs, the published runtime files, so source maps no longer count (#88).ci.ymlandsrc/index.cjscomments name the per-module build instead of tsup (#88).📚 Documentation
🔧 Dependencies
Development dependencies only (#88):
esbuild^0.28.2 added andtsupremoved. The lockfile drops about 900 lines of tsup's dependency tree.commanderis unchanged.Upgrade notes
gitmulticommand and the API behave the same.👥 Contributors
Avg: 100.0% ·
ecf3a13· Node lts/*Co-authored-by: Shinrai [email protected]