@base44-preview/cli 0.1.14-pr.618.6b8b5cf → 0.1.14-pr.620.72ead3e

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
@@ -239710,8 +239710,9 @@ async function pMap(iterable, mapper, {
239710
239710
  var pMapSkip = Symbol("skip");
239711
239711
 
239712
239712
  // src/core/site/upload.ts
239713
- var DEFAULT_UPLOAD_CONCURRENCY = 3;
239713
+ var DEFAULT_UPLOAD_CONCURRENCY = 8;
239714
239714
  var MAX_UPLOAD_CONCURRENCY = 50;
239715
+ var MAX_BUCKET_CONCURRENCY = 3;
239715
239716
  var MAX_UPLOAD_ATTEMPTS = 3;
239716
239717
  var RETRY_BASE_DELAY_MS = 500;
239717
239718
  var UPLOAD_RETRY = {
@@ -239743,6 +239744,7 @@ function countOwedAssets(assetUploads) {
239743
239744
  }
239744
239745
  async function uploadAssetBuckets(target, filesByHash, options = {}) {
239745
239746
  const { concurrency = DEFAULT_UPLOAD_CONCURRENCY, onProgress } = options;
239747
+ const bucketConcurrency = Math.min(concurrency, MAX_BUCKET_CONCURRENCY);
239746
239748
  const { buckets } = target;
239747
239749
  const totalFiles = buckets.reduce((sum, bucket) => sum + bucket.length, 0);
239748
239750
  let uploadedFiles = 0;
@@ -239754,7 +239756,7 @@ async function uploadAssetBuckets(target, filesByHash, options = {}) {
239754
239756
  }
239755
239757
  uploadedFiles += bucket.length;
239756
239758
  onProgress?.({ uploadedFiles, totalFiles });
239757
- }, { concurrency });
239759
+ }, { concurrency: bucketConcurrency });
239758
239760
  if (!completionJwt) {
239759
239761
  throw new ApiError("Asset upload finished but the server did not return a completion token.");
239760
239762
  }
@@ -246529,7 +246531,7 @@ async function deployAll(projectData, options) {
246529
246531
  options?.onVisibilitySet?.(project.visibility);
246530
246532
  }
246531
246533
  await entityResource.push(entities);
246532
- const functionResults = await deployFunctionsSequentially(functions, {
246534
+ await deployFunctionsSequentially(functions, {
246533
246535
  onStart: options?.onFunctionStart,
246534
246536
  onResult: options?.onFunctionResult
246535
246537
  });
@@ -246541,9 +246543,9 @@ async function deployAll(projectData, options) {
246541
246543
  if (project.site?.outputDirectory) {
246542
246544
  const outputDir = resolve5(project.root, project.site.outputDirectory);
246543
246545
  const { appUrl } = await deploySite(outputDir);
246544
- return { appUrl, connectorResults, functionResults };
246546
+ return { appUrl, connectorResults };
246545
246547
  }
246546
- return { connectorResults, functionResults };
246548
+ return { connectorResults };
246547
246549
  }
246548
246550
  // src/core/clients/base44-client.ts
246549
246551
  var retriedRequests = new WeakSet;
@@ -249561,11 +249563,6 @@ ${summaryLines.join(`
249561
249563
  if (result.appUrl) {
249562
249564
  log.message(`${theme.styles.header("App URL")}: ${theme.colors.links(result.appUrl)}`);
249563
249565
  }
249564
- const failedFunctions = result.functionResults.filter((functionResult) => functionResult.status === "error").length;
249565
- if (failedFunctions > 0) {
249566
- log.warn(`${failedFunctions} ${failedFunctions === 1 ? "function" : "functions"} failed to deploy`);
249567
- throw new CLIExitError(1);
249568
- }
249569
249566
  return { outroMessage: "App deployed successfully" };
249570
249567
  }
249571
249568
  function getDeployCommand2() {
@@ -259494,4 +259491,4 @@ export {
259494
259491
  runCLI
259495
259492
  };
259496
259493
 
259497
- //# debugId=948085031B0FBD6764756E2164756E21
259494
+ //# debugId=DD305A799B6CCBD964756E2164756E21