@pipelab/core-node 1.0.0-beta.15 → 1.0.0-beta.16

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pipelab/core-node",
3
- "version": "1.0.0-beta.15",
3
+ "version": "1.0.0-beta.16",
4
4
  "private": false,
5
5
  "description": "The Pipelab automation engine for Node.js",
6
6
  "license": "FSL-1.1-MIT",
@@ -40,8 +40,8 @@
40
40
  "type-fest": "4.39.0",
41
41
  "ws": "8.18.3",
42
42
  "yauzl": "2.10.0",
43
- "@pipelab/constants": "1.0.0-beta.13",
44
- "@pipelab/shared": "1.0.0-beta.11"
43
+ "@pipelab/constants": "1.0.0-beta.14",
44
+ "@pipelab/shared": "1.0.0-beta.12"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@types/adm-zip": "0.5.7",
@@ -56,7 +56,7 @@
56
56
  "tsdown": "0.21.2",
57
57
  "typescript": "^5.0.0",
58
58
  "vitest": "3.1.4",
59
- "@pipelab/tsconfig": "1.0.0-beta.11"
59
+ "@pipelab/tsconfig": "1.0.0-beta.12"
60
60
  },
61
61
  "scripts": {
62
62
  "build": "tsdown",
@@ -215,6 +215,10 @@ export const builtInPlugins = async (options: { context: PipelabContext }): Prom
215
215
  const { usePlugins } = await import("@pipelab/shared");
216
216
  const { registerPlugins } = usePlugins();
217
217
  const { webSocketServer } = await import("./index");
218
+
219
+ // Broadcast ready signal immediately so the UI launches while plugins load in the background
220
+ webSocketServer.broadcast("startup:progress", { type: "ready" });
221
+
218
222
  // Load plugins asynchronously in the background
219
223
  (async () => {
220
224
  const totalStart = Date.now();
@@ -315,7 +319,7 @@ export const builtInPlugins = async (options: { context: PipelabContext }): Prom
315
319
  console.log(`[Plugins] All startup plugins loaded in ${Date.now() - totalStart}ms.`);
316
320
  sendStartupProgress("All plugins loaded.");
317
321
  setTimeout(() => {
318
- webSocketServer.broadcast("startup:progress", { type: "ready" });
322
+ webSocketServer.broadcast("startup:progress", { type: "done" });
319
323
  }, 2000);
320
324
  })();
321
325
  };