@chidchanun/bcp 0.2.18 → 0.3.0
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 +171 -218
- package/docs/README.md +81 -44
- package/docs/api-freeze-snapshot.json +243 -0
- package/docs/api-manifest.json +21 -13
- package/docs/api-reference.md +105 -12
- package/docs/application-platform.md +378 -0
- package/docs/docs-web-manifest.json +9 -4
- package/docs/migration-0.2.md +79 -80
- package/docs/migration-0.3.md +159 -0
- package/docs/platform-contract.md +92 -78
- package/docs/platform-manifest.json +29 -6
- package/docs/releases/0.2.19.md +125 -0
- package/docs/releases/0.3.0.md +129 -0
- package/docs/releasing.md +104 -179
- package/docs/stability-api-freeze.md +150 -0
- package/package.json +8 -2
- package/packages/bundler/src/client-boundary.ts +1 -0
- package/packages/client/src/application.mjs +1873 -0
- package/packages/client/src/application.ts +12 -0
- package/packages/server/src/application.ts +845 -0
package/docs/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
The `docs/` directory is the documentation source of truth for BCP Framework and is organized for **`bcp-docs-web`**.
|
|
4
4
|
|
|
5
|
-
> **Documentation target:** BCP Framework `0.
|
|
5
|
+
> **Documentation target:** BCP Framework `0.3.0 — BCP Application Platform`
|
|
6
6
|
>
|
|
7
7
|
> **Release state:** unreleased development target until RC validation, tagging and npm publication complete.
|
|
8
8
|
|
|
@@ -17,11 +17,14 @@ docs/platform-manifest.json
|
|
|
17
17
|
|
|
18
18
|
docs/api-manifest.json
|
|
19
19
|
-> public package entrypoints, source ownership and guide mapping
|
|
20
|
+
|
|
21
|
+
docs/api-freeze-snapshot.json
|
|
22
|
+
-> reviewed public/CLI/prepared-package API baseline
|
|
20
23
|
```
|
|
21
24
|
|
|
22
25
|
Framework source and tests remain authoritative for runtime behavior.
|
|
23
26
|
|
|
24
|
-
## Current
|
|
27
|
+
## Current platform milestones
|
|
25
28
|
|
|
26
29
|
| Version | Milestone |
|
|
27
30
|
| --- | --- |
|
|
@@ -44,56 +47,85 @@ Framework source and tests remain authoritative for runtime behavior.
|
|
|
44
47
|
| `0.2.16` | Cache Platform v2 |
|
|
45
48
|
| `0.2.17` | Observability Platform v3 |
|
|
46
49
|
| `0.2.18` | Deployment Platform v2 |
|
|
50
|
+
| `0.2.19` | Stability & API Freeze |
|
|
51
|
+
| `0.3.0` | BCP Application Platform |
|
|
47
52
|
|
|
48
|
-
## 0.
|
|
53
|
+
## 0.3.0 — BCP Application Platform
|
|
49
54
|
|
|
50
|
-
`0.
|
|
55
|
+
`0.3.0` adds one server-only public composition root:
|
|
56
|
+
|
|
57
|
+
```text
|
|
58
|
+
bcp/application
|
|
59
|
+
```
|
|
51
60
|
|
|
52
61
|
Primary APIs:
|
|
53
62
|
|
|
54
63
|
```ts
|
|
55
64
|
import {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
} from "bcp/deployment";
|
|
65
|
+
createApp,
|
|
66
|
+
defineApp,
|
|
67
|
+
} from "bcp/application";
|
|
60
68
|
```
|
|
61
69
|
|
|
62
|
-
|
|
70
|
+
The application runtime composes existing Plugin and Deployment platforms instead of duplicating them. It provides:
|
|
71
|
+
|
|
72
|
+
- typed application config parsing;
|
|
73
|
+
- a shared service registry and hook bus;
|
|
74
|
+
- existing plugin/module composition;
|
|
75
|
+
- application-owned deployment resources;
|
|
76
|
+
- deterministic startup/shutdown ordering;
|
|
77
|
+
- startup rollback;
|
|
78
|
+
- readiness and diagnostics;
|
|
79
|
+
- signal/shutdown-hook integration;
|
|
80
|
+
- compiled `application.mjs` production runtime.
|
|
81
|
+
|
|
82
|
+
Lifecycle:
|
|
63
83
|
|
|
64
84
|
```text
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
85
|
+
application.setup
|
|
86
|
+
↓
|
|
87
|
+
plugins
|
|
88
|
+
↓
|
|
89
|
+
resources
|
|
90
|
+
↓
|
|
91
|
+
application.start
|
|
92
|
+
↓
|
|
93
|
+
ready
|
|
94
|
+
|
|
95
|
+
shutdown:
|
|
96
|
+
application.stop
|
|
97
|
+
↓
|
|
98
|
+
resources (reverse)
|
|
99
|
+
↓
|
|
100
|
+
plugins
|
|
101
|
+
↓
|
|
102
|
+
application.dispose
|
|
83
103
|
```
|
|
84
104
|
|
|
85
|
-
|
|
105
|
+
Read [Application Platform](application-platform.md) and [Migrating to 0.3.0](migration-0.3.md).
|
|
86
106
|
|
|
87
|
-
|
|
107
|
+
## API baseline
|
|
88
108
|
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
109
|
+
`0.2.19` froze the final `0.2.x` public contract. `0.3.0` establishes the next reviewed baseline by adding `bcp/application` without intentionally removing existing `0.2.19` entrypoints.
|
|
110
|
+
|
|
111
|
+
Validate the current baseline:
|
|
112
|
+
|
|
113
|
+
```bash
|
|
114
|
+
npm run api:check
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
Regenerate only when an intentional platform-baseline change is being reviewed:
|
|
118
|
+
|
|
119
|
+
```bash
|
|
120
|
+
npm run api:snapshot
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
Release metadata readiness:
|
|
124
|
+
|
|
125
|
+
```bash
|
|
126
|
+
npm run release:readiness
|
|
127
|
+
npm run release:readiness:report
|
|
128
|
+
```
|
|
97
129
|
|
|
98
130
|
## Update rule
|
|
99
131
|
|
|
@@ -105,13 +137,17 @@ When framework behavior or public surface changes:
|
|
|
105
137
|
4. Update `platform-manifest.json` for runtime/public-entrypoint/capability changes.
|
|
106
138
|
5. Update `api-manifest.json` for public API ownership/guide changes.
|
|
107
139
|
6. Update `docs-web-manifest.json` for website route/navigation changes.
|
|
108
|
-
7.
|
|
109
|
-
8.
|
|
140
|
+
7. Review the API baseline snapshot when public/package contracts change.
|
|
141
|
+
8. Update `docs/releases/<version>.md`.
|
|
142
|
+
9. Change release state only after the release workflow reaches that state.
|
|
110
143
|
|
|
111
144
|
## Important docs-web routes
|
|
112
145
|
|
|
113
146
|
| Website route | Markdown source |
|
|
114
147
|
| --- | --- |
|
|
148
|
+
| `/docs/application-platform` | `application-platform.md` |
|
|
149
|
+
| `/docs/migration-0.3` | `migration-0.3.md` |
|
|
150
|
+
| `/docs/stability-api-freeze` | `stability-api-freeze.md` |
|
|
115
151
|
| `/docs/observability-v3` | `observability-v3.md` |
|
|
116
152
|
| `/docs/deployment-platform-v2` | `deployment-platform-v2.md` |
|
|
117
153
|
| `/docs/durable-jobs` | `durable-jobs.md` |
|
|
@@ -122,7 +158,7 @@ When framework behavior or public surface changes:
|
|
|
122
158
|
| `/docs/plugin-module-platform` | `plugin-module-platform.md` |
|
|
123
159
|
| `/docs/cache-platform-v2` | `cache-platform-v2.md` |
|
|
124
160
|
| `/docs/api-reference` | `api-reference.md` |
|
|
125
|
-
| `/releases/0.
|
|
161
|
+
| `/releases/0.3.0` | `releases/0.3.0.md` |
|
|
126
162
|
|
|
127
163
|
Every route/source pair is validated by unit tests.
|
|
128
164
|
|
|
@@ -145,16 +181,17 @@ bcp/testing
|
|
|
145
181
|
bcp/plugins
|
|
146
182
|
bcp/observability
|
|
147
183
|
bcp/deployment
|
|
184
|
+
bcp/application
|
|
148
185
|
bcp/server
|
|
149
186
|
bcp/server-only
|
|
150
187
|
bcp/middleware
|
|
151
188
|
```
|
|
152
189
|
|
|
153
|
-
The API
|
|
190
|
+
The API manifest, platform manifest and reviewed API baseline must remain aligned.
|
|
154
191
|
|
|
155
192
|
## Release validation
|
|
156
193
|
|
|
157
|
-
Before publishing `0.
|
|
194
|
+
Before publishing `0.3.0`:
|
|
158
195
|
|
|
159
196
|
```bash
|
|
160
197
|
npm run typecheck
|
|
@@ -162,9 +199,9 @@ npm run test:unit
|
|
|
162
199
|
npm run test:integration
|
|
163
200
|
npm run test:e2e
|
|
164
201
|
npm run test:package
|
|
202
|
+
npm run api:check
|
|
203
|
+
npm run release:readiness
|
|
165
204
|
npm run rc:check
|
|
166
205
|
```
|
|
167
206
|
|
|
168
|
-
Deployment Platform v2 validation covers resource lifecycle ordering, startup rollback, readiness/diagnostics, runtime metadata, server-only boundaries, compiled production entrypoints and docs/platform/API parity.
|
|
169
|
-
|
|
170
207
|
The final release tag must point to the exact commit that passed the complete RC sequence.
|
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"framework": "bcp",
|
|
4
|
+
"version": "0.3.0",
|
|
5
|
+
"baselineVersion": "0.2.19",
|
|
6
|
+
"state": "frozen",
|
|
7
|
+
"intentionalBreakingChanges": false,
|
|
8
|
+
"publicEntrypoints": [
|
|
9
|
+
"bcp",
|
|
10
|
+
"bcp/island",
|
|
11
|
+
"bcp/cache",
|
|
12
|
+
"bcp/config",
|
|
13
|
+
"bcp/validation",
|
|
14
|
+
"bcp/error",
|
|
15
|
+
"bcp/database",
|
|
16
|
+
"bcp/auth",
|
|
17
|
+
"bcp/jobs",
|
|
18
|
+
"bcp/workflow",
|
|
19
|
+
"bcp/events",
|
|
20
|
+
"bcp/realtime",
|
|
21
|
+
"bcp/testing",
|
|
22
|
+
"bcp/plugins",
|
|
23
|
+
"bcp/observability",
|
|
24
|
+
"bcp/deployment",
|
|
25
|
+
"bcp/application",
|
|
26
|
+
"bcp/server",
|
|
27
|
+
"bcp/server-only",
|
|
28
|
+
"bcp/middleware"
|
|
29
|
+
],
|
|
30
|
+
"cliCommands": [
|
|
31
|
+
"dev",
|
|
32
|
+
"build",
|
|
33
|
+
"package",
|
|
34
|
+
"start",
|
|
35
|
+
"routes",
|
|
36
|
+
"update",
|
|
37
|
+
"db",
|
|
38
|
+
"generate",
|
|
39
|
+
"config",
|
|
40
|
+
"doctor",
|
|
41
|
+
"inspect",
|
|
42
|
+
"help",
|
|
43
|
+
"version"
|
|
44
|
+
],
|
|
45
|
+
"packageExports": {
|
|
46
|
+
".": {
|
|
47
|
+
"default": "./packages/client/src/index.tsx",
|
|
48
|
+
"types": "./packages/client/src/index.tsx"
|
|
49
|
+
},
|
|
50
|
+
"./application": {
|
|
51
|
+
"browser": "./packages/client/src/server-only.browser.mjs",
|
|
52
|
+
"default": "./packages/client/src/application.mjs",
|
|
53
|
+
"types": "./packages/client/src/application.ts"
|
|
54
|
+
},
|
|
55
|
+
"./auth": {
|
|
56
|
+
"browser": "./packages/client/src/server-only.browser.mjs",
|
|
57
|
+
"default": "./packages/client/src/auth.mjs",
|
|
58
|
+
"types": "./packages/client/src/auth.ts"
|
|
59
|
+
},
|
|
60
|
+
"./cache": {
|
|
61
|
+
"default": "./packages/client/src/cache.mjs",
|
|
62
|
+
"types": "./packages/client/src/cache.ts"
|
|
63
|
+
},
|
|
64
|
+
"./config": {
|
|
65
|
+
"default": "./packages/client/src/config.mjs",
|
|
66
|
+
"types": "./packages/client/src/config.ts"
|
|
67
|
+
},
|
|
68
|
+
"./database": {
|
|
69
|
+
"browser": "./packages/client/src/server-only.browser.mjs",
|
|
70
|
+
"default": "./packages/client/src/database.mjs",
|
|
71
|
+
"types": "./packages/client/src/database.ts"
|
|
72
|
+
},
|
|
73
|
+
"./deployment": {
|
|
74
|
+
"browser": "./packages/client/src/server-only.browser.mjs",
|
|
75
|
+
"default": "./packages/client/src/deployment.mjs",
|
|
76
|
+
"types": "./packages/client/src/deployment.ts"
|
|
77
|
+
},
|
|
78
|
+
"./error": {
|
|
79
|
+
"default": "./packages/client/src/http-error.ts",
|
|
80
|
+
"types": "./packages/client/src/http-error.ts"
|
|
81
|
+
},
|
|
82
|
+
"./events": {
|
|
83
|
+
"browser": "./packages/client/src/server-only.browser.mjs",
|
|
84
|
+
"default": "./packages/client/src/events.mjs",
|
|
85
|
+
"types": "./packages/client/src/events.ts"
|
|
86
|
+
},
|
|
87
|
+
"./island": {
|
|
88
|
+
"default": "./packages/client/src/islands.tsx",
|
|
89
|
+
"types": "./packages/client/src/islands.tsx"
|
|
90
|
+
},
|
|
91
|
+
"./jobs": {
|
|
92
|
+
"browser": "./packages/client/src/server-only.browser.mjs",
|
|
93
|
+
"default": "./packages/client/src/jobs.mjs",
|
|
94
|
+
"types": "./packages/client/src/jobs.ts"
|
|
95
|
+
},
|
|
96
|
+
"./middleware": {
|
|
97
|
+
"default": "./packages/server/src/middleware.mjs",
|
|
98
|
+
"types": "./packages/server/src/middleware.ts"
|
|
99
|
+
},
|
|
100
|
+
"./observability": {
|
|
101
|
+
"browser": "./packages/client/src/server-only.browser.mjs",
|
|
102
|
+
"default": "./packages/client/src/observability.mjs",
|
|
103
|
+
"types": "./packages/client/src/observability.ts"
|
|
104
|
+
},
|
|
105
|
+
"./package.json": "./package.json",
|
|
106
|
+
"./plugins": {
|
|
107
|
+
"browser": "./packages/client/src/server-only.browser.mjs",
|
|
108
|
+
"default": "./packages/client/src/plugins.mjs",
|
|
109
|
+
"types": "./packages/client/src/plugins.ts"
|
|
110
|
+
},
|
|
111
|
+
"./realtime": {
|
|
112
|
+
"browser": "./packages/client/src/server-only.browser.mjs",
|
|
113
|
+
"default": "./packages/client/src/realtime.mjs",
|
|
114
|
+
"types": "./packages/client/src/realtime.ts"
|
|
115
|
+
},
|
|
116
|
+
"./server": {
|
|
117
|
+
"browser": "./packages/client/src/server-only.browser.mjs",
|
|
118
|
+
"default": "./packages/client/src/server.mjs",
|
|
119
|
+
"types": "./packages/client/src/server.ts"
|
|
120
|
+
},
|
|
121
|
+
"./server-only": {
|
|
122
|
+
"browser": "./packages/client/src/server-only.browser.mjs",
|
|
123
|
+
"default": "./packages/client/src/server-only.mjs",
|
|
124
|
+
"types": "./packages/client/src/server-only.d.ts"
|
|
125
|
+
},
|
|
126
|
+
"./testing": {
|
|
127
|
+
"browser": "./packages/client/src/server-only.browser.mjs",
|
|
128
|
+
"default": "./packages/client/src/testing.mjs",
|
|
129
|
+
"types": "./packages/client/src/testing.ts"
|
|
130
|
+
},
|
|
131
|
+
"./validation": {
|
|
132
|
+
"default": "./packages/client/src/validation.ts",
|
|
133
|
+
"types": "./packages/client/src/validation.ts"
|
|
134
|
+
},
|
|
135
|
+
"./workflow": {
|
|
136
|
+
"browser": "./packages/client/src/server-only.browser.mjs",
|
|
137
|
+
"default": "./packages/client/src/workflow.mjs",
|
|
138
|
+
"types": "./packages/client/src/workflow.ts"
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
"apiOwnership": [
|
|
142
|
+
{
|
|
143
|
+
"package": "bcp",
|
|
144
|
+
"source": "packages/client/src/index.tsx",
|
|
145
|
+
"environment": "universal"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"package": "bcp/island",
|
|
149
|
+
"source": "packages/client/src/islands.tsx",
|
|
150
|
+
"environment": "universal"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"package": "bcp/cache",
|
|
154
|
+
"source": "packages/client/src/cache.ts",
|
|
155
|
+
"environment": "server-preferred"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"package": "bcp/config",
|
|
159
|
+
"source": "packages/client/src/config.ts",
|
|
160
|
+
"environment": "server"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"package": "bcp/validation",
|
|
164
|
+
"source": "packages/client/src/validation.ts",
|
|
165
|
+
"environment": "universal"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"package": "bcp/error",
|
|
169
|
+
"source": "packages/client/src/http-error.ts",
|
|
170
|
+
"environment": "universal"
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"package": "bcp/database",
|
|
174
|
+
"source": "packages/client/src/database.ts",
|
|
175
|
+
"environment": "server"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"package": "bcp/auth",
|
|
179
|
+
"source": "packages/client/src/auth.ts",
|
|
180
|
+
"environment": "server"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"package": "bcp/jobs",
|
|
184
|
+
"source": "packages/client/src/jobs.ts",
|
|
185
|
+
"environment": "server"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"package": "bcp/workflow",
|
|
189
|
+
"source": "packages/client/src/workflow.ts",
|
|
190
|
+
"environment": "server"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"package": "bcp/events",
|
|
194
|
+
"source": "packages/client/src/events.ts",
|
|
195
|
+
"environment": "server"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"package": "bcp/realtime",
|
|
199
|
+
"source": "packages/client/src/realtime.ts",
|
|
200
|
+
"environment": "server"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"package": "bcp/testing",
|
|
204
|
+
"source": "packages/client/src/testing.ts",
|
|
205
|
+
"environment": "server"
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"package": "bcp/plugins",
|
|
209
|
+
"source": "packages/client/src/plugins.ts",
|
|
210
|
+
"environment": "server"
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"package": "bcp/observability",
|
|
214
|
+
"source": "packages/client/src/observability.ts",
|
|
215
|
+
"environment": "server"
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"package": "bcp/deployment",
|
|
219
|
+
"source": "packages/client/src/deployment.ts",
|
|
220
|
+
"environment": "server"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"package": "bcp/application",
|
|
224
|
+
"source": "packages/client/src/application.ts",
|
|
225
|
+
"environment": "server"
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"package": "bcp/server",
|
|
229
|
+
"source": "packages/client/src/server.ts",
|
|
230
|
+
"environment": "server"
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"package": "bcp/server-only",
|
|
234
|
+
"source": "packages/client/src/server-only.mjs",
|
|
235
|
+
"environment": "server-marker"
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"package": "bcp/middleware",
|
|
239
|
+
"source": "packages/server/src/middleware.ts",
|
|
240
|
+
"environment": "server"
|
|
241
|
+
}
|
|
242
|
+
]
|
|
243
|
+
}
|
package/docs/api-manifest.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"framework": "bcp",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.3.0",
|
|
5
5
|
"releaseState": "unreleased",
|
|
6
6
|
"coverage": "public-entrypoints",
|
|
7
7
|
"entrypoints": [
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"environment": "server-preferred",
|
|
28
28
|
"route": "/docs/api-reference#bcp-cache",
|
|
29
29
|
"summary": "Backward-compatible request/data caching plus Cache Platform v2 adapters, Redis-compatible distributed cache and locks, stampede protection, TTL/tag/path invalidation and metrics integration.",
|
|
30
|
-
"guides": ["/docs/caching", "/docs/cache-platform-v2", "/docs/observability-v3"]
|
|
30
|
+
"guides": ["/docs/caching", "/docs/cache-platform-v2", "/docs/observability-v3", "/docs/application-platform"]
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
33
|
"package": "bcp/config",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"environment": "server",
|
|
36
36
|
"route": "/docs/api-reference#bcp-config",
|
|
37
37
|
"summary": "Typed BCP configuration, environment-schema validation and configuration diagnostics APIs with a compiled production runtime.",
|
|
38
|
-
"guides": ["/docs/configuration", "/docs/environment-validation", "/docs/deployment-platform-v2"]
|
|
38
|
+
"guides": ["/docs/configuration", "/docs/environment-validation", "/docs/deployment-platform-v2", "/docs/application-platform"]
|
|
39
39
|
},
|
|
40
40
|
{
|
|
41
41
|
"package": "bcp/validation",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"environment": "server",
|
|
60
60
|
"route": "/docs/api-reference#bcp-database",
|
|
61
61
|
"summary": "Provider-neutral MySQL, PostgreSQL and SQLite query, transaction, lifecycle and migration primitives.",
|
|
62
|
-
"guides": ["/docs/database", "/docs/database-migrations", "/docs/transactional-outbox-events", "/docs/testing-platform", "/docs/observability-v3", "/docs/deployment-platform-v2"]
|
|
62
|
+
"guides": ["/docs/database", "/docs/database-migrations", "/docs/transactional-outbox-events", "/docs/testing-platform", "/docs/observability-v3", "/docs/deployment-platform-v2", "/docs/application-platform"]
|
|
63
63
|
},
|
|
64
64
|
{
|
|
65
65
|
"package": "bcp/auth",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"environment": "server",
|
|
68
68
|
"route": "/docs/api-reference#bcp-auth",
|
|
69
69
|
"summary": "Authentication Platform v2 plus permission checks, authorization policies and auth/guest/role/permission route guards, published with a compiled Node runtime.",
|
|
70
|
-
"guides": ["/docs/authentication", "/docs/auth-session-store", "/docs/auth-route-guards", "/docs/authorization-security", "/docs/session-auth", "/docs/testing-platform", "/docs/deployment-platform-v2"]
|
|
70
|
+
"guides": ["/docs/authentication", "/docs/auth-session-store", "/docs/auth-route-guards", "/docs/authorization-security", "/docs/session-auth", "/docs/testing-platform", "/docs/deployment-platform-v2", "/docs/application-platform"]
|
|
71
71
|
},
|
|
72
72
|
{
|
|
73
73
|
"package": "bcp/jobs",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"environment": "server",
|
|
76
76
|
"route": "/docs/api-reference#bcp-jobs",
|
|
77
77
|
"summary": "Background queues and schedules with visibility leases, heartbeats, stale recovery, DLQ maintenance and Redis-compatible durable adapters.",
|
|
78
|
-
"guides": ["/docs/background-jobs", "/docs/job-scheduling", "/docs/durable-jobs", "/docs/transactional-outbox-events", "/docs/realtime-platform", "/docs/testing-platform", "/docs/observability-v3", "/docs/deployment-platform-v2"]
|
|
78
|
+
"guides": ["/docs/background-jobs", "/docs/job-scheduling", "/docs/durable-jobs", "/docs/transactional-outbox-events", "/docs/realtime-platform", "/docs/testing-platform", "/docs/observability-v3", "/docs/deployment-platform-v2", "/docs/application-platform"]
|
|
79
79
|
},
|
|
80
80
|
{
|
|
81
81
|
"package": "bcp/workflow",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"environment": "server",
|
|
84
84
|
"route": "/docs/api-reference#bcp-workflow",
|
|
85
85
|
"summary": "Persistent workflow orchestration with sequential and parallel steps, retries, delays, compensation, run leases and optional durable queue execution.",
|
|
86
|
-
"guides": ["/docs/workflow-orchestration", "/docs/durable-jobs", "/docs/realtime-platform", "/docs/testing-platform", "/docs/observability-v3", "/docs/deployment-platform-v2"]
|
|
86
|
+
"guides": ["/docs/workflow-orchestration", "/docs/durable-jobs", "/docs/realtime-platform", "/docs/testing-platform", "/docs/observability-v3", "/docs/deployment-platform-v2", "/docs/application-platform"]
|
|
87
87
|
},
|
|
88
88
|
{
|
|
89
89
|
"package": "bcp/events",
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"environment": "server",
|
|
92
92
|
"route": "/docs/api-reference#bcp-events",
|
|
93
93
|
"summary": "Transactional outbox and event delivery APIs with SQL persistence, dispatcher leases, retries, stale recovery, queue handoff and in-process event bus delivery.",
|
|
94
|
-
"guides": ["/docs/transactional-outbox-events", "/docs/database", "/docs/durable-jobs", "/docs/realtime-platform", "/docs/testing-platform", "/docs/observability-v3", "/docs/deployment-platform-v2"]
|
|
94
|
+
"guides": ["/docs/transactional-outbox-events", "/docs/database", "/docs/durable-jobs", "/docs/realtime-platform", "/docs/testing-platform", "/docs/observability-v3", "/docs/deployment-platform-v2", "/docs/application-platform"]
|
|
95
95
|
},
|
|
96
96
|
{
|
|
97
97
|
"package": "bcp/realtime",
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
"environment": "server",
|
|
100
100
|
"route": "/docs/api-reference#bcp-realtime",
|
|
101
101
|
"summary": "Realtime channels, cross-hub broker delivery, presence, channel authorization, WebSocket adapter integration, heartbeat handling and built-in Server-Sent Events responses.",
|
|
102
|
-
"guides": ["/docs/realtime-platform", "/docs/authentication", "/docs/testing-platform", "/docs/observability-v3", "/docs/deployment-platform-v2"]
|
|
102
|
+
"guides": ["/docs/realtime-platform", "/docs/authentication", "/docs/testing-platform", "/docs/observability-v3", "/docs/deployment-platform-v2", "/docs/application-platform"]
|
|
103
103
|
},
|
|
104
104
|
{
|
|
105
105
|
"package": "bcp/testing",
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
"environment": "server",
|
|
108
108
|
"route": "/docs/api-reference#bcp-testing",
|
|
109
109
|
"summary": "Framework-native testing utilities for Request/Response handlers, signed auth sessions, rollback transactions, page/server execution, middleware, jobs, workflows, outbox delivery, realtime sockets and SSE.",
|
|
110
|
-
"guides": ["/docs/testing-platform", "/docs/authentication", "/docs/database", "/docs/durable-jobs", "/docs/workflow-orchestration", "/docs/transactional-outbox-events", "/docs/realtime-platform", "/docs/observability-v3"]
|
|
110
|
+
"guides": ["/docs/testing-platform", "/docs/authentication", "/docs/database", "/docs/durable-jobs", "/docs/workflow-orchestration", "/docs/transactional-outbox-events", "/docs/realtime-platform", "/docs/observability-v3", "/docs/application-platform"]
|
|
111
111
|
},
|
|
112
112
|
{
|
|
113
113
|
"package": "bcp/plugins",
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
"environment": "server",
|
|
116
116
|
"route": "/docs/api-reference#bcp-plugins",
|
|
117
117
|
"summary": "Plugin and module composition with dependency ordering, lifecycle hooks, typed config parsing, shared services and asynchronous extension hooks.",
|
|
118
|
-
"guides": ["/docs/plugin-module-platform", "/docs/configuration", "/docs/testing-platform", "/docs/observability-v3", "/docs/deployment-platform-v2"]
|
|
118
|
+
"guides": ["/docs/plugin-module-platform", "/docs/configuration", "/docs/testing-platform", "/docs/observability-v3", "/docs/deployment-platform-v2", "/docs/application-platform"]
|
|
119
119
|
},
|
|
120
120
|
{
|
|
121
121
|
"package": "bcp/observability",
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
"environment": "server",
|
|
124
124
|
"route": "/docs/api-reference#bcp-observability",
|
|
125
125
|
"summary": "Metrics, Prometheus output, health checks and Observability Platform v3 distributed tracing with W3C trace context, correlation IDs, request tracing, span exporters and trace-to-metrics integration.",
|
|
126
|
-
"guides": ["/docs/observability", "/docs/observability-v3", "/docs/development-logging", "/docs/cache-platform-v2", "/docs/deployment-platform-v2"]
|
|
126
|
+
"guides": ["/docs/observability", "/docs/observability-v3", "/docs/development-logging", "/docs/cache-platform-v2", "/docs/deployment-platform-v2", "/docs/application-platform"]
|
|
127
127
|
},
|
|
128
128
|
{
|
|
129
129
|
"package": "bcp/deployment",
|
|
@@ -131,7 +131,15 @@
|
|
|
131
131
|
"environment": "server",
|
|
132
132
|
"route": "/docs/api-reference#bcp-deployment",
|
|
133
133
|
"summary": "Deployment Platform v2 runtime lifecycle with resource startup/shutdown ordering, readiness, diagnostics, deployment metadata, signal handling and framework shutdown-hook integration.",
|
|
134
|
-
"guides": ["/docs/deployment-platform-v2", "/docs/application-packaging", "/docs/production-hardening", "/docs/observability-v3"]
|
|
134
|
+
"guides": ["/docs/deployment-platform-v2", "/docs/application-packaging", "/docs/production-hardening", "/docs/observability-v3", "/docs/application-platform"]
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"package": "bcp/application",
|
|
138
|
+
"source": "packages/client/src/application.ts",
|
|
139
|
+
"environment": "server",
|
|
140
|
+
"route": "/docs/api-reference#bcp-application",
|
|
141
|
+
"summary": "Application Platform composition root for typed app config, shared services, plugins/modules, deployment resources, lifecycle ordering, readiness, diagnostics and graceful shutdown.",
|
|
142
|
+
"guides": ["/docs/application-platform", "/docs/plugin-module-platform", "/docs/deployment-platform-v2", "/docs/observability-v3", "/docs/migration-0.3"]
|
|
135
143
|
},
|
|
136
144
|
{
|
|
137
145
|
"package": "bcp/server",
|