@base44-preview/cli 0.1.23-pr.645.f7a2f42 → 0.1.24-pr.646.09ee9f4
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 +4 -4
- package/dist/cli/index.js.map +4 -4
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -239265,7 +239265,7 @@ import { join as join13 } from "node:path";
|
|
|
239265
239265
|
// package.json
|
|
239266
239266
|
var package_default = {
|
|
239267
239267
|
name: "base44",
|
|
239268
|
-
version: "0.1.
|
|
239268
|
+
version: "0.1.24",
|
|
239269
239269
|
description: "Base44 CLI - Unified interface for managing Base44 applications",
|
|
239270
239270
|
type: "module",
|
|
239271
239271
|
bin: {
|
|
@@ -251668,7 +251668,7 @@ async function siteDevAction(ctx, forwarded) {
|
|
|
251668
251668
|
if (!app?.projectRoot) {
|
|
251669
251669
|
throw new ConfigInvalidError("base44 site dev requires a linked local project. Run it from a project with base44/.app.jsonc.");
|
|
251670
251670
|
}
|
|
251671
|
-
const
|
|
251671
|
+
const project = await readProjectSettings(app.projectRoot);
|
|
251672
251672
|
const site = project.site;
|
|
251673
251673
|
if (!site) {
|
|
251674
251674
|
throw new InvalidInputError(`This project has no 'site' block in base44/config.jsonc, so there is no frontend to serve. Add one naming its serveCommand; site dev falls back to "npm run dev".`);
|
|
@@ -251693,7 +251693,7 @@ function getSiteDevCommand() {
|
|
|
251693
251693
|
async function installAction({
|
|
251694
251694
|
runTask
|
|
251695
251695
|
}) {
|
|
251696
|
-
const
|
|
251696
|
+
const project = await readProjectSettings();
|
|
251697
251697
|
const installCommand = project.site?.installCommand;
|
|
251698
251698
|
if (!installCommand) {
|
|
251699
251699
|
throw new ConfigNotFoundError("No site install command found.", {
|
|
@@ -260579,4 +260579,4 @@ export {
|
|
|
260579
260579
|
runCLI
|
|
260580
260580
|
};
|
|
260581
260581
|
|
|
260582
|
-
//# debugId=
|
|
260582
|
+
//# debugId=9978A4087157AD8F64756E2164756E21
|