Repository navigation
release: v1.2.0 - build the CLI from src/bin/ with tsup - #107
Merged
Merged
Conversation
Bumps the prettier group with 1 update: [prettier](https://github.com/prettier/prettier). Updates `prettier` from 3.9.9 to 3.9.10 - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](prettier/prettier@3.9.9...3.9.10) --- updated-dependencies: - dependency-name: prettier dependency-version: 3.9.10 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: prettier ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps the prettier group with 1 update: [prettier](https://github.com/prettier/prettier). Updates `prettier` from 3.9.9 to 3.9.10 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/prettier/prettier/releases">prettier's releases</a>.</em></p> <blockquote> <h2>3.9.10</h2> <ul> <li>Markdown: Update <code>micromark-extension-gfm-table</code> to fix the table parse issue on performance (<a href="https://redirect.github.com/prettier/prettier/pull/20266">#20266</a> by <a href="https://github.com/fisker"><code>@fisker</code></a>)</li> </ul> <p>🔗 <a href="https://github.com/prettier/prettier/blob/3.9.10/CHANGELOG.md#3910">Changelog</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md">prettier's changelog</a>.</em></p> <blockquote> <h1>3.9.10</h1> <p><a href="https://github.com/prettier/prettier/compare/3.9.9...3.9.10">diff</a></p> <h4>Markdown: Update <code>micromark-extension-gfm-table</code> to fix the table parse issue on performance (<a href="https://redirect.github.com/prettier/prettier/pull/20266">#20266</a> by <a href="https://github.com/fisker"><code>@fisker</code></a>)</h4> <p>See <a href="https://github.com/micromark/micromark-extension-gfm-table/commit/4f43ead37b786bc531d924530d4ab4c714886267">https://github.com/micromark/micromark-extension-gfm-table/commit/4f43ead37b786bc531d924530d4ab4c714886267</a> for details.</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/prettier/prettier/commit/1172b82c295c4f889fd787dc6c78c3e194ebf353"><code>1172b82</code></a> Release 3.9.10</li> <li><a href="https://github.com/prettier/prettier/commit/d0142273aff2c76f8a69785d42ee2cedc4b0aaa3"><code>d014227</code></a> Update <code>micromark-extension-gfm-table</code> to fix the table parse issue on perfor...</li> <li><a href="https://github.com/prettier/prettier/commit/953b9084329dcd06ed1072a04b333f1e6e9371e8"><code>953b908</code></a> Bump Prettier dependency to 3.9.9</li> <li><a href="https://github.com/prettier/prettier/commit/ad8a6bf4fa23c42fd114683fec43b28a11bd24af"><code>ad8a6bf</code></a> Clean changelog_unreleased</li> <li>See full diff in <a href="https://github.com/prettier/prettier/compare/3.9.9...3.9.10">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details>
Contributor
Author
🔒 Dependency Review
|
Contributor
Author
|
| File | Raw | Δ Raw | Gzipped | Δ Gzipped |
|---|---|---|---|---|
| dist/api/cli/doctor.mjs | 479 B | +479 B (+100.0%) |
349 B | +349 B |
| dist/api/cli/export.mjs | 1.8 kB | +1.8 kB (+100.0%) |
1.0 kB | +1.0 kB |
| dist/api/cli/init.mjs | 1.0 kB | +1.0 kB (+100.0%) |
585 B | +585 B |
| dist/api/cli/install-hooks.mjs | 4.2 kB | +4.2 kB (+100.0%) |
1.6 kB | +1.6 kB |
| dist/api/cli/install-template.mjs | 1.6 kB | +1.6 kB (+100.0%) |
808 B | +808 B |
| dist/api/cli/link.mjs | 1.9 kB | +1.9 kB (+100.0%) |
1.0 kB | +1.0 kB |
| dist/api/cli/print-hook-script.mjs | 1.2 kB | +1.2 kB (+100.0%) |
595 B | +595 B |
| dist/api/cli/record.mjs | 1.3 kB | +1.3 kB (+100.0%) |
715 B | +715 B |
| dist/api/cli/restore.mjs | 2.7 kB | +2.7 kB (+100.0%) |
1.2 kB | +1.2 kB |
| dist/api/cli/sync.mjs | 2.5 kB | +2.5 kB (+100.0%) |
1.1 kB | +1.1 kB |
| dist/api/cli/uninstall-hooks.mjs | 793 B | +793 B (+100.0%) |
502 B | +502 B |
| dist/api/cli/version.mjs | 587 B | +587 B (+100.0%) |
383 B | +383 B |
| dist/api/commander/custom-help.mjs | 4.7 kB | +4.7 kB (+100.0%) |
2.0 kB | +2.0 kB |
| dist/api/detect/dispatcher.mjs | 2.9 kB | +2.9 kB (+100.0%) |
1.3 kB | +1.3 kB |
| dist/api/detect/husky.mjs | 526 B | +526 B (+100.0%) |
340 B | +340 B |
| dist/api/detect/lefthook.mjs | 722 B | +722 B (+100.0%) |
426 B | +426 B |
| dist/api/detect/pre-commit.mjs | 676 B | +676 B (+100.0%) |
414 B | +414 B |
| dist/api/detect/run.mjs | 1.8 kB | +1.8 kB (+100.0%) |
710 B | +710 B |
| dist/api/detect/simple-git-hooks.mjs | 516 B | +516 B (+100.0%) |
321 B | +321 B |
| dist/api/embedded/branch.mjs | 800 B | +800 B (+100.0%) |
527 B | +527 B |
| dist/api/embedded/gitlinks.mjs | 674 B | +674 B (+100.0%) |
458 B | +458 B |
| dist/api/embedded/manifest.mjs | 1.0 kB | +1.0 kB (+100.0%) |
620 B | +620 B |
| dist/api/embedded/record.mjs | 647 B | +647 B (+100.0%) |
452 B | +452 B |
| dist/api/embedded/registry.mjs | 1.9 kB | +1.9 kB (+100.0%) |
872 B | +872 B |
| dist/api/embedded/resolve.mjs | 960 B | +960 B (+100.0%) |
547 B | +547 B |
| dist/api/embedded/restore.mjs | 3.4 kB | +3.4 kB (+100.0%) |
1.6 kB | +1.6 kB |
| dist/api/embedded/sync.mjs | 3.7 kB | +3.7 kB (+100.0%) |
1.5 kB | +1.5 kB |
| dist/api/git.mjs | 1.5 kB | +1.5 kB (+100.0%) |
699 B | +699 B |
| dist/api/install/dispatcher.mjs | 1.3 kB | +1.3 kB (+100.0%) |
673 B | +673 B |
| dist/api/install/hooks.mjs | 1.5 kB | +1.5 kB (+100.0%) |
799 B | +799 B |
| dist/api/install/template.mjs | 301 B | +301 B (+100.0%) |
240 B | +240 B |
| dist/api/link/batch.mjs | 1.9 kB | +1.9 kB (+100.0%) |
943 B | +943 B |
| dist/api/link/copy-executable.mjs | 417 B | +417 B (+100.0%) |
313 B | +313 B |
| dist/api/link/elevate-windows.mjs | 1.4 kB | +1.4 kB (+100.0%) |
873 B | +873 B |
| dist/api/log.mjs | 669 B | +669 B (+100.0%) |
416 B | +416 B |
| dist/api/messages/load.mjs | 829 B | +829 B (+100.0%) |
434 B | +434 B |
| dist/api/paths.mjs | 1.0 kB | +1.0 kB (+100.0%) |
492 B | +492 B |
| dist/api/prompt.mjs | 534 B | +534 B (+100.0%) |
371 B | +371 B |
| dist/api/report.mjs | 2.2 kB | +2.2 kB (+100.0%) |
1.1 kB | +1.1 kB |
| dist/bin/git-embedded.mjs | 3.5 kB | +3.5 kB (+100.0%) |
1.6 kB | +1.6 kB |
| dist/lib/elevate-windows-child.mjs | 561 B | +561 B (+100.0%) |
346 B | +346 B |
| docs/changelog/v1/v1.0.0.md | 4.0 kB | — | 2.0 kB | — |
| docs/changelog/v1/v1.1.0.md | 9.0 kB | — | 3.8 kB | — |
| docs/changelog/v1/v1.1.1.md | 2.3 kB | — | 1.2 kB | — |
| docs/changelog/v1/v1.1.10.md | 3.6 kB | — | 1.5 kB | — |
| docs/changelog/v1/v1.1.11.md | 1.7 kB | — | 897 B | — |
| docs/changelog/v1/v1.1.12.md | 1.7 kB | — | 898 B | — |
| docs/changelog/v1/v1.1.13.md | 5.8 kB | — | 2.4 kB | — |
| docs/changelog/v1/v1.1.2.md | 776 B | — | 487 B | — |
| docs/changelog/v1/v1.1.3.md | 2.7 kB | — | 1.3 kB | — |
| docs/changelog/v1/v1.1.4.md | 942 B | — | 537 B | — |
| docs/changelog/v1/v1.1.5.md | 1.1 kB | — | 658 B | — |
| docs/changelog/v1/v1.1.6.md | 800 B | — | 522 B | — |
| docs/changelog/v1/v1.1.7.md | 1.8 kB | — | 1.0 kB | — |
| docs/changelog/v1/v1.1.8.md | 678 B | — | 438 B | — |
| docs/changelog/v1/v1.1.9.md | 2.4 kB | — | 1.2 kB | — |
| docs/changelog/v1/v1.2.0.md | 4.9 kB | +4.9 kB (+100.0%) |
2.2 kB | +2.2 kB |
| docs/design.md | 24.6 kB | — | 8.2 kB | — |
| docs/use-case-private-tests.md | 13.0 kB | — | 5.5 kB | — |
| hooks/_dispatch.template | 2.6 kB | — | 1.2 kB | — |
| hooks/pre-push | 7.4 kB | — | 3.0 kB | — |
| hooks/reference-transaction | 7.5 kB | — | 3.1 kB | — |
| hooks/update-embedded-repos | 2.7 kB | — | 1.3 kB | — |
| messages/setup-bare-githooks.md | 2.1 kB | — | 1016 B | — |
| messages/setup-dispatcher-canonical-complete.md | 1.1 kB | — | 557 B | — |
| messages/setup-dispatcher-missing-symlinks.md | 2.7 kB | — | 1.0 kB | — |
| messages/setup-dispatcher-non-conforming.md | 1.9 kB | — | 978 B | — |
| messages/setup-husky.md | 2.1 kB | — | 1.1 kB | — |
| messages/setup-init-templatedir.md | 1.9 kB | — | 906 B | — |
| messages/setup-lefthook.md | 2.1 kB | — | 902 B | — |
| messages/setup-none.md | 2.0 kB | — | 1018 B | — |
| messages/setup-pre-commit.md | 2.2 kB | — | 964 B | — |
| messages/setup-simple-git-hooks.md | 2.2 kB | — | 948 B | — |
| messages/setup-system-hookspath.md | 2.1 kB | — | 989 B | — |
| Total | 186.8 kB | +67.2 kB | 84.4 kB | +33.0 kB |
📊 Generated by bundle-size. Brotli sizes also measured but omitted from the table for brevity.
…22.0 (#122) `engines` stays `>=22.15.0` (slothlet 3.22). The vitest 5 toolchain's 22.22.0 goes in `devEngines` and the CI/publish minimum, which were 22.15.0 and 22.12.0.
bin/ is now build output: the CLI lives in src/bin/git-embedded.mjs and tsup writes bin/git-embedded.mjs (prepack builds it, bin/ is gitignored, files leaves src/bin/ out). The entry finds the package root by its package.json so it runs from both places. The placeholder build script is replaced by the real build, and build:ci runs it. The CLI entry is now under coverage and tests/bin-cli.test.vitest.mjs drives it in-process, keeping the suite at 100%. The dead program.createHelp assignment is removed; applyCustomHelpRecursive sets it on every command. Follows the bin/ convention in CLDMV/.github docs/conventions/package-layout.md (CLDMV/.github#429).
The first pass only bundled the CLI entry into bin/, and that file loaded the slothlet API from src/api/ at runtime, so the package still shipped src/. tsup now mirrors src/ into dist/ file by file (bundle: false), which keeps slothlet's api/ folder discoverable: the CLI is dist/bin/git-embedded.mjs and loads ../api next to itself, and the Windows elevation helper resolves its child script next to its own module. files ships dist/ (plus hooks/, messages/, docs/), not src/, and bundle-size measures dist/.
Moves the CLI to `src/bin/git-embedded.mjs` and builds all of `src/` into `dist/` with tsup (`bundle: false`), so the package ships `dist/` and no `src/`. `bin` points at `dist/bin/git-embedded.mjs`. Replaces the dummy `build` script. Resolves #31
npm update within the existing ranges, plus the fleet overrides for the eslint/@eslint/markdown chain. npm audit reports 0 vulnerabilities. - vite 8.3.2 -> 8.3.6 - vitest 5.0.3 -> 5.1.0 - @vitest/coverage-v8 5.0.3 -> 5.1.0 - eslint 10.12.0 -> 10.14.0 - katex 0.16.47 -> 0.19.1 - minimatch 10.2.6 -> 11.0.5 - nanoid 3.3.19 -> 3.3.20 Replaces #109, #111, #113, #116, #118, #120 and #121.
slothlet 3.24 warns on dir (renamed to base in 3.9), so after the lockfile refresh every CLI run printed a V3_CONFIG_DEPRECATED warning. The CLI and test setup now pass base, the dependency range is ^3.24.0, and a test checks the CLI starts without a deprecation warning.
…128) One PR for all the open Dependabot updates. `npm update` within the existing ranges, plus the fleet `katex` / `minimatch` overrides for the eslint chain, so `npm audit` is at 0. Replaces #109, #111, #113, #116, #118, #120 and #127. slothlet 3.24 warns on the `dir` option, so the CLI and test setup now pass `base`, the range is `^3.24.0`, and a test checks the CLI starts without a deprecation warning.
## 🚀 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 #128 to the v1.2.0 changelog (#126) (0345aed) - docs: v1.2.0 changelog and What's New (#126) (aa51f7c) <details> <summary>👥 Contributors</summary> - @Shinrai </details>
Shinrai
approved these changes
Nov 8, 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.
@cldmv/git-embeddedv1.2.0 ChangelogRelease Date: November 2026
Release Type: Minor
Branch:
release/1.2.0Overview
Version 1.2.0 gives the package a real build. The CLI moved from a hand-written
bin/git-embedded.mjstosrc/bin/git-embedded.mjs, and tsup now builds all ofsrc/intodist/, file by file. The published package shipsdist/instead ofbin/andsrc/, and thegit-embeddedcommand points atdist/bin/git-embedded.mjs. The CLI's commands, hooks and messages behave the same.It also refreshes the dependencies, clearing every
npm auditfinding, passes slothlet'sbaseoption so a current slothlet doesn't print a deprecation warning, and separates the package's runtime Node.js floor from the development one:engines.nodestays>=22.15.0, and the test toolchain's>=22.22.0moves todevEnginesand the CI minimum.✨ Features
The CLI and API are built from
src/with tsup (#125)buildwas a placeholderechothat only existed so the CI coverage jobs had something to run. It is nowtsup, configured intsup.config.mjswithbundle: false: everysrc/**/*.mjsfile is minified into the same path underdist/(withkeepNames, andnode:specifiers kept), so slothlet still discovers thedist/api/tree file by file.prepackruns the build, sonpm packandnpm publishalways ship a freshdist/, andbuild:cinow runs lint, the format check and the build.package.jsonfileslistsdist,hooks,messages,docs,README.mdandLICENSE;binandsrcare gone.binpoints at./dist/bin/git-embedded.mjs, andnpm startrunssrc/bin/git-embedded.mjsfrom a checkout.package.json, so the same file works fromsrc/bin/anddist/bin/, and the Windows elevation helper resolves its child script relative to the built module.tests/bin-cli.test.vitest.mjscovers the CLI entry point, and the bundle-size workflow measuresdist/**.Resolves #31.
🐛 Bug Fixes
Runtime and development Node.js floors (#122)
engines.nodestays>=22.15.0, which is what the package and@cldmv/slothlet3.22 need at runtime. The vitest 5 toolchain needs 22.22.0, so that floor is now declared indevEngines(onFail: "error"), and the CI and publish minimum Node versions, which were 22.15.0 and 22.12.0, follow it. The README states both.No deprecation warning from slothlet 3.24 (#128)
slothlet 3.24 warns when a project passes the
diroption, which was renamed tobasein 3.9, so with a current slothlet every CLI run printed aV3_CONFIG_DEPRECATEDwarning. The CLI now passesbase, and a test runs the CLI and checks that no deprecation warning reaches stderr.🔧 Dependencies
Runtime dependencies
@cldmv/slothlet^3.7.0→^3.24.0, resolving 3.22.0 → 3.24.0, because the CLI now passes thebaseoption (#128).@cldmv/wisp1.0.6 → 1.0.9 in the lockfile, inside the existing^1.0.1range (#128).Development dependencies
tsup9.0.0 (new, withesbuild0.28.2) andtypescript6.0.3 (new, tsup's peer dependency) for the build (#125).prettier3.9.9 → 3.9.10 (#106).vitestand@vitest/coverage-v85.0.3 → 5.1.0,vite8.3.2 → 8.3.6,eslint10.12.0 → 10.14.0,@cldmv/fix-headers2.2.0 → 2.2.6 andnanoid3.3.19 → 3.3.20, among others.overridesforkatex(>=0.19.1 <1.0.0) andminimatch(^11.0.3), the fleet fix for advisories in theeslint/@eslint/markdownchain (#128).npm auditreports 0 vulnerabilities.📚 Documentation
Upgrade notes
@cldmv/slothletnow needs^3.24.0; itsengines.nodeis>=22.15.0, the same as this package.git-embeddedcommand: installing the package still puts it onPATH, and its commands and hooks are unchanged.src/orbin/directly will no longer find them; the same modules are underdist/. The package has noexportsmap, so these were never a supported entry point.npm run buildbeforenpm packor a local install from the folder usesdist/(prepackdoes this automatically).👥 Contributors
Avg: 100.0% ·
7b9d767· Node lts/*Co-authored-by: Shinrai [email protected]