@bsb/registry 1.1.1 → 1.1.5

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.
@@ -24,5 +24,66 @@
24
24
  "version": "1.0.0"
25
25
  }
26
26
  ],
27
- "image": "../../../docs/public/assets/images/bsb-logo.png"
27
+ "image": "../../../docs/public/assets/images/bsb-logo.png",
28
+ "configSchema": {
29
+ "anyvaliVersion": "1.0",
30
+ "schemaVersion": "1",
31
+ "root": {
32
+ "kind": "object",
33
+ "properties": {
34
+ "port": {
35
+ "kind": "optional",
36
+ "inner": {
37
+ "kind": "int32",
38
+ "min": 1,
39
+ "max": 65535
40
+ },
41
+ "default": 3200
42
+ },
43
+ "host": {
44
+ "kind": "optional",
45
+ "inner": {
46
+ "kind": "string"
47
+ },
48
+ "default": "0.0.0.0"
49
+ },
50
+ "pageSize": {
51
+ "kind": "optional",
52
+ "inner": {
53
+ "kind": "int32",
54
+ "min": 1,
55
+ "max": 100
56
+ },
57
+ "default": 20
58
+ },
59
+ "uploadDir": {
60
+ "kind": "optional",
61
+ "inner": {
62
+ "kind": "string"
63
+ },
64
+ "default": "./.temp/registry-images"
65
+ },
66
+ "badgesFile": {
67
+ "kind": "optional",
68
+ "inner": {
69
+ "kind": "string"
70
+ },
71
+ "default": "./BADGES.json"
72
+ },
73
+ "maxImageUploadMb": {
74
+ "kind": "optional",
75
+ "inner": {
76
+ "kind": "int32",
77
+ "min": 1,
78
+ "max": 20
79
+ },
80
+ "default": 5
81
+ }
82
+ },
83
+ "required": [],
84
+ "unknownKeys": "strip"
85
+ },
86
+ "definitions": {},
87
+ "extensions": {}
88
+ }
28
89
  }
@@ -122,8 +122,7 @@
122
122
  "repository": {
123
123
  "kind": "optional",
124
124
  "inner": {
125
- "kind": "string",
126
- "format": "url"
125
+ "kind": "string"
127
126
  }
128
127
  }
129
128
  },
@@ -565,8 +564,7 @@
565
564
  "repository": {
566
565
  "kind": "optional",
567
566
  "inner": {
568
- "kind": "string",
569
- "format": "url"
567
+ "kind": "string"
570
568
  }
571
569
  },
572
570
  "visibility": {
@@ -1036,8 +1034,7 @@
1036
1034
  "repository": {
1037
1035
  "kind": "optional",
1038
1036
  "inner": {
1039
- "kind": "string",
1040
- "format": "url"
1037
+ "kind": "string"
1041
1038
  }
1042
1039
  },
1043
1040
  "visibility": {
@@ -1524,8 +1521,7 @@
1524
1521
  "repository": {
1525
1522
  "kind": "optional",
1526
1523
  "inner": {
1527
- "kind": "string",
1528
- "format": "url"
1524
+ "kind": "string"
1529
1525
  }
1530
1526
  },
1531
1527
  "visibility": {
@@ -2089,5 +2085,60 @@
2089
2085
  }
2090
2086
  }
2091
2087
  },
2088
+ "configSchema": {
2089
+ "anyvaliVersion": "1.0",
2090
+ "schemaVersion": "1",
2091
+ "root": {
2092
+ "kind": "object",
2093
+ "properties": {
2094
+ "database": {
2095
+ "kind": "object",
2096
+ "properties": {
2097
+ "type": {
2098
+ "kind": "optional",
2099
+ "inner": {
2100
+ "kind": "enum",
2101
+ "values": [
2102
+ "file",
2103
+ "postgres"
2104
+ ]
2105
+ },
2106
+ "default": "file"
2107
+ },
2108
+ "path": {
2109
+ "kind": "optional",
2110
+ "inner": {
2111
+ "kind": "string"
2112
+ },
2113
+ "default": "./.temp/data"
2114
+ }
2115
+ },
2116
+ "required": [],
2117
+ "unknownKeys": "strip"
2118
+ },
2119
+ "auth": {
2120
+ "kind": "object",
2121
+ "properties": {
2122
+ "requireAuth": {
2123
+ "kind": "optional",
2124
+ "inner": {
2125
+ "kind": "bool"
2126
+ },
2127
+ "default": true
2128
+ }
2129
+ },
2130
+ "required": [],
2131
+ "unknownKeys": "strip"
2132
+ }
2133
+ },
2134
+ "required": [
2135
+ "database",
2136
+ "auth"
2137
+ ],
2138
+ "unknownKeys": "strip"
2139
+ },
2140
+ "definitions": {},
2141
+ "extensions": {}
2142
+ },
2092
2143
  "pluginType": "service"
2093
2144
  }
@@ -18,5 +18,60 @@
18
18
  "./docs/bsb-registry-db-file.md"
19
19
  ],
20
20
  "dependencies": [],
21
- "image": "../../../docs/public/assets/images/bsb-logo.png"
21
+ "image": "../../../docs/public/assets/images/bsb-logo.png",
22
+ "configSchema": {
23
+ "anyvaliVersion": "1.0",
24
+ "schemaVersion": "1",
25
+ "root": {
26
+ "kind": "object",
27
+ "properties": {
28
+ "database": {
29
+ "kind": "object",
30
+ "properties": {
31
+ "type": {
32
+ "kind": "optional",
33
+ "inner": {
34
+ "kind": "enum",
35
+ "values": [
36
+ "file",
37
+ "postgres"
38
+ ]
39
+ },
40
+ "default": "file"
41
+ },
42
+ "path": {
43
+ "kind": "optional",
44
+ "inner": {
45
+ "kind": "string"
46
+ },
47
+ "default": "./.temp/data"
48
+ }
49
+ },
50
+ "required": [],
51
+ "unknownKeys": "strip"
52
+ },
53
+ "auth": {
54
+ "kind": "object",
55
+ "properties": {
56
+ "requireAuth": {
57
+ "kind": "optional",
58
+ "inner": {
59
+ "kind": "bool"
60
+ },
61
+ "default": true
62
+ }
63
+ },
64
+ "required": [],
65
+ "unknownKeys": "strip"
66
+ }
67
+ },
68
+ "required": [
69
+ "database",
70
+ "auth"
71
+ ],
72
+ "unknownKeys": "strip"
73
+ },
74
+ "definitions": {},
75
+ "extensions": {}
76
+ }
22
77
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bsb/registry",
3
- "version": "1.1.1",
3
+ "version": "1.1.5",
4
4
  "description": "BSB Plugin Registry - Multi-language plugin discovery and publishing system",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -46,13 +46,13 @@
46
46
  "sql.js": "^1.12.0"
47
47
  },
48
48
  "devDependencies": {
49
- "@bsb/base": "^9.0.0",
49
+ "@bsb/base": "^9.1.6",
50
50
  "@types/node": "^22.0.0",
51
51
  "rimraf": "^6.0.1",
52
52
  "typescript": "^5.7.2"
53
53
  },
54
54
  "peerDependencies": {
55
- "@bsb/base": "^9.0.0"
55
+ "@bsb/base": "^9.1.6"
56
56
  },
57
57
  "bsb": {},
58
58
  "homepage": "https://io.bsbcode.dev/packages/nodejs/@bsb/registry"