@base44-preview/cli 0.0.54-pr.536.bc33f35 → 0.0.54-pr.536.d47bf2a

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
@@ -252893,7 +252893,7 @@ async function completeProjectSetup({
252893
252893
  deploy: deploy5,
252894
252894
  skills,
252895
252895
  isInteractive
252896
- }, { log, runTask: runTask2 }) {
252896
+ }, { runTask: runTask2 }) {
252897
252897
  const { project: project2, entities } = await readProjectConfig(resolvedPath);
252898
252898
  let finalAppUrl;
252899
252899
  if (entities.length > 0) {
@@ -252953,12 +252953,18 @@ async function completeProjectSetup({
252953
252953
  });
252954
252954
  } catch {}
252955
252955
  }
252956
+ return {
252957
+ name: name2,
252958
+ dashboardUrl: getDashboardUrl(projectId),
252959
+ appUrl: finalAppUrl
252960
+ };
252961
+ }
252962
+ function printProjectSummary({ name: name2, dashboardUrl, appUrl }, log) {
252956
252963
  log.message(`${theme.styles.header("Project")}: ${theme.colors.base44Orange(name2)}`);
252957
- log.message(`${theme.styles.header("Dashboard")}: ${theme.colors.links(getDashboardUrl(projectId))}`);
252958
- if (finalAppUrl) {
252959
- log.message(`${theme.styles.header("Site")}: ${theme.colors.links(finalAppUrl)}`);
252964
+ log.message(`${theme.styles.header("Dashboard")}: ${theme.colors.links(dashboardUrl)}`);
252965
+ if (appUrl) {
252966
+ log.message(`${theme.styles.header("Site")}: ${theme.colors.links(appUrl)}`);
252960
252967
  }
252961
- return { outroMessage: "Your project is set up and ready to use" };
252962
252968
  }
252963
252969
 
252964
252970
  // src/cli/commands/project/create.ts
@@ -253047,7 +253053,9 @@ async function executeCreate({
253047
253053
  errorMessage: "Failed to create project"
253048
253054
  });
253049
253055
  setAppConfig({ id: projectId, projectRoot: resolvedPath });
253050
- return await completeProjectSetup({ projectId, name: name2, resolvedPath, deploy: deploy5, skills, isInteractive }, { log, runTask: runTask2 });
253056
+ const summary = await completeProjectSetup({ projectId, name: name2, resolvedPath, deploy: deploy5, skills, isInteractive }, { runTask: runTask2 });
253057
+ printProjectSummary(summary, log);
253058
+ return { outroMessage: "Your project is set up and ready to use" };
253051
253059
  }
253052
253060
  async function createAction({ log, runTask: runTask2, isNonInteractive }, name2, options) {
253053
253061
  if (name2 && !options.path) {
@@ -261596,4 +261604,4 @@ export {
261596
261604
  CLIExitError
261597
261605
  };
261598
261606
 
261599
- //# debugId=16995315964274D664756E2164756E21
261607
+ //# debugId=E89771127BFCDA3E64756E2164756E21