@merkur/cli 0.37.8 → 0.37.10

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/bin/merkur.mjs CHANGED
@@ -102,7 +102,7 @@ program
102
102
  .addOption(verboseOption)
103
103
  .action(async (options, cmd) => {
104
104
  const args = {
105
- ...{ watch: false, hasRunWidgetServer: true }, ...cmd.optsWithGlobals(), ...options
105
+ ...{ watch: false, hasRunWidgetServer: true, hasRunDevServer: true }, ...cmd.optsWithGlobals(), ...options
106
106
  };
107
107
  process.env.NODE_ENV = process.env.NODE_ENV ?? 'production';
108
108
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@merkur/cli",
3
- "version": "0.37.8",
3
+ "version": "0.37.10",
4
4
  "description": "Merkur is tiny and extensible library for creating front-end microservices.",
5
5
  "bin": {
6
6
  "merkur": "./bin/merkur.mjs"
@@ -67,5 +67,5 @@
67
67
  "engines": {
68
68
  "node": ">=20"
69
69
  },
70
- "gitHead": "3a0dd00def5bb8bdcdc00c4ee10d4d151094fd94"
70
+ "gitHead": "81bd0ca244514e284e2b6b547a657fa4a57d15e1"
71
71
  }
@@ -11,6 +11,8 @@ export async function start({ args, command }) {
11
11
 
12
12
  await handleExit({ context });
13
13
 
14
- await runDevServer({ merkurConfig, cliConfig, context });
15
- await runWidgetServer({ merkurConfig, cliConfig, context });
14
+ cliConfig.hasRunDevServer &&
15
+ (await runDevServer({ merkurConfig, cliConfig, context }));
16
+ cliConfig.hasRunWidgetServer &&
17
+ (await runWidgetServer({ merkurConfig, cliConfig, context }));
16
18
  }