Repository navigation
Publish the client to npm + curl installer at /install.sh - #44
Merged
Merged
Conversation
@profullstack/tsbb, @profullstack/tsbb-tui and @profullstack/tsbb-mcp 0.12.1 are now on npm. They were names in package.json only: the apps import TypeScript and the workspace-only @tsbb/* packages, and Node will not strip types under node_modules, so a published copy of the source cannot run. - scripts/build-npm.mjs (pnpm build:npm) bundles each bin with esbuild into npm/<name>/, inlining @tsbb/* and keeping only real npm deps (synconfig, hqtui). Installs standalone with npm i -g on Node 22.6+. - /install.sh on every board: installs all three with bun or npm, ~/.local instead of sudo, then a PATH check. llms.txt names it. - tsbb-tui's bin imported ../src/config.ts, which moved to @tsbb/client; it crashed on start. Fixed, and --version for tsbb-tui and tsbb-mcp. - The board commands (serve, init, migrate, admin...) print how to get a checkout when run from the npm install instead of a module error. - README, docs/CLI.md and docs/MCP.md lead with the curl line. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
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.
Every product serves
/install.shfor its CLI (standing rule, 2026-10-12).Published
@profullstack/tsbb@0.12.1,@profullstack/tsbb-tui@0.12.1,@profullstack/tsbb-mcp@0.12.1. Until now these were names in package.json only (andbunx tsbbruns someone else's package)..tsand the workspace-only@tsbb/*packages; Node refuses type stripping undernode_modules.pnpm build:npm(scripts/build-npm.mjs, esbuild) writesnpm/<name>/with each bin as one ESM file,@tsbb/*inlined, and only real deps left (@profullstack/synconfig,@profullstack/hqtui). Verified withnpm i -ginto an empty prefix on Node 22.23:--versionon all three,tsbb latest --server tsbb.dev, a tsbb-mcpinitializehandshake, and the TUI rendering tsbb.dev's forums in a pty./install.shis served by every board (it installs the client, which works against any board),text/x-shellscript, with a test, and listed in llms.txt.apps/tui/bin/tsbb-tui.mjsimported../src/config.ts, which moved to@tsbb/client, sotsbb-tuicrashed with ERR_MODULE_NOT_FOUND from a checkout too.tsbb serve|init|migrate|admin|…from the npm install print how to get a checkout rather than failing on a missing module.tsbb-mcpinstead of a checkout path.To publish a later release:
pnpm build:npm, thennpm publishin eachnpm/<name>/.pnpm typecheckandpnpm test(239) pass locally.🤖 Generated with Claude Code