@base44-preview/cli 0.1.8-pr.600.002d9ac → 0.1.9-pr.601.94a154c

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/dist/cli/index.js CHANGED
@@ -248047,7 +248047,7 @@ import { join as join12 } from "node:path";
248047
248047
  // package.json
248048
248048
  var package_default = {
248049
248049
  name: "base44",
248050
- version: "0.1.8",
248050
+ version: "0.1.9",
248051
248051
  description: "Base44 CLI - Unified interface for managing Base44 applications",
248052
248052
  type: "module",
248053
248053
  bin: {
@@ -248160,6 +248160,9 @@ function getTemplatesIndexPath() {
248160
248160
  function getBackendRuntimeDir() {
248161
248161
  return join12(ASSETS_DIR, "backend-runtime");
248162
248162
  }
248163
+ function getImportMapPath() {
248164
+ return join12(getBackendRuntimeDir(), "import-map.json");
248165
+ }
248163
248166
  function getDenoWrapperPath() {
248164
248167
  return join12(getBackendRuntimeDir(), "main.ts");
248165
248168
  }
@@ -263707,9 +263710,17 @@ async function runScript(options8) {
263707
263710
  const tempWrapper = await $file({ postfix: ".ts" });
263708
263711
  cleanupFns.push(tempWrapper.cleanup);
263709
263712
  copyFileSync(getExecWrapperPath(), tempWrapper.path);
263713
+ const importMapPath = getImportMapPath();
263710
263714
  try {
263711
263715
  const exitCode = await new Promise((resolvePromise) => {
263712
- const child = spawn4("deno", ["run", "--allow-all", "--node-modules-dir=auto", tempWrapper.path], {
263716
+ const child = spawn4("deno", [
263717
+ "run",
263718
+ "--allow-all",
263719
+ "--node-modules-dir=auto",
263720
+ "--import-map",
263721
+ importMapPath,
263722
+ tempWrapper.path
263723
+ ], {
263713
263724
  env: {
263714
263725
  ...process.env,
263715
263726
  SCRIPT_PATH: scriptPath,
@@ -268208,4 +268219,4 @@ export {
268208
268219
  CLIExitError
268209
268220
  };
268210
268221
 
268211
- //# debugId=BD8B328810C7720964756E2164756E21
268222
+ //# debugId=E702492ECF74B8D164756E2164756E21