@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.
- package/README.md +7 -3
- 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
|
|
140
|
-
|
|
141
|
-
|
|
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.
|