@base44-preview/cli 0.1.16-pr.634.3cc42b9 → 0.1.16-pr.634.5f61e77

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
@@ -230706,7 +230706,7 @@ var TemplatesConfigSchema = object({
230706
230706
  });
230707
230707
  var SiteConfigSchema = object({
230708
230708
  buildCommand: string2().optional().default("npm run build"),
230709
- serveCommand: string2().optional().default("npm run dev"),
230709
+ serveCommand: string2().optional(),
230710
230710
  outputDirectory: string2().optional().default("./dist"),
230711
230711
  installCommand: string2().optional().default("npm install")
230712
230712
  });
@@ -255561,7 +255561,7 @@ function startServeCommand(runner, backend) {
255561
255561
  async function remoteDevAction(app) {
255562
255562
  const site = await resolveConfiguredSite(app);
255563
255563
  if (!site) {
255564
- throw new ConfigInvalidError(`base44 dev --remote serves the frontend against the production backend, but this project has no 'site' block in base44/config.jsonc. Add one; inside it serveCommand defaults to "npm run dev".`);
255564
+ throw new ConfigInvalidError("base44 dev --remote serves the frontend against the production backend, but this project has no site.serveCommand in base44/config.jsonc.");
255565
255565
  }
255566
255566
  const appBaseUrl = await getSiteUrl();
255567
255567
  const runner = createServeCommandRunner({
@@ -259929,4 +259929,4 @@ export {
259929
259929
  runCLI
259930
259930
  };
259931
259931
 
259932
- //# debugId=E2C8B2D4450DEEB964756E2164756E21
259932
+ //# debugId=F6D99835BF6E640464756E2164756E21