Repository navigation
refactor(build): bundle with cli-base's cli-dev bundle; drop scripts/bundle.ts - #775
Merged
Merged
Conversation
…bundle.ts tg's script moved into cli-base 0.64 as cli-dev bundle (WC-LAY-10). Same chunks and outputs; the loader now also answers --version alone. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
# Conflicts: # CHANGELOG.md
# Conflicts: # CHANGELOG.md
Collaborator
Author
Results (cli-core 0.469.0, cli-base 0.65.0)Installed from
🤖 Generated with Claude Code |
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.
Task
Build tg's bundle with cli-base's shared
cli-dev bundle(0.65.0) and deletescripts/bundle.ts, which moved there (cli-base#382).Why
One build for every WireCat CLI. cli-base 0.65 also fixes the loader for a server started with a flag before
mcp serve(cli-base#389): tg's own script looks at three words and missestg work --read-only mcp serve, which then preloads no chunks and can fail after an in-place upgrade.What
build:tsc --build --force && cli-dev bundle --bin dist/bin/tg.js --external '@mtcute/*' --external undici;scripts/bundle.tsdeleted.--versionitself;smoke.tschecks it equals the bundle's answer.Testing
Results follow in a comment: identity under npm and pnpm, the upgrade test with and without a flag before
mcp serve, timings.🤖 Generated with Claude Code