Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…ort automatic selection with --yes option
…le contains only import lines
… to omit plugins from InitOptions
…ing for both @btst/stack and @btst/codegen
…on for improved code reuse
… tsconfig parsing
…and bump stack version to 2.10.0
|
✅ Shadcn registry validated — no registry changes detected. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
| hash.update("\0"); | ||
| } | ||
| process.stdout.write(hash.digest("hex")); | ||
| EOF |
There was a problem hiding this comment.
Duplicated hash computation blocks in test script
Low Severity
The idempotency check contains two identical 37-line Node.js heredoc blocks that compute a SHA-256 hash of all project files. This duplicated inline script increases maintenance burden — a bug fix to the hashing logic would need to be applied in both places. Extracting the hash computation into a shared helper script or shell function would eliminate the duplication.


Summary
Type of change
Checklist
pnpm buildpassespnpm typecheckpassespnpm lintpassesdocs/content/docs/) if consumer-facing types or behavior changedNote
Medium Risk
Medium risk: introduces a new published CLI that generates/patches user project files and updates release automation, so regressions could affect scaffolding correctness and package publishing.
Overview
Introduces a new published scaffolding CLI: adds
@btst/codegen(binbtst) with an interactive/non-interactiveinitcommand that generates framework-specific BTST files/routes for Next.js, React Router, and TanStack Start, patches global CSS imports, optionally patches layouts withQueryClientProvider, and installs required dependencies.Adds delegated command surface:
@btst/codegen generate/migratenow forward arguments to the existing@btst/clivianpx, including adapter-specific “run generate now” hints.Hardens delivery + docs: updates release workflow to build/typecheck and publish
@btst/codegen(and copy README into it), adds a PR-only GitHub Actions smoke test running an end-to-endinitharness, updates docs to explain the split between@btst/codegenand@btst/cli, and bumps@btst/stackversion to2.10.0.Written by Cursor Bugbot for commit be68327. This will update automatically on new commits. Configure here.