@base44-preview/cli 0.1.17-pr.635.fd9bbfb → 0.1.18-pr.635.c3a4ce4

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.
@@ -8,7 +8,7 @@ A simple todo list app built with React and Base44 backend.
8
8
  base44/ # Backend configuration
9
9
  ├── config.jsonc # Project settings
10
10
  └── entities/ # Data schemas
11
- └── task.jsonc # Task entity
11
+ └── Task.jsonc # Task entity
12
12
 
13
13
  src/ # Frontend code
14
14
  ├── App.jsx # Main todo app
package/dist/cli/index.js CHANGED
@@ -239254,7 +239254,7 @@ import { join as join13 } from "node:path";
239254
239254
  // package.json
239255
239255
  var package_default = {
239256
239256
  name: "base44",
239257
- version: "0.1.17",
239257
+ version: "0.1.18",
239258
239258
  description: "Base44 CLI - Unified interface for managing Base44 applications",
239259
239259
  type: "module",
239260
239260
  bin: {
@@ -251313,7 +251313,7 @@ function stopRunnerOnProcessSignals(runner) {
251313
251313
  }
251314
251314
 
251315
251315
  // src/cli/commands/site/dev.ts
251316
- async function siteDevAction(ctx, options) {
251316
+ async function siteDevAction(ctx) {
251317
251317
  const { app } = ctx;
251318
251318
  if (!app?.projectRoot) {
251319
251319
  throw new ConfigInvalidError("base44 site dev requires a linked local project. Run it from a project with base44/.app.jsonc.");
@@ -251335,18 +251335,15 @@ async function siteDevAction(ctx, options) {
251335
251335
  const runner = createServeCommandRunner({
251336
251336
  serveCommand: command,
251337
251337
  projectRoot: project.root,
251338
- appId: app.id,
251339
- appBaseUrl: options.backendUrl
251338
+ appId: app.id
251340
251339
  });
251341
251340
  stopRunnerOnProcessSignals(runner);
251342
251341
  runner.onExit((code) => process.exit(code ?? 1));
251343
251342
  runner.start();
251344
- return {
251345
- outroMessage: options.backendUrl ? `Frontend dev server running '${command}' against ${theme.styles.bold(options.backendUrl)}` : `Frontend dev server running '${command}'`
251346
- };
251343
+ return { outroMessage: `Frontend dev server running '${command}'` };
251347
251344
  }
251348
251345
  function getSiteDevCommand() {
251349
- return new Base44Command("dev", { requireAuth: false }).description("Run the site's dev server against a given backend (no local backend)").option("--backend-url <url>", "Backend the frontend should call, injected as VITE_BASE44_APP_BASE_URL. Omit for a frontend that reaches its backend same-origin.").action(siteDevAction);
251346
+ return new Base44Command("dev", { requireAuth: false }).description("Run the site's dev server, with no local backend").action(siteDevAction);
251350
251347
  }
251351
251348
 
251352
251349
  // src/cli/commands/site/open.ts
@@ -260064,4 +260061,4 @@ export {
260064
260061
  runCLI
260065
260062
  };
260066
260063
 
260067
- //# debugId=8C0EDF181791840B64756E2164756E21
260064
+ //# debugId=E02B26E5C6F924D964756E2164756E21