@web-ts-toolkit/express-runtime 0.43.0 → 0.44.0

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/cli-api.mjs CHANGED
@@ -28,10 +28,10 @@ import {
28
28
  toServerlessEvent,
29
29
  validateMaxBodyBytes,
30
30
  validateOutDirForClean
31
- } from "./chunk-UPFG3S34.mjs";
31
+ } from "./chunk-KBNC4WIR.mjs";
32
32
  import {
33
33
  startLocalServer
34
- } from "./chunk-VPFBKM2K.mjs";
34
+ } from "./chunk-QNRHWPTO.mjs";
35
35
 
36
36
  // src/cli-api.ts
37
37
  async function runDevCommand(args, runner) {
@@ -51,7 +51,7 @@ async function runExpressDevCommand(args) {
51
51
  await runDevCommand(args, {
52
52
  load: loadApp,
53
53
  start: (app, options) => {
54
- startLocalServer(app, options);
54
+ return startLocalServer(app, options);
55
55
  }
56
56
  });
57
57
  }
@@ -59,7 +59,7 @@ async function runBuildEntryCommand(args, options) {
59
59
  if (options.allowInit === false && args.initPath) {
60
60
  throw new Error(options.initErrorMessage ?? "This build command manages init automatically. Remove --init.");
61
61
  }
62
- const { validateOutDirForClean: validateOutDirForClean2 } = await import("./cli-utils-4POUMJN7.mjs");
62
+ const { validateOutDirForClean: validateOutDirForClean2 } = await import("./cli-utils-IN67EHOM.mjs");
63
63
  validateOutDirForClean2(args.outDir, args.clean, args.appPath, args.initPath);
64
64
  await buildBundleFromEntryContent({
65
65
  entryContent: options.generateEntry(args.appPath, args.initPath),
@@ -31,8 +31,8 @@ import {
31
31
  toServerlessEvent,
32
32
  validateMaxBodyBytes,
33
33
  validateOutDirForClean
34
- } from "./chunk-UPFG3S34.mjs";
35
- import "./chunk-VPFBKM2K.mjs";
34
+ } from "./chunk-KBNC4WIR.mjs";
35
+ import "./chunk-QNRHWPTO.mjs";
36
36
  export {
37
37
  CLI_VERSION,
38
38
  DEFAULT_ADAPTER_MAX_BODY_BYTES,