@base44-preview/cli 0.0.11-pr.78.84de648 → 0.0.11-pr.81.ba90b4e

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.
Files changed (2) hide show
  1. package/dist/cli/index.js +2 -15
  2. package/package.json +1 -1
package/dist/cli/index.js CHANGED
@@ -16744,7 +16744,7 @@ async function readAllEntities(entitiesDir) {
16744
16744
  async function pushEntities(entities) {
16745
16745
  const appClient = getAppClient();
16746
16746
  const schemaSyncPayload = Object.fromEntries(entities.map((entity) => [entity.name, entity]));
16747
- const response = await appClient.put("entities-schemas/sync-all", {
16747
+ const response = await appClient.put("entity-schemas", {
16748
16748
  json: { entityNameToSchema: schemaSyncPayload },
16749
16749
  throwHttpErrors: false
16750
16750
  });
@@ -38290,7 +38290,7 @@ async function executeCreate({ template, name: rawName, description, projectPath
38290
38290
  errorMessage: "Failed to create project"
38291
38291
  });
38292
38292
  await loadProjectEnv(resolvedPath);
38293
- const { project, entities, functions } = await readProjectConfig(resolvedPath);
38293
+ const { project, entities } = await readProjectConfig(resolvedPath);
38294
38294
  let finalAppUrl;
38295
38295
  if (entities.length > 0) {
38296
38296
  let shouldPushEntities;
@@ -38305,19 +38305,6 @@ async function executeCreate({ template, name: rawName, description, projectPath
38305
38305
  errorMessage: "Failed to push data models"
38306
38306
  });
38307
38307
  }
38308
- if (functions.length > 0) {
38309
- let shouldPushFunctions;
38310
- if (isInteractive) {
38311
- const result = await ye({ message: "Deploy backend functions now? (This pushes the functions used by the template to Base44)" });
38312
- shouldPushFunctions = !pD(result) && result;
38313
- } else shouldPushFunctions = !!deploy;
38314
- if (shouldPushFunctions) await runTask(`Deploying ${functions.length} backend ${functions.length === 1 ? "function" : "functions"} to Base44...`, async () => {
38315
- await pushFunctions(functions);
38316
- }, {
38317
- successMessage: theme.colors.base44Orange("Functions deployed successfully"),
38318
- errorMessage: "Failed to deploy functions"
38319
- });
38320
- }
38321
38308
  if (project.site) {
38322
38309
  const { installCommand, buildCommand, outputDirectory } = project.site;
38323
38310
  let shouldDeploy;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@base44-preview/cli",
3
- "version": "0.0.11-pr.78.84de648",
3
+ "version": "0.0.11-pr.81.ba90b4e",
4
4
  "description": "Base44 CLI - Unified interface for managing Base44 applications",
5
5
  "type": "module",
6
6
  "main": "./dist/cli/index.js",