Repository navigation
deps: hold @types/better-sqlite3 at ^7 (fixes plain npm install after #42), list deployed plugins in .bb/plugins.json - #62
Merged
trotterdylan merged 1 commit intoOct 22, 2026
Conversation
…n in .bb/plugins.json #42 moved @types/better-sqlite3 to ^9.6.0 in ten plugins, but @get-bb/plugin-sdk declares an optional peer of ^7.6.12 on it, so a plain `npm install` in any of those plugins fails with an ERESOLVE peer conflict. CI and the bb-server image install with --legacy-peer-deps and never saw it; a developer installing a plugin from a checkout did. The plugins import better-sqlite3 for its types only and get the database from the bb host, so the ^7 typings lose nothing. This puts the range back to ^7.6.13 and refreshes the lockfiles (regenerated with --legacy-peer-deps, like #42's, so the SDK's optional peers stay marked dev and `npm ci --omit=dev` keeps installing only runtime packages). dependabot.yml now ignores the package, with a note on why, so the next grouped update does not move it again. .bb/plugins.json also gains the seven deployed plugins it was missing: thread-briefs, multi-repo, team-setup, linear, github-watcher, stewards and slack. Co-Authored-By: Claude Fable 5.1 <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.
Ivy could not install thread-briefs from a checkout:
npm installfails with an ERESOLVE peer conflict. #42 moved@types/better-sqlite3to^9.6.0in ten plugins, but@get-bb/plugin-sdk(0.6.37, and every other version) declares an optional peer of^7.6.12on it. CI and the bb-server image install with--legacy-peer-deps, which is why neither noticed; the deployed servers are unaffected.What this does
@types/better-sqlite3back to^7.6.13in devbox-provider, team-setup, repo-dashboard, github-watcher, linear, thread-briefs, multi-repo, slack, workstreams and stewards, and refreshes their lockfiles. The plugins import better-sqlite3 for its types only and get the database from the bb host (bb 0.46.0 itself runs better-sqlite3 13.0.3), so the ^7 typings lose nothing.--legacy-peer-deps, as deps: npm group update (replaces #41), with the fixes it needed #42's were. A strict regeneration marks the SDK's optional peers (react, hono, better-sqlite3, testing-library, …)devOptional, whichnpm ci --omit=devthen installs: stewards' production install went from 9 packages to 38 that way. With the legacy flag it stays at 9.dependabot.ymlignores@types/better-sqlite3, with a comment explaining the deliberate hold, so the next grouped update does not move it again. Move it when the SDK's peer range moves..bb/plugins.jsongains the seven deployed plugins it was missing: thread-briefs, multi-repo, team-setup, linear, github-watcher, stewards and slack.Verified
npm ci(no legacy flag) now resolves in all ten plugins; before, thread-briefs failed withConflicting peer dependency: @types/better-sqlite3@7.6.13.npm ci --omit=dev --legacy-peer-deps: stewards 9 packages, linear 3, thread-briefs 1 (unchanged from main).@types/better-sqlite3entries.Lane: no-review (dependency range reverted to what the SDK requires; no runtime change).
Merging moves the bb-plugins pin, builds a new
bb-serverimage and stages a restart on every developer's server.🤖 Generated with Claude Code
— from bb thread thr_23iz4wjdzz