create-strata 2.2.10 → 2.2.11
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/dist/cli.js +5 -5
- package/dist/templates/package.json +3 -3
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -3174,9 +3174,9 @@ function renderPackageJson(projectName, options = {}) {
|
|
|
3174
3174
|
"@getstrata/cli": "workspace:*",
|
|
3175
3175
|
"@getstrata/core": "workspace:*"
|
|
3176
3176
|
} : {
|
|
3177
|
-
"@getstrata/bootstrap": "^2.2.
|
|
3178
|
-
"@getstrata/cli": "^2.2.
|
|
3179
|
-
"@getstrata/core": "^2.2.
|
|
3177
|
+
"@getstrata/bootstrap": "^2.2.11",
|
|
3178
|
+
"@getstrata/cli": "^2.2.11",
|
|
3179
|
+
"@getstrata/core": "^2.2.11"
|
|
3180
3180
|
};
|
|
3181
3181
|
coreDeps.eta = "^4.6.0";
|
|
3182
3182
|
if (options.layers?.database === "mysql") {
|
|
@@ -3490,14 +3490,14 @@ const { routes, config, context } = await bootstrapApp({
|
|
|
3490
3490
|
runtimeMetrics: {
|
|
3491
3491
|
// Match the deployed Redis queue transport; this does not convert queues.
|
|
3492
3492
|
queue: { redisUrl, transport: "streams", timeoutMs: 1000 },
|
|
3493
|
-
// Enable
|
|
3493
|
+
// Enable on Postgres, file-backed SQLite or URL-backed MySQL after explicitly installing the corresponding schema.
|
|
3494
3494
|
// outbox: { sampleLimit: 500, timeoutMs: 1000 },
|
|
3495
3495
|
// failedJobs: { sampleLimit: 500, timeoutMs: 1000 },
|
|
3496
3496
|
},
|
|
3497
3497
|
});
|
|
3498
3498
|
\`\`\`
|
|
3499
3499
|
|
|
3500
|
-
The generated provider drains owned SQL collectors through \`context.drain()\` before database closure, including workers and startup-failure cleanup. Keep the generated HTTP admission/drain and provider lifecycle order. Observation factories never migrate, seed, start a worker, or enable durable delivery. Missing schemas/unsupported SQL dialects produce collector failures on scrape;
|
|
3500
|
+
The generated provider drains owned SQL collectors through \`context.drain()\` before database closure, including workers and startup-failure cleanup. Keep the generated HTTP admission/drain and provider lifecycle order. Observation factories never migrate, seed, start a worker, or enable durable delivery. Missing schemas/unsupported SQL dialects produce collector failures on scrape; Dialect-specific collector schema/index and interruption requirements still apply. Tracing and selected-transaction acquisition collectors can be injected as borrowed options; their existing owners retain lifecycle/instrumentation responsibility. Shared queue/outbox/failed-job gauges use a designated target or max across replicas; never sum them. See the framework runtime metrics guide for semantics and operational qualification.
|
|
3501
3501
|
` : ""}${needsFrontendBuild(layers.frontend) ? `
|
|
3502
3502
|
## Frontend
|
|
3503
3503
|
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
"check": "tsc --noEmit"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@getstrata/bootstrap": "^2.2.
|
|
16
|
-
"@getstrata/cli": "^2.2.
|
|
17
|
-
"@getstrata/core": "^2.2.
|
|
15
|
+
"@getstrata/bootstrap": "^2.2.11",
|
|
16
|
+
"@getstrata/cli": "^2.2.11",
|
|
17
|
+
"@getstrata/core": "^2.2.11",
|
|
18
18
|
"eta": "^4.6.0"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|