Repin @get-bb/plugin-sdk to 0.4.21 to match the running bb - #2
Merged
Conversation
`bb plugin build` warned that this plugin pinned SDK 0.4.17 while the bb it runs on ships 0.4.21. Ran `bb plugin types`, which repins the SDK and moves the packages bb shims at runtime (the radix families, sonner, clsx, tailwind-merge, class-variance-authority) into type-only devDependencies at the versions bb actually provides. Verified after the repin: tsc --noEmit clean, 825 tests in 67 files pass, and `bb plugin build` emits both bundles without the version warning. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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.
bb plugin buildwas warning:Ran that command. It repins the SDK and moves the packages bb shims at runtime (the radix families,
sonner,clsx,tailwind-merge,class-variance-authority) fromdependenciesinto type-onlydevDependencies, at the versions bb actually provides.Only
package.jsonandpackage-lock.jsonchange — no source edits.Verification
tsc --noEmit— clean, 0 errorsvitest run— 825 passed, 7 skipped, 67 files, 0 failuresbb plugin build— emitsserver.js+app.js/app.css, and no longer prints the version warningNote
This moves several packages out of
dependencies, which is correct only because bb shims them at runtime — that is precisely whatbb plugin typesexists to encode. Worth a quick look at the plugin's panel after reloading, since a shim gap would show up in the frontend rather than in the type check.🤖 Generated with Claude Code