@pipelab/cli 2.0.0-beta.16 → 2.0.0-beta.17

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.
Files changed (2) hide show
  1. package/index.mjs +4 -3
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -67250,7 +67250,7 @@ const builtInPlugins = async (options) => {
67250
67250
  console.error(`[Plugins] Failed to load settings config on startup:`, e);
67251
67251
  }
67252
67252
  console.log(`[Plugins] Total plugins to load on startup:`, Array.from(pluginsToLoad.entries()));
67253
- for (const [packageName, version] of pluginsToLoad.entries()) {
67253
+ const loadPromises = Array.from(pluginsToLoad.entries()).map(async ([packageName, version]) => {
67254
67254
  sendStartupProgress(`Loading plugin: ${packageName}`);
67255
67255
  const pluginStart = Date.now();
67256
67256
  try {
@@ -67263,7 +67263,8 @@ const builtInPlugins = async (options) => {
67263
67263
  } catch (err) {
67264
67264
  console.error(`[Plugins] Failed to load plugin ${packageName} at startup:`, err);
67265
67265
  }
67266
- }
67266
+ });
67267
+ await Promise.all(loadPromises);
67267
67268
  console.log(`[Plugins] All startup plugins loaded in ${Date.now() - totalStart}ms.`);
67268
67269
  sendStartupProgress("All plugins loaded.");
67269
67270
  setTimeout(() => {
@@ -68476,7 +68477,7 @@ async function runPipelineCommand(file, options, version) {
68476
68477
  }
68477
68478
  //#endregion
68478
68479
  //#region package.json
68479
- var version$2 = "2.0.0-beta.16";
68480
+ var version$2 = "2.0.0-beta.17";
68480
68481
  //#endregion
68481
68482
  //#region src/paths.ts
68482
68483
  const getDefaultUserDataPath = () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pipelab/cli",
3
- "version": "2.0.0-beta.16",
3
+ "version": "2.0.0-beta.17",
4
4
  "description": "The command line interface for Pipelab",
5
5
  "license": "FSL-1.1-MIT",
6
6
  "author": "CynToolkit",