chore: release#632
Open
toiroakr-release-bot[bot] wants to merge 1 commit into
Open
Conversation
commit: |
toiroakr-release-bot
Bot
force-pushed
the
changeset-release/main
branch
8 times, most recently
from
July 20, 2026 04:16
90a3512 to
11013b9
Compare
toiroakr-release-bot
Bot
force-pushed
the
changeset-release/main
branch
from
July 20, 2026 04:18
11013b9 to
e4bbf6f
Compare
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.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
politty@0.11.5
Patch Changes
3835069: Add Node.js on-disk compile cache (V8 code cache) support for faster warm starts.
runMainnow enables the compile cache automatically (Node.js >= 22.8.0; silent no-op otherwise), so dynamically imported modules such aslazy()subcommands skip recompilation. Note this is on by default: CLIs built with politty start writing cache files to${XDG_CACHE_HOME:-$HOME/.cache}/<command name>/node-compile-cache(the same XDG convention as the shell-completion workers) on end users' machines.NODE_COMPILE_CACHEalways takes precedence; opt out or override via the newMainOptions.compileCacheoption (false| custom directory).politty/compile-cachesubpath exportingenableCompileCache, for the bin-shim pattern that caches the whole CLI graph (ESM static imports are compiled before any code runs, so full coverage requires enabling the cache in a minimal shim that loads the real entry with a dynamic import). See "Faster Startup (Compile Cache)" in docs/recipes.md.politty generate-shimCLI command (andgenerateCompileCacheShimexport) that generates one bin shim perbinentry as part of apostbuild/prepackscript. Output paths default to the package'sbinpaths and program names to thebinnames;--entryis repeatable for multi-bin packages (paired in declaration order, or with--outpaths of the same count) and can be omitted when a conventional built module (./cli.js,./index.js, ...) sits next to the shim. Refuses to overwrite files it did not generate, and the generated shim starts the CLI without the cache whenpolittyis not resolvable at runtime (e.g. fully bundled CLIs) instead of failing.56fdde5: Fix
.d.tsgeneration broken by the TypeScript 7 upgrade. TypeScript 7 (tsgo) has no JS compiler API, so rolldown-plugin-dts's default tsc-based DTS generation crashed the build (and the Release workflow). tsdown now generates declarations with the tsgo binary from@typescript/native-preview; the emitted declarations are equivalent to the previous tsc output.Code Metrics Report
Details
| | main (3e969c5) | #632 (97a29b3) | +/- | |---------------------|----------------|----------------|------| | Coverage | 92.1% | 92.1% | 0.0% | | Files | 75 | 75 | 0 | | Lines | 7923 | 7923 | 0 | | Covered | 7304 | 7304 | 0 | + | Test Execution Time | 17s | 14s | -3s |Reported by octocov