@base44-preview/cli 0.0.1-pr.21.d15329d → 0.0.1-pr.22.4bf72cd

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
@@ -17335,7 +17335,8 @@ async function createProject(projectName, description) {
17335
17335
  const response = await base44Client.post("api/apps", { json: {
17336
17336
  name: projectName,
17337
17337
  user_description: description ?? `Backend for '${projectName}'`,
17338
- app_type: "baas"
17338
+ app_type: "baas",
17339
+ public_settings: "public_without_login"
17339
17340
  } });
17340
17341
  return { projectId: CreateProjectResponseSchema.parse(await response.json()).id };
17341
17342
  }
@@ -18270,7 +18271,10 @@ async function createProjectFiles(options) {
18270
18271
  description,
18271
18272
  projectId
18272
18273
  });
18273
- return { projectDir: basePath };
18274
+ return {
18275
+ projectId,
18276
+ projectDir: basePath
18277
+ };
18274
18278
  }
18275
18279
 
18276
18280
  //#endregion
@@ -19267,7 +19271,7 @@ async function create() {
19267
19271
  }
19268
19272
  }, { onCancel: onPromptCancel });
19269
19273
  const resolvedPath = resolve(projectPath);
19270
- await runTask("Creating project...", async () => {
19274
+ const { projectId } = await runTask("Creating project...", async () => {
19271
19275
  return await createProjectFiles({
19272
19276
  name: name.trim(),
19273
19277
  description: description ? description.trim() : void 0,
@@ -19279,6 +19283,7 @@ async function create() {
19279
19283
  errorMessage: "Failed to create project"
19280
19284
  });
19281
19285
  M.success(`Project ${source_default.bold(name)} has been initialized!`);
19286
+ M.success(`Dashboard link:\n${source_default.bold(`${getBase44ApiUrl()}/apps/${projectId}/editor/preview`)}`);
19282
19287
  }
19283
19288
  const createCommand = new Command("create").description("Create a new Base44 project").action(async () => {
19284
19289
  await runCommand(create, { fullBanner: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@base44-preview/cli",
3
- "version": "0.0.1-pr.21.d15329d",
3
+ "version": "0.0.1-pr.22.4bf72cd",
4
4
  "description": "Base44 CLI - Unified interface for managing Base44 applications",
5
5
  "type": "module",
6
6
  "main": "./dist/cli/index.js",