@get-bb/plugin-sdk 0.4.108 → 0.5.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -3
- package/bundled-types/bb-plugin-sdk-app.d.ts +16711 -313
- package/bundled-types/bb-plugin-sdk-testing-app.d.ts +48 -2
- package/bundled-types/bb-plugin-sdk.d.ts +4321 -4052
- package/dist/app.js +19 -1
- package/dist/host.js +60 -13827
- package/dist/internal/composer-customization-validation.js +0 -7
- package/dist/internal/plugin-app-collector.js +15 -13793
- package/dist/provider-bridge-acp.js +461 -183
- package/dist/provider-bridge.js +19 -2
- package/dist/testing/app.js +261 -13951
- package/package.json +6 -8
package/README.md
CHANGED
|
@@ -110,7 +110,7 @@ with the test stack used by your plugin (the peer dependencies are optional so
|
|
|
110
110
|
headless plugins do not install a browser harness):
|
|
111
111
|
|
|
112
112
|
```sh
|
|
113
|
-
npm install --save-dev @get-bb/plugin-sdk vitest better-sqlite3
|
|
113
|
+
npm install --save-dev @get-bb/plugin-sdk vitest better-sqlite3 cron-parser hono
|
|
114
114
|
npm install --save-dev react react-dom @testing-library/react jsdom # frontend tests
|
|
115
115
|
```
|
|
116
116
|
|
|
@@ -210,8 +210,9 @@ multi-plugin arbitration; use a live BB test for those boundaries.
|
|
|
210
210
|
The complete root declaration flattens the unpublished BB workspace contracts.
|
|
211
211
|
The testing declarations reuse that public `@get-bb/plugin-sdk` root instead of
|
|
212
212
|
embedding a second copy, and no declaration depends on unpublished `@bb/*`
|
|
213
|
-
packages. Genuine npm types (`hono`, `better-sqlite3`,
|
|
214
|
-
Library) remain peer imports.
|
|
213
|
+
packages. Genuine npm types (`hono`, `better-sqlite3`, React, and Testing
|
|
214
|
+
Library) remain peer imports. Zod is a runtime dependency of the SDK, so
|
|
215
|
+
plugins only declare it when their own source imports it. Scaffolded plugins depend on this package —
|
|
215
216
|
`bb plugin new` pins it exactly in `devDependencies` — and read the root/app
|
|
216
217
|
declarations straight from `node_modules/@get-bb/plugin-sdk/bundled-types/`,
|
|
217
218
|
the same files the testing subpaths reuse. Plugins scaffolded before that
|