@get-bb/plugin-sdk 0.4.3 → 0.4.4

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.
Files changed (2) hide show
  1. package/README.md +7 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -136,6 +136,10 @@ The complete root declaration flattens the unpublished BB workspace contracts.
136
136
  The testing declarations reuse that public `@get-bb/plugin-sdk` root instead of
137
137
  embedding a second copy, and no declaration depends on unpublished `@bb/*`
138
138
  packages. Genuine npm types (`hono`, `better-sqlite3`, `zod`, React, and Testing
139
- Library) remain peer imports. Scaffolded plugins still vendor the root/app
140
- declarations in `types/`; installing this package is needed only when their
141
- tests import the testing subpaths.
139
+ Library) remain peer imports. Scaffolded plugins depend on this package —
140
+ `bb plugin new` pins it exactly in `devDependencies` and read the root/app
141
+ declarations straight from `node_modules/@get-bb/plugin-sdk/bundled-types/`,
142
+ the same files the testing subpaths reuse. Plugins scaffolded before that
143
+ switch still vendor a copy of the root/app declarations in `types/` and map
144
+ `@get-bb/plugin-sdk` onto them through their `tsconfig.json`; `bb plugin
145
+ types` keeps those refreshed until they migrate.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@get-bb/plugin-sdk",
3
- "version": "0.4.3",
3
+ "version": "0.4.4",
4
4
  "homepage": "https://github.com/get-bb/bb#readme",
5
5
  "bugs": {
6
6
  "url": "https://github.com/get-bb/bb/issues"