@treeseed/core 0.6.17 → 0.6.18
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/dev.js +5 -4
- package/package.json +2 -2
package/dist/dev.js
CHANGED
|
@@ -753,7 +753,7 @@ async function runTreeseedIntegratedDev(options = {}, deps = {}) {
|
|
|
753
753
|
}
|
|
754
754
|
const exitCode = signal === "SIGINT" ? 130 : signal === "SIGTERM" ? 143 : code ?? 0;
|
|
755
755
|
const required = requiredSurfaceIds.has(command.id);
|
|
756
|
-
if (
|
|
756
|
+
if (required) {
|
|
757
757
|
emitEvent(options, write, {
|
|
758
758
|
type: "error",
|
|
759
759
|
surface: command.id,
|
|
@@ -764,14 +764,15 @@ async function runTreeseedIntegratedDev(options = {}, deps = {}) {
|
|
|
764
764
|
finalize(exitCode === 0 ? 1 : exitCode);
|
|
765
765
|
return;
|
|
766
766
|
}
|
|
767
|
+
const status = exitCode === 0 ? "idle" : "degraded";
|
|
767
768
|
emitEvent(options, write, {
|
|
768
769
|
type: "error",
|
|
769
770
|
surface: command.id,
|
|
770
771
|
exitCode,
|
|
771
772
|
signal,
|
|
772
|
-
status
|
|
773
|
-
message: `${command.label} exited with ${signal ?? exitCode}; continuing because it is not a required surface.`
|
|
774
|
-
}, "stderr");
|
|
773
|
+
status,
|
|
774
|
+
message: readinessComplete ? `${command.label} exited with ${signal ?? exitCode}; continuing because it is not a required surface.` : `${command.label} exited during startup with ${signal ?? exitCode}; continuing because it is not a required surface.`
|
|
775
|
+
}, status === "idle" ? "stdout" : "stderr");
|
|
775
776
|
void stopManagedProcess(managed, "SIGTERM", killProcess, 0).finally(() => {
|
|
776
777
|
children.delete(command.id);
|
|
777
778
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@treeseed/core",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.18",
|
|
4
4
|
"description": "Treeseed integrated platform starter for Astro/Starlight web runtimes and Hono API runtimes.",
|
|
5
5
|
"license": "AGPL-3.0-only",
|
|
6
6
|
"repository": {
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"@astrojs/sitemap": "3.7.0",
|
|
77
77
|
"@astrojs/starlight": "0.37.6",
|
|
78
78
|
"@tailwindcss/vite": "^4.1.4",
|
|
79
|
-
"@treeseed/sdk": "0.6.
|
|
79
|
+
"@treeseed/sdk": "0.6.16",
|
|
80
80
|
"astro": "^5.6.1",
|
|
81
81
|
"esbuild": "^0.28.0",
|
|
82
82
|
"hono": "^4.8.2",
|