create-bcp-app 0.2.18 → 0.2.19
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 +18 -5
- package/package.json +1 -1
- package/template/README.md +7 -1
package/README.md
CHANGED
|
@@ -64,17 +64,17 @@ Select storage provider:
|
|
|
64
64
|
|
|
65
65
|
New projects include `bcp.project.json`.
|
|
66
66
|
|
|
67
|
-
Example for the `0.2.
|
|
67
|
+
Example for the `0.2.19` target:
|
|
68
68
|
|
|
69
69
|
```json
|
|
70
70
|
{
|
|
71
71
|
"schemaVersion": 1,
|
|
72
72
|
"framework": "bcp",
|
|
73
73
|
"projectName": "my-app",
|
|
74
|
-
"frameworkPackage": "npm:@chidchanun/bcp@0.2.
|
|
74
|
+
"frameworkPackage": "npm:@chidchanun/bcp@0.2.19",
|
|
75
75
|
"createdWith": {
|
|
76
76
|
"package": "create-bcp-app",
|
|
77
|
-
"version": "0.2.
|
|
77
|
+
"version": "0.2.19"
|
|
78
78
|
},
|
|
79
79
|
"packageManager": "npm",
|
|
80
80
|
"presets": {
|
|
@@ -251,6 +251,19 @@ const removeSignals =
|
|
|
251
251
|
|
|
252
252
|
Default signals are `SIGTERM` and `SIGINT`.
|
|
253
253
|
|
|
254
|
+
## Stability & API Freeze — 0.2.19
|
|
255
|
+
|
|
256
|
+
`0.2.19` keeps the `0.2.x` public package surface stable before the next platform baseline.
|
|
257
|
+
|
|
258
|
+
Framework maintainers can validate the frozen contract with:
|
|
259
|
+
|
|
260
|
+
```bash
|
|
261
|
+
npm run api:check
|
|
262
|
+
npm run release:readiness
|
|
263
|
+
```
|
|
264
|
+
|
|
265
|
+
Generated applications do not need to run these framework-repository release commands. Application code should continue importing documented `bcp/*` entrypoints rather than private framework source paths.
|
|
266
|
+
|
|
254
267
|
## Application packaging
|
|
255
268
|
|
|
256
269
|
```bash
|
|
@@ -260,7 +273,7 @@ npm run package
|
|
|
260
273
|
|
|
261
274
|
The deployment package excludes application `devDependencies` and project `.env` values. Supply secrets through the deployment environment.
|
|
262
275
|
|
|
263
|
-
BCP `0.2.
|
|
276
|
+
BCP `0.2.19` prepared framework packages preserve the compiled ESM runtime map introduced by Deployment Platform v2 for the main server entrypoints including config, auth, observability, deployment, server and middleware.
|
|
264
277
|
|
|
265
278
|
## Project generators
|
|
266
279
|
|
|
@@ -288,5 +301,5 @@ npm run generate -- migration create_users
|
|
|
288
301
|
For prerelease/local package verification:
|
|
289
302
|
|
|
290
303
|
```bash
|
|
291
|
-
npx create-bcp-app my-app --bcp file:../chidchanun-bcp-0.2.
|
|
304
|
+
npx create-bcp-app my-app --bcp file:../chidchanun-bcp-0.2.19.tgz
|
|
292
305
|
```
|
package/package.json
CHANGED
package/template/README.md
CHANGED
|
@@ -178,6 +178,12 @@ NODE_ENV
|
|
|
178
178
|
BCP_SHUTDOWN_TIMEOUT_MS
|
|
179
179
|
```
|
|
180
180
|
|
|
181
|
+
## Stability baseline — BCP 0.2.19
|
|
182
|
+
|
|
183
|
+
BCP `0.2.19` freezes the documented `0.2.x` public `bcp/*` entrypoints and prepared package-resolution contract before the next `0.3.0` baseline.
|
|
184
|
+
|
|
185
|
+
Application code should import documented public entrypoints and avoid private framework `packages/*` paths. This keeps applications compatible with the frozen `0.2.19` surface.
|
|
186
|
+
|
|
181
187
|
## Production build
|
|
182
188
|
|
|
183
189
|
```bash
|
|
@@ -193,7 +199,7 @@ npm run package
|
|
|
193
199
|
|
|
194
200
|
BCP excludes project `.env` files and application `devDependencies` from the deployment package. Supply secrets through the deployment environment.
|
|
195
201
|
|
|
196
|
-
BCP 0.2.
|
|
202
|
+
BCP 0.2.19 preserves compiled `.mjs` runtimes for the main server entrypoints, including config, auth, observability, deployment, server and middleware.
|
|
197
203
|
|
|
198
204
|
## Direct CLI usage
|
|
199
205
|
|