Conversation
…dling, including new copy script for Tailwind compatibility
…nd improve error logging for missing source files
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
✅ Shadcn registry validated — no registry changes detected. |
…enhance RouteList component for route selection
…ckBlitz embed functionality
…ctive, updating route generation logic accordingly
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.
| "import": "./dist/lib.mjs", | ||
| "require": "./dist/lib.cjs" | ||
| } | ||
| }, |
There was a problem hiding this comment.
Missing types condition in package exports map
Medium Severity
The newly added exports map lacks types conditions for both "." and "./lib" entries. Before this PR, TypeScript resolved types via the top-level "types" field. Now that exports is present, TypeScript with moduleResolution: "bundler" or "node16" uses exports instead and ignores the top-level "types" fallback. The "./lib" export is especially at risk since it has no types fallback at all — TypeScript must infer the declaration file from ./dist/lib.mjs, which only works if unbuild produces a .d.ts (not .d.mts) that TypeScript's heuristic can discover.


Summary
@btst/codegen initType of change
Checklist
pnpm buildpassespnpm typecheckpassespnpm lintpassesdocs/content/docs/) if consumer-facing types or behavior changedScreenshots
Note
Medium Risk
Adds a new Next.js playground app plus new public exports from
@btst/codegen, and updates route-docs to introspect registered routes; most changes are additive but touch build/bundling and runtime route discovery.Overview
Adds a new
playground/Next.js app that lets users select BTST plugins, server-generate a scaffold plan via a new programmatic@btst/codegen/libentrypoint, and launch an in-browser StackBlitz WebContainer preview with route selection.Extends
@btst/codegento shiplibexports (scaffold planner + plugin metadata and newPLUGIN_ROUTESmap), updatesinitCLI output to print the scaffolded routes, and makes template rendering more robust to new bundled dist paths.Enhances
route-docswith route introspection utilities (getRegisteredRoutes+useRegisteredRoutes) and documents the server/client import boundary for client plugins to avoid Next.js SSR/SSG build failures.Written by Cursor Bugbot for commit 11d2f6a. This will update automatically on new commits. Configure here.