@get-bb/plugin-sdk 0.4.3
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 +141 -0
- package/bundled-types/bb-plugin-sdk-app.d.ts +1519 -0
- package/bundled-types/bb-plugin-sdk-internal-composer-customization-validation.d.ts +30 -0
- package/bundled-types/bb-plugin-sdk-internal-composer-view.d.ts +10 -0
- package/bundled-types/bb-plugin-sdk-internal-host-policy.d.ts +141 -0
- package/bundled-types/bb-plugin-sdk-testing-app.d.ts +238 -0
- package/bundled-types/bb-plugin-sdk-testing.d.ts +309 -0
- package/bundled-types/bb-plugin-sdk.d.ts +13635 -0
- package/dist/app.js +36 -0
- package/dist/index.js +11 -0
- package/dist/internal/composer-customization-validation.js +238 -0
- package/dist/internal/composer-view.js +7 -0
- package/dist/internal/host-policy.js +261 -0
- package/dist/testing/app.js +1190 -0
- package/dist/testing/index.js +1625 -0
- package/package.json +137 -0
package/package.json
ADDED
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@get-bb/plugin-sdk",
|
|
3
|
+
"version": "0.4.3",
|
|
4
|
+
"homepage": "https://github.com/get-bb/bb#readme",
|
|
5
|
+
"bugs": {
|
|
6
|
+
"url": "https://github.com/get-bb/bb/issues"
|
|
7
|
+
},
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/get-bb/bb.git",
|
|
11
|
+
"directory": "packages/plugin-sdk"
|
|
12
|
+
},
|
|
13
|
+
"type": "module",
|
|
14
|
+
"publishConfig": {
|
|
15
|
+
"access": "public"
|
|
16
|
+
},
|
|
17
|
+
"files": [
|
|
18
|
+
"bundled-types",
|
|
19
|
+
"dist",
|
|
20
|
+
"README.md"
|
|
21
|
+
],
|
|
22
|
+
"exports": {
|
|
23
|
+
".": {
|
|
24
|
+
"source": "./src/index.ts",
|
|
25
|
+
"types": "./bundled-types/bb-plugin-sdk.d.ts",
|
|
26
|
+
"import": "./dist/index.js",
|
|
27
|
+
"default": "./dist/index.js"
|
|
28
|
+
},
|
|
29
|
+
"./app": {
|
|
30
|
+
"source": "./src/app.ts",
|
|
31
|
+
"types": "./bundled-types/bb-plugin-sdk-app.d.ts",
|
|
32
|
+
"import": "./dist/app.js",
|
|
33
|
+
"default": "./dist/app.js"
|
|
34
|
+
},
|
|
35
|
+
"./internal/composer-customization-validation": {
|
|
36
|
+
"source": "./src/internal/composer-customization-validation.ts",
|
|
37
|
+
"types": "./bundled-types/bb-plugin-sdk-internal-composer-customization-validation.d.ts",
|
|
38
|
+
"import": "./dist/internal/composer-customization-validation.js",
|
|
39
|
+
"default": "./dist/internal/composer-customization-validation.js"
|
|
40
|
+
},
|
|
41
|
+
"./internal/composer-view": {
|
|
42
|
+
"source": "./src/internal/composer-view.ts",
|
|
43
|
+
"types": "./bundled-types/bb-plugin-sdk-internal-composer-view.d.ts",
|
|
44
|
+
"import": "./dist/internal/composer-view.js",
|
|
45
|
+
"default": "./dist/internal/composer-view.js"
|
|
46
|
+
},
|
|
47
|
+
"./internal/host-policy": {
|
|
48
|
+
"source": "./src/internal/host-policy.ts",
|
|
49
|
+
"types": "./bundled-types/bb-plugin-sdk-internal-host-policy.d.ts",
|
|
50
|
+
"import": "./dist/internal/host-policy.js",
|
|
51
|
+
"default": "./dist/internal/host-policy.js"
|
|
52
|
+
},
|
|
53
|
+
"./testing": {
|
|
54
|
+
"source": "./src/testing/index.ts",
|
|
55
|
+
"types": "./bundled-types/bb-plugin-sdk-testing.d.ts",
|
|
56
|
+
"import": "./dist/testing/index.js",
|
|
57
|
+
"default": "./dist/testing/index.js"
|
|
58
|
+
},
|
|
59
|
+
"./testing/app": {
|
|
60
|
+
"source": "./src/testing/app.tsx",
|
|
61
|
+
"types": "./bundled-types/bb-plugin-sdk-testing-app.d.ts",
|
|
62
|
+
"import": "./dist/testing/app.js",
|
|
63
|
+
"default": "./dist/testing/app.js"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"types": "./bundled-types/bb-plugin-sdk.d.ts",
|
|
67
|
+
"scripts": {
|
|
68
|
+
"build": "node scripts/build-bundled-dts.mjs && node scripts/build-runtime.mjs",
|
|
69
|
+
"clean": "rimraf dist tsconfig.tsbuildinfo",
|
|
70
|
+
"prepack": "node scripts/build-bundled-dts.mjs && node scripts/build-runtime.mjs",
|
|
71
|
+
"test": "vitest run --config vitest.config.ts",
|
|
72
|
+
"typecheck": "node scripts/build-bundled-dts.mjs --check && tsc --noEmit"
|
|
73
|
+
},
|
|
74
|
+
"devDependencies": {
|
|
75
|
+
"@bb/domain": "workspace:*",
|
|
76
|
+
"@bb/sdk": "workspace:*",
|
|
77
|
+
"@bb/server-contract": "workspace:*",
|
|
78
|
+
"@bb/tsconfig": "workspace:*",
|
|
79
|
+
"@testing-library/react": "^16.3.2",
|
|
80
|
+
"@types/better-sqlite3": "^7.6.12",
|
|
81
|
+
"@types/node": "^22.0.0",
|
|
82
|
+
"@types/react": "^19.0.0",
|
|
83
|
+
"better-sqlite3": "12.10.0",
|
|
84
|
+
"cron-parser": "^5.5.0",
|
|
85
|
+
"esbuild": "^0.28.0",
|
|
86
|
+
"hono": "4.11.9",
|
|
87
|
+
"jsdom": "^29.0.1",
|
|
88
|
+
"react": "^19.0.0",
|
|
89
|
+
"react-dom": "^19.0.0",
|
|
90
|
+
"rollup": "^4.62.2",
|
|
91
|
+
"rollup-plugin-dts": "^6.4.1",
|
|
92
|
+
"typescript": "npm:@typescript/typescript6@^6.0.2",
|
|
93
|
+
"typescript-7": "npm:typescript@^7.0.2",
|
|
94
|
+
"vitest": "^4.1.1",
|
|
95
|
+
"zod": "^4.3.6"
|
|
96
|
+
},
|
|
97
|
+
"peerDependencies": {
|
|
98
|
+
"@testing-library/react": "^16.3.2",
|
|
99
|
+
"@types/better-sqlite3": "^7.6.12",
|
|
100
|
+
"@types/react": "^19.0.0",
|
|
101
|
+
"better-sqlite3": ">=12",
|
|
102
|
+
"cron-parser": "^5.5.0",
|
|
103
|
+
"hono": "^4.11.9",
|
|
104
|
+
"react": "^19.0.0",
|
|
105
|
+
"react-dom": "^19.0.0",
|
|
106
|
+
"zod": "^4.3.6"
|
|
107
|
+
},
|
|
108
|
+
"peerDependenciesMeta": {
|
|
109
|
+
"@testing-library/react": {
|
|
110
|
+
"optional": true
|
|
111
|
+
},
|
|
112
|
+
"@types/better-sqlite3": {
|
|
113
|
+
"optional": true
|
|
114
|
+
},
|
|
115
|
+
"@types/react": {
|
|
116
|
+
"optional": true
|
|
117
|
+
},
|
|
118
|
+
"better-sqlite3": {
|
|
119
|
+
"optional": true
|
|
120
|
+
},
|
|
121
|
+
"cron-parser": {
|
|
122
|
+
"optional": true
|
|
123
|
+
},
|
|
124
|
+
"hono": {
|
|
125
|
+
"optional": true
|
|
126
|
+
},
|
|
127
|
+
"react": {
|
|
128
|
+
"optional": true
|
|
129
|
+
},
|
|
130
|
+
"react-dom": {
|
|
131
|
+
"optional": true
|
|
132
|
+
},
|
|
133
|
+
"zod": {
|
|
134
|
+
"optional": true
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|