@getstrata/starter 2.2.5 → 2.2.7
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 +4 -4
- package/dist/templates/package.json +3 -3
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -3142,7 +3142,7 @@ function renderDockerfile(layers) {
|
|
|
3142
3142
|
if (layers.database === "sqlite") {
|
|
3143
3143
|
lines.push("# SQLite lives in storage/; mount a volume there or the data dies with the container.", 'VOLUME ["/app/storage"]');
|
|
3144
3144
|
}
|
|
3145
|
-
lines.push("# Readiness: anonymous dependency/schema probe; use a separate process check for liveness.", `HEALTHCHECK --interval=30s --timeout=3s --start-period=10s CMD ["bun", "-e", "fetch('http://127.0.0.1:' + process.env.PORT + '/health').then((r) => process.exit(r.ok ? 0 : 1), () => process.exit(1))"]`, 'CMD ["bun", "
|
|
3145
|
+
lines.push("# Readiness: anonymous dependency/schema probe; use a separate process check for liveness.", `HEALTHCHECK --interval=30s --timeout=3s --start-period=10s CMD ["bun", "-e", "fetch('http://127.0.0.1:' + process.env.PORT + '/health').then((r) => process.exit(r.ok ? 0 : 1), () => process.exit(1))"]`, 'CMD ["bun", "./node_modules/.bin/strata", "start"]');
|
|
3146
3146
|
return `${lines.join(`
|
|
3147
3147
|
`)}
|
|
3148
3148
|
`;
|
|
@@ -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.7",
|
|
3178
|
+
"@getstrata/cli": "^2.2.7",
|
|
3179
|
+
"@getstrata/core": "^2.2.7"
|
|
3180
3180
|
};
|
|
3181
3181
|
coreDeps.eta = "^4.6.0";
|
|
3182
3182
|
if (options.layers?.database === "mysql") {
|
|
@@ -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.7",
|
|
16
|
+
"@getstrata/cli": "^2.2.7",
|
|
17
|
+
"@getstrata/core": "^2.2.7",
|
|
18
18
|
"eta": "^4.6.0"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|