@base44-preview/cli 0.1.23-pr.645.b52be01 → 0.1.23-pr.645.fe2ea5c

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.
@@ -44,7 +44,7 @@ if (!appBaseUrl) {
44
44
 
45
45
  // Exact version: an unversioned specifier makes Deno resolve "latest" from npm on
46
46
  // every fresh cache, so a pre-cached SDK is never used.
47
- import { createClient } from "npm:@base44/sdk@0.8.48";
47
+ import { createClient } from "npm:@base44/sdk@0.8.52";
48
48
 
49
49
  const customHeaders: Record<string, string> = {};
50
50
  if (isPrivileged) customHeaders["X-Bypass-RLS"] = "true";
package/dist/cli/index.js CHANGED
@@ -256205,6 +256205,9 @@ function readExecEnvTarget(env = process.env) {
256205
256205
  // src/core/exec/run-script.ts
256206
256206
  import { spawn as spawn4 } from "node:child_process";
256207
256207
  import { copyFileSync, writeFileSync as writeFileSync3 } from "node:fs";
256208
+ var DENO_CONFIG = {
256209
+ minimumDependencyAge: { exclude: ["npm:@base44/sdk"] }
256210
+ };
256208
256211
  var SERVICE_TOKEN_ENV = "BASE44_SERVICE_TOKEN";
256209
256212
  function inheritedEnv() {
256210
256213
  const env = { ...process.env };
@@ -256230,9 +256233,19 @@ async function runScript(options) {
256230
256233
  const tempWrapper = await $file({ postfix: ".ts" });
256231
256234
  cleanupFns.push(tempWrapper.cleanup);
256232
256235
  copyFileSync(getExecWrapperPath(), tempWrapper.path);
256236
+ const tempConfig = await $file({ postfix: ".json" });
256237
+ cleanupFns.push(tempConfig.cleanup);
256238
+ writeFileSync3(tempConfig.path, JSON.stringify(DENO_CONFIG), "utf-8");
256233
256239
  try {
256234
256240
  const exitCode = await new Promise((resolvePromise) => {
256235
- const child = spawn4("deno", ["run", "--allow-all", "--node-modules-dir=none", tempWrapper.path], {
256241
+ const child = spawn4("deno", [
256242
+ "run",
256243
+ "--allow-all",
256244
+ "--node-modules-dir=none",
256245
+ "--config",
256246
+ tempConfig.path,
256247
+ tempWrapper.path
256248
+ ], {
256236
256249
  env: {
256237
256250
  ...inheritedEnv(),
256238
256251
  ...serviceToken ? { [SERVICE_TOKEN_ENV]: serviceToken } : {},
@@ -260548,4 +260561,4 @@ export {
260548
260561
  runCLI
260549
260562
  };
260550
260563
 
260551
- //# debugId=F91265C83F23C30764756E2164756E21
260564
+ //# debugId=BB80D6E0BB39AF1564756E2164756E21