@bsb/registry 1.0.1
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 +133 -0
- package/bsb-plugin.json +47 -0
- package/lib/.bsb/clients/service-bsb-registry.d.ts +1118 -0
- package/lib/.bsb/clients/service-bsb-registry.d.ts.map +1 -0
- package/lib/.bsb/clients/service-bsb-registry.js +393 -0
- package/lib/.bsb/clients/service-bsb-registry.js.map +1 -0
- package/lib/plugins/service-bsb-registry/auth.d.ts +87 -0
- package/lib/plugins/service-bsb-registry/auth.d.ts.map +1 -0
- package/lib/plugins/service-bsb-registry/auth.js +197 -0
- package/lib/plugins/service-bsb-registry/auth.js.map +1 -0
- package/lib/plugins/service-bsb-registry/db/file.d.ts +73 -0
- package/lib/plugins/service-bsb-registry/db/file.d.ts.map +1 -0
- package/lib/plugins/service-bsb-registry/db/file.js +588 -0
- package/lib/plugins/service-bsb-registry/db/file.js.map +1 -0
- package/lib/plugins/service-bsb-registry/db/index.d.ts +75 -0
- package/lib/plugins/service-bsb-registry/db/index.d.ts.map +1 -0
- package/lib/plugins/service-bsb-registry/db/index.js +24 -0
- package/lib/plugins/service-bsb-registry/db/index.js.map +1 -0
- package/lib/plugins/service-bsb-registry/index.d.ts +1228 -0
- package/lib/plugins/service-bsb-registry/index.d.ts.map +1 -0
- package/lib/plugins/service-bsb-registry/index.js +661 -0
- package/lib/plugins/service-bsb-registry/index.js.map +1 -0
- package/lib/plugins/service-bsb-registry/types.d.ts +559 -0
- package/lib/plugins/service-bsb-registry/types.d.ts.map +1 -0
- package/lib/plugins/service-bsb-registry/types.js +235 -0
- package/lib/plugins/service-bsb-registry/types.js.map +1 -0
- package/lib/plugins/service-bsb-registry-ui/http-server.d.ts +138 -0
- package/lib/plugins/service-bsb-registry-ui/http-server.d.ts.map +1 -0
- package/lib/plugins/service-bsb-registry-ui/http-server.js +1660 -0
- package/lib/plugins/service-bsb-registry-ui/http-server.js.map +1 -0
- package/lib/plugins/service-bsb-registry-ui/index.d.ts +62 -0
- package/lib/plugins/service-bsb-registry-ui/index.d.ts.map +1 -0
- package/lib/plugins/service-bsb-registry-ui/index.js +101 -0
- package/lib/plugins/service-bsb-registry-ui/index.js.map +1 -0
- package/lib/plugins/service-bsb-registry-ui/static/assets/images/apple-touch-icon.png +0 -0
- package/lib/plugins/service-bsb-registry-ui/static/assets/images/favicon-16x16.png +0 -0
- package/lib/plugins/service-bsb-registry-ui/static/assets/images/favicon-32x32.png +0 -0
- package/lib/plugins/service-bsb-registry-ui/static/assets/images/favicon.ico +0 -0
- package/lib/plugins/service-bsb-registry-ui/static/css/style.css +1849 -0
- package/lib/plugins/service-bsb-registry-ui/static/js/app.js +336 -0
- package/lib/plugins/service-bsb-registry-ui/templates/layouts/main.hbs +39 -0
- package/lib/plugins/service-bsb-registry-ui/templates/pages/error.hbs +13 -0
- package/lib/plugins/service-bsb-registry-ui/templates/pages/home.hbs +62 -0
- package/lib/plugins/service-bsb-registry-ui/templates/pages/not-found.hbs +13 -0
- package/lib/plugins/service-bsb-registry-ui/templates/pages/plugin-detail.hbs +537 -0
- package/lib/plugins/service-bsb-registry-ui/templates/pages/plugins.hbs +40 -0
- package/lib/plugins/service-bsb-registry-ui/templates/partials/pagination.hbs +41 -0
- package/lib/plugins/service-bsb-registry-ui/templates/partials/plugin-card.hbs +40 -0
- package/lib/plugins/service-bsb-registry-ui/templates/partials/search-form.hbs +31 -0
- package/lib/schemas/service-bsb-registry-ui.json +57 -0
- package/lib/schemas/service-bsb-registry-ui.plugin.json +73 -0
- package/lib/schemas/service-bsb-registry.json +1883 -0
- package/lib/schemas/service-bsb-registry.plugin.json +68 -0
- package/package.json +60 -0
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "service-bsb-registry",
|
|
3
|
+
"name": "BSB Registry Core",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"description": "Event-driven plugin registry core for multi-language BSB plugin storage and discovery",
|
|
6
|
+
"category": "service",
|
|
7
|
+
"tags": [
|
|
8
|
+
"registry",
|
|
9
|
+
"plugin",
|
|
10
|
+
"marketplace",
|
|
11
|
+
"discovery",
|
|
12
|
+
"publishing",
|
|
13
|
+
"events",
|
|
14
|
+
"storage"
|
|
15
|
+
],
|
|
16
|
+
"documentation": [
|
|
17
|
+
"./docs/service-bsb-registry.md",
|
|
18
|
+
"./docs/bsb-registry-db-file.md"
|
|
19
|
+
],
|
|
20
|
+
"dependencies": [],
|
|
21
|
+
"image": "../../../docs/public/assets/images/bsb-logo.png",
|
|
22
|
+
"configSchema": {
|
|
23
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
24
|
+
"type": "object",
|
|
25
|
+
"properties": {
|
|
26
|
+
"database": {
|
|
27
|
+
"type": "object",
|
|
28
|
+
"properties": {
|
|
29
|
+
"type": {
|
|
30
|
+
"default": "file",
|
|
31
|
+
"type": "string",
|
|
32
|
+
"enum": [
|
|
33
|
+
"file",
|
|
34
|
+
"postgres"
|
|
35
|
+
]
|
|
36
|
+
},
|
|
37
|
+
"path": {
|
|
38
|
+
"default": "./.temp/data",
|
|
39
|
+
"type": "string"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"required": [
|
|
43
|
+
"type",
|
|
44
|
+
"path"
|
|
45
|
+
],
|
|
46
|
+
"additionalProperties": false
|
|
47
|
+
},
|
|
48
|
+
"auth": {
|
|
49
|
+
"type": "object",
|
|
50
|
+
"properties": {
|
|
51
|
+
"requireAuth": {
|
|
52
|
+
"default": true,
|
|
53
|
+
"type": "boolean"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"required": [
|
|
57
|
+
"requireAuth"
|
|
58
|
+
],
|
|
59
|
+
"additionalProperties": false
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"required": [
|
|
63
|
+
"database",
|
|
64
|
+
"auth"
|
|
65
|
+
],
|
|
66
|
+
"additionalProperties": false
|
|
67
|
+
}
|
|
68
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@bsb/registry",
|
|
3
|
+
"version": "1.0.1",
|
|
4
|
+
"description": "BSB Plugin Registry - Multi-language plugin discovery and publishing system",
|
|
5
|
+
"main": "lib/index.js",
|
|
6
|
+
"types": "lib/index.d.ts",
|
|
7
|
+
"files": [
|
|
8
|
+
"lib/**/*",
|
|
9
|
+
"README.md",
|
|
10
|
+
"bsb-plugin.json"
|
|
11
|
+
],
|
|
12
|
+
"scripts": {
|
|
13
|
+
"build": "bsb-plugin-cli build",
|
|
14
|
+
"clean": "bsb-plugin-cli clean",
|
|
15
|
+
"start": "bsb-plugin-cli start",
|
|
16
|
+
"dev": "bsb-plugin-cli dev",
|
|
17
|
+
"test": "bsb-plugin-cli test",
|
|
18
|
+
"publish:client": "bsb client publish"
|
|
19
|
+
},
|
|
20
|
+
"keywords": [
|
|
21
|
+
"bsb",
|
|
22
|
+
"registry",
|
|
23
|
+
"plugin",
|
|
24
|
+
"marketplace",
|
|
25
|
+
"discovery",
|
|
26
|
+
"publishing",
|
|
27
|
+
"multi-language",
|
|
28
|
+
"api"
|
|
29
|
+
],
|
|
30
|
+
"license": "(AGPL-3.0-only OR Commercial)",
|
|
31
|
+
"author": {
|
|
32
|
+
"name": "BetterCorp (PTY) Ltd",
|
|
33
|
+
"email": "nick@bettercorp.dev",
|
|
34
|
+
"url": "https://bettercorp.dev/"
|
|
35
|
+
},
|
|
36
|
+
"dependencies": {
|
|
37
|
+
"@fastify/cors": "^10.0.1",
|
|
38
|
+
"@fastify/multipart": "^9.4.0",
|
|
39
|
+
"@fastify/static": "^8.0.2",
|
|
40
|
+
"@fastify/view": "^10.0.1",
|
|
41
|
+
"fastify": "^5.2.0",
|
|
42
|
+
"handlebars": "^4.7.8",
|
|
43
|
+
"marked": "^17.0.2",
|
|
44
|
+
"sql.js": "^1.12.0",
|
|
45
|
+
"zod": "^4.0.0"
|
|
46
|
+
},
|
|
47
|
+
"devDependencies": {
|
|
48
|
+
"@bsb/base": "^9.0.0",
|
|
49
|
+
"@types/node": "^22.0.0",
|
|
50
|
+
"rimraf": "^6.0.1",
|
|
51
|
+
"ts-node": "^10.9.2",
|
|
52
|
+
"typescript": "^5.7.2"
|
|
53
|
+
},
|
|
54
|
+
"peerDependencies": {
|
|
55
|
+
"@bsb/base": "^9.0.0"
|
|
56
|
+
},
|
|
57
|
+
"bsb": {},
|
|
58
|
+
"homepage": "https://io.bsbcode.dev/plugins/bsb/registry"
|
|
59
|
+
}
|
|
60
|
+
|