@base44-preview/cli 0.1.16-pr.634.619a424 → 0.1.16-pr.634.fb8f8af

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
@@ -255813,21 +255813,15 @@ async function eject(ctx, options, command) {
255813
255813
  });
255814
255814
  const { project } = await readProjectConfig(resolvedPath);
255815
255815
  const site = project.site;
255816
- if (site) {
255816
+ if (site?.outputDirectory) {
255817
255817
  const shouldDeploy = options.yes ? true : await Re({
255818
255818
  message: "Would you like to deploy your project now?"
255819
255819
  });
255820
255820
  if (!Ct(shouldDeploy) && shouldDeploy) {
255821
255821
  await runTask("Installing dependencies...", async (updateMessage) => {
255822
- await execa({
255823
- cwd: resolvedPath,
255824
- shell: true
255825
- })`${site.installCommand}`;
255822
+ await execa({ cwd: resolvedPath, shell: true })`${site.installCommand}`;
255826
255823
  updateMessage("Building project...");
255827
- await execa({
255828
- cwd: resolvedPath,
255829
- shell: true
255830
- })`${site.buildCommand}`;
255824
+ await execa({ cwd: resolvedPath, shell: true })`${site.buildCommand}`;
255831
255825
  }, {
255832
255826
  successMessage: theme.colors.base44Orange("Project built successfully"),
255833
255827
  errorMessage: "Failed to build project"
@@ -259934,4 +259928,4 @@ export {
259934
259928
  runCLI
259935
259929
  };
259936
259930
 
259937
- //# debugId=520138F1270451C464756E2164756E21
259931
+ //# debugId=95E7F84ABD7A887164756E2164756E21