@bsb/base 9.1.5 → 9.1.8
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/lib/base/BSBService.d.ts +1 -1
- package/lib/base/BSBService.js +2 -7
- package/lib/base/BSBService.js.map +1 -1
- package/lib/base/PluginConfig.d.ts +3 -24
- package/lib/base/PluginConfig.js.map +1 -1
- package/lib/dev.js +11 -0
- package/lib/dev.js.map +1 -1
- package/lib/interfaces/schema-events.d.ts +3 -5
- package/lib/interfaces/schema-events.js +1 -4
- package/lib/interfaces/schema-events.js.map +1 -1
- package/lib/plugins/service-default3/index.js +0 -1
- package/lib/plugins/service-default3/index.js.map +1 -1
- package/lib/schemas/config-default.json +1 -1
- package/lib/schemas/config-default.plugin.json +7 -1
- package/lib/schemas/events-default.json +1 -1
- package/lib/schemas/events-default.plugin.json +7 -1
- package/lib/schemas/observable-default.json +1 -1
- package/lib/schemas/observable-default.plugin.json +7 -1
- package/lib/schemas/service-benchmarkify.json +1 -1
- package/lib/schemas/service-default0.json +1 -1
- package/lib/schemas/service-default1.json +1 -1
- package/lib/schemas/service-default2.json +1 -1
- package/lib/schemas/service-default3.json +1 -1
- package/lib/schemas/service-default4.json +1 -1
- package/lib/scripts/bsb-client-cli.js +6 -6
- package/lib/scripts/bsb-client-cli.js.map +1 -1
- package/lib/scripts/bsb-plugin-cli.js +561 -39
- package/lib/scripts/bsb-plugin-cli.js.map +1 -1
- package/lib/scripts/extract-schemas-from-source.js +55 -12
- package/lib/scripts/extract-schemas-from-source.js.map +1 -1
- package/lib/scripts/generate-plugin-json.js +5 -5
- package/lib/scripts/generate-plugin-json.js.map +1 -1
- package/package.json +106 -106
package/package.json
CHANGED
|
@@ -1,106 +1,106 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@bsb/base",
|
|
3
|
-
"version": "9.1.
|
|
4
|
-
"type": "module",
|
|
5
|
-
"license": "(AGPL-3.0-only OR Commercial)",
|
|
6
|
-
"author": {
|
|
7
|
-
"name": "BetterCorp (PTY) Ltd",
|
|
8
|
-
"email": "ninja@bettercorp.dev",
|
|
9
|
-
"url": "https://bettercorp.dev/"
|
|
10
|
-
},
|
|
11
|
-
"keywords": [
|
|
12
|
-
"bsb",
|
|
13
|
-
"base",
|
|
14
|
-
"service",
|
|
15
|
-
"event-driven",
|
|
16
|
-
"microservice",
|
|
17
|
-
"framework"
|
|
18
|
-
],
|
|
19
|
-
"repository": {
|
|
20
|
-
"url": "git+https://github.com/BetterCorp/better-service-base.git"
|
|
21
|
-
},
|
|
22
|
-
"bsb": {
|
|
23
|
-
"publishIgnore": [
|
|
24
|
-
"service-default0",
|
|
25
|
-
"service-default1",
|
|
26
|
-
"service-default2",
|
|
27
|
-
"service-default3",
|
|
28
|
-
"service-default4"
|
|
29
|
-
]
|
|
30
|
-
},
|
|
31
|
-
"engines": {
|
|
32
|
-
"npm": ">=11.0.0",
|
|
33
|
-
"node": ">=23.0.0"
|
|
34
|
-
},
|
|
35
|
-
"scripts": {
|
|
36
|
-
"generate-docs": "typedoc --json ./docs.json --tsconfig ./tsconfig-release.json --cacheBust src/index.ts",
|
|
37
|
-
"dev": "node --import tsx src/dev.ts",
|
|
38
|
-
"start": "node lib/cli.js",
|
|
39
|
-
"tsc": "echo 'cleaning...' && rimraf ./lib && echo 'building...' && tsc && echo 'done'",
|
|
40
|
-
"build": "rimraf ./lib && tsc && npm run testDev && npm run generate-docs && npm run export-schemas && npm run generate-plugin-json",
|
|
41
|
-
"build-release": "rimraf ./lib && tsc --p ./tsconfig-release.json && npm run export-schemas && npm run generate-plugin-json",
|
|
42
|
-
"export-schemas": "node --import tsx src/scripts/export-schemas.ts",
|
|
43
|
-
"generate-client-types": "node --import tsx src/scripts/generate-client-types.ts",
|
|
44
|
-
"generate-plugin-json": "node --import tsx src/scripts/generate-plugin-json.ts",
|
|
45
|
-
"publish:client": "node lib/cli.js client publish",
|
|
46
|
-
"lint": "eslint src/ --ext .js,.jsx,.ts,.tsx",
|
|
47
|
-
"test": "cross-env NODE_OPTIONS= nyc --reporter json --reporter lcov node --import tsx ../node_modules/mocha/bin/mocha.js --reporter json --reporter-options output=junit.json",
|
|
48
|
-
"testDev": "cross-env NODE_OPTIONS= nyc node --import tsx ../node_modules/mocha/bin/mocha.js",
|
|
49
|
-
"test:watch": "node --import tsx ../node_modules/mocha/bin/mocha.js --watch --watch-files src"
|
|
50
|
-
},
|
|
51
|
-
"bin": {
|
|
52
|
-
"bsb": "lib/cli.js",
|
|
53
|
-
"bsb-plugin-cli": "lib/scripts/bsb-plugin-cli.js",
|
|
54
|
-
"bsb-client-cli": "lib/scripts/bsb-client-cli.js"
|
|
55
|
-
},
|
|
56
|
-
"files": [
|
|
57
|
-
"lib/**/*",
|
|
58
|
-
"bsb-plugin.json",
|
|
59
|
-
"README.md",
|
|
60
|
-
"LICENSE",
|
|
61
|
-
"LICENSE.commercial"
|
|
62
|
-
],
|
|
63
|
-
"main": "lib/index.js",
|
|
64
|
-
"types": "lib/index.d.ts",
|
|
65
|
-
"exports": {
|
|
66
|
-
".": {
|
|
67
|
-
"types": "./lib/index.d.ts",
|
|
68
|
-
"default": "./lib/index.js"
|
|
69
|
-
},
|
|
70
|
-
"./dev": {
|
|
71
|
-
"types": "./lib/dev.d.ts",
|
|
72
|
-
"default": "./lib/dev.js"
|
|
73
|
-
},
|
|
74
|
-
"./package.json": "./package.json"
|
|
75
|
-
},
|
|
76
|
-
"devDependencies": {
|
|
77
|
-
"@eslint/js": "^9.39.2",
|
|
78
|
-
"@types/assert": "^1.5.10",
|
|
79
|
-
"@types/chai": "^4.3.11",
|
|
80
|
-
"@types/js-yaml": "^4.0.9",
|
|
81
|
-
"@types/mocha": "^10.0.10",
|
|
82
|
-
"@types/node": "^25.
|
|
83
|
-
"@types/uuid": "^10.0.0",
|
|
84
|
-
"@typescript-eslint/eslint-plugin": "^8.54.0",
|
|
85
|
-
"@typescript-eslint/parser": "^8.54.0",
|
|
86
|
-
"benchmarkify": "^4.0.0",
|
|
87
|
-
"chai": "^4.3.10",
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
"ts-
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
"
|
|
102
|
-
"uuid": "^13.0.0",
|
|
103
|
-
"yaml": "^2.8.2"
|
|
104
|
-
},
|
|
105
|
-
"homepage": "https://bsbcode.dev/"
|
|
106
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@bsb/base",
|
|
3
|
+
"version": "9.1.8",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"license": "(AGPL-3.0-only OR Commercial)",
|
|
6
|
+
"author": {
|
|
7
|
+
"name": "BetterCorp (PTY) Ltd",
|
|
8
|
+
"email": "ninja@bettercorp.dev",
|
|
9
|
+
"url": "https://bettercorp.dev/"
|
|
10
|
+
},
|
|
11
|
+
"keywords": [
|
|
12
|
+
"bsb",
|
|
13
|
+
"base",
|
|
14
|
+
"service",
|
|
15
|
+
"event-driven",
|
|
16
|
+
"microservice",
|
|
17
|
+
"framework"
|
|
18
|
+
],
|
|
19
|
+
"repository": {
|
|
20
|
+
"url": "git+https://github.com/BetterCorp/better-service-base.git"
|
|
21
|
+
},
|
|
22
|
+
"bsb": {
|
|
23
|
+
"publishIgnore": [
|
|
24
|
+
"service-default0",
|
|
25
|
+
"service-default1",
|
|
26
|
+
"service-default2",
|
|
27
|
+
"service-default3",
|
|
28
|
+
"service-default4"
|
|
29
|
+
]
|
|
30
|
+
},
|
|
31
|
+
"engines": {
|
|
32
|
+
"npm": ">=11.0.0",
|
|
33
|
+
"node": ">=23.0.0"
|
|
34
|
+
},
|
|
35
|
+
"scripts": {
|
|
36
|
+
"generate-docs": "typedoc --json ./docs.json --tsconfig ./tsconfig-release.json --cacheBust src/index.ts",
|
|
37
|
+
"dev": "node --import tsx src/dev.ts",
|
|
38
|
+
"start": "node lib/cli.js",
|
|
39
|
+
"tsc": "echo 'cleaning...' && rimraf ./lib && echo 'building...' && tsc && echo 'done'",
|
|
40
|
+
"build": "rimraf ./lib && tsc && npm run testDev && npm run generate-docs && npm run export-schemas && npm run generate-plugin-json",
|
|
41
|
+
"build-release": "rimraf ./lib && tsc --p ./tsconfig-release.json && npm run export-schemas && npm run generate-plugin-json",
|
|
42
|
+
"export-schemas": "node --import tsx src/scripts/export-schemas.ts",
|
|
43
|
+
"generate-client-types": "node --import tsx src/scripts/generate-client-types.ts",
|
|
44
|
+
"generate-plugin-json": "node --import tsx src/scripts/generate-plugin-json.ts",
|
|
45
|
+
"publish:client": "node lib/cli.js client publish",
|
|
46
|
+
"lint": "eslint src/ --ext .js,.jsx,.ts,.tsx",
|
|
47
|
+
"test": "cross-env NODE_OPTIONS= nyc --reporter json --reporter lcov node --import tsx ../node_modules/mocha/bin/mocha.js --reporter json --reporter-options output=junit.json",
|
|
48
|
+
"testDev": "cross-env NODE_OPTIONS= nyc node --import tsx ../node_modules/mocha/bin/mocha.js",
|
|
49
|
+
"test:watch": "node --import tsx ../node_modules/mocha/bin/mocha.js --watch --watch-files src"
|
|
50
|
+
},
|
|
51
|
+
"bin": {
|
|
52
|
+
"bsb": "lib/cli.js",
|
|
53
|
+
"bsb-plugin-cli": "lib/scripts/bsb-plugin-cli.js",
|
|
54
|
+
"bsb-client-cli": "lib/scripts/bsb-client-cli.js"
|
|
55
|
+
},
|
|
56
|
+
"files": [
|
|
57
|
+
"lib/**/*",
|
|
58
|
+
"bsb-plugin.json",
|
|
59
|
+
"README.md",
|
|
60
|
+
"LICENSE",
|
|
61
|
+
"LICENSE.commercial"
|
|
62
|
+
],
|
|
63
|
+
"main": "lib/index.js",
|
|
64
|
+
"types": "lib/index.d.ts",
|
|
65
|
+
"exports": {
|
|
66
|
+
".": {
|
|
67
|
+
"types": "./lib/index.d.ts",
|
|
68
|
+
"default": "./lib/index.js"
|
|
69
|
+
},
|
|
70
|
+
"./dev": {
|
|
71
|
+
"types": "./lib/dev.d.ts",
|
|
72
|
+
"default": "./lib/dev.js"
|
|
73
|
+
},
|
|
74
|
+
"./package.json": "./package.json"
|
|
75
|
+
},
|
|
76
|
+
"devDependencies": {
|
|
77
|
+
"@eslint/js": "^9.39.2",
|
|
78
|
+
"@types/assert": "^1.5.10",
|
|
79
|
+
"@types/chai": "^4.3.11",
|
|
80
|
+
"@types/js-yaml": "^4.0.9",
|
|
81
|
+
"@types/mocha": "^10.0.10",
|
|
82
|
+
"@types/node": "^25.6.0",
|
|
83
|
+
"@types/uuid": "^10.0.0",
|
|
84
|
+
"@typescript-eslint/eslint-plugin": "^8.54.0",
|
|
85
|
+
"@typescript-eslint/parser": "^8.54.0",
|
|
86
|
+
"benchmarkify": "^4.0.0",
|
|
87
|
+
"chai": "^4.3.10",
|
|
88
|
+
"cross-env": "^10.1.0",
|
|
89
|
+
"eslint": "^9.39.2",
|
|
90
|
+
"mocha": "^11.7.5",
|
|
91
|
+
"nyc": "^17.1.0",
|
|
92
|
+
"rimraf": "^6.1.2",
|
|
93
|
+
"ts-morph": "^27.0.2",
|
|
94
|
+
"ts-node": "^10.9.2",
|
|
95
|
+
"tsx": "^4.21.0",
|
|
96
|
+
"typedoc": "^0.28.16",
|
|
97
|
+
"typescript": "^5.9.3"
|
|
98
|
+
},
|
|
99
|
+
"dependencies": {
|
|
100
|
+
"@anyvali/js": "^0.2.0",
|
|
101
|
+
"chokidar": "^5.0.0",
|
|
102
|
+
"uuid": "^13.0.0",
|
|
103
|
+
"yaml": "^2.8.2"
|
|
104
|
+
},
|
|
105
|
+
"homepage": "https://bsbcode.dev/"
|
|
106
|
+
}
|