create-interview-cockpit 0.9.0 → 0.11.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.
@@ -2293,6 +2293,7 @@ const NEXT_MODULES_DIR = path.join(NEXT_NPX_DIR, "node_modules");
2293
2293
  const NEXT_SANDBOX_BASE = path.join(NEXT_NPX_DIR, ".sandboxes");
2294
2294
 
2295
2295
  interface ModuleFederationSandboxEntry {
2296
+ id: string;
2296
2297
  child: ReturnType<typeof spawn>;
2297
2298
  dir: string;
2298
2299
  hostUrl: string;
@@ -2526,6 +2527,7 @@ function getModuleFederationCommandEnv(
2526
2527
  HOST_PORT: hostPort,
2527
2528
  PROFILE_PORT: profilePort,
2528
2529
  CHECKOUT_PORT: checkoutPort,
2530
+ MF_SANDBOX_ID: sandbox.id,
2529
2531
  npm_config_update_notifier: "false",
2530
2532
  };
2531
2533
  }
@@ -2877,11 +2879,13 @@ app.post("/api/module-federation/start", async (req, res) => {
2877
2879
  HOST_PORT: String(hostPort),
2878
2880
  PROFILE_PORT: String(profilePort),
2879
2881
  CHECKOUT_PORT: String(checkoutPort),
2882
+ MF_SANDBOX_ID: id,
2880
2883
  npm_config_update_notifier: "false",
2881
2884
  },
2882
2885
  });
2883
2886
 
2884
2887
  const entry: ModuleFederationSandboxEntry = {
2888
+ id,
2885
2889
  child,
2886
2890
  dir,
2887
2891
  hostUrl: appUrls.host,