@base44-preview/cli 0.1.7-pr.585.9d302f6 → 0.1.7-pr.585.e329446
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 +6 -7
- package/dist/cli/index.js.map +6 -6
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -259051,9 +259051,9 @@ async function deployAction2(ctx, options) {
|
|
|
259051
259051
|
}
|
|
259052
259052
|
return { outroMessage: "Nothing to deploy" };
|
|
259053
259053
|
}
|
|
259054
|
-
function getSiteDeployCommand(
|
|
259054
|
+
function getSiteDeployCommand() {
|
|
259055
259055
|
const command2 = new Base44Command("deploy").description("Deploy built site files to Base44 hosting").option("-y, --yes", "Skip confirmation prompt").option("--build", "Build the site before deploying (skips the prompt)").option("--no-build", "Deploy without building (skips the prompt)");
|
|
259056
|
-
if (
|
|
259056
|
+
if (staticDeploymentsEnabled()) {
|
|
259057
259057
|
command2.addOption(new Option("--git-hash <hash>", "Commit the build came from (defaults to the checkout's HEAD)"));
|
|
259058
259058
|
}
|
|
259059
259059
|
return command2.action(deployAction2);
|
|
@@ -259074,8 +259074,8 @@ function getSiteOpenCommand() {
|
|
|
259074
259074
|
}
|
|
259075
259075
|
|
|
259076
259076
|
// src/cli/commands/site/index.ts
|
|
259077
|
-
function getSiteCommand(
|
|
259078
|
-
return new Command("site").description("Manage app site (frontend app)").addCommand(getSiteDeployCommand(
|
|
259077
|
+
function getSiteCommand() {
|
|
259078
|
+
return new Command("site").description("Manage app site (frontend app)").addCommand(getSiteDeployCommand()).addCommand(getSiteOpenCommand());
|
|
259079
259079
|
}
|
|
259080
259080
|
|
|
259081
259081
|
// src/core/types/generator.ts
|
|
@@ -263598,7 +263598,7 @@ function createProgram(context) {
|
|
|
263598
263598
|
program2.addCommand(getSecretsCommand());
|
|
263599
263599
|
program2.addCommand(getSandboxCommand());
|
|
263600
263600
|
program2.addCommand(getAuthCommand());
|
|
263601
|
-
program2.addCommand(getSiteCommand(
|
|
263601
|
+
program2.addCommand(getSiteCommand());
|
|
263602
263602
|
program2.addCommand(getTypesCommand());
|
|
263603
263603
|
program2.addCommand(getExecCommand());
|
|
263604
263604
|
program2.addCommand(getDevCommand());
|
|
@@ -267822,7 +267822,6 @@ async function runCLI(options8) {
|
|
|
267822
267822
|
errorReporter,
|
|
267823
267823
|
isNonInteractive,
|
|
267824
267824
|
jsonMode,
|
|
267825
|
-
staticDeployments: staticDeploymentsEnabled(),
|
|
267826
267825
|
distribution: options8?.distribution ?? "npm",
|
|
267827
267826
|
log,
|
|
267828
267827
|
runTask: runTask2
|
|
@@ -267851,4 +267850,4 @@ export {
|
|
|
267851
267850
|
CLIExitError
|
|
267852
267851
|
};
|
|
267853
267852
|
|
|
267854
|
-
//# debugId=
|
|
267853
|
+
//# debugId=2A92EE13E93D45AB64756E2164756E21
|