@rebasepro/cli 0.19.2-canary.g2cd43e9 → 0.19.2-canary.g3502017
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/index.es.js +3 -3
- package/dist/index.es.js.map +1 -1
- package/package.json +7 -7
- package/templates/overlays/baas/backend/package.json +1 -1
- package/templates/overlays/baas/config/package.json +1 -1
- package/templates/overlays/baas/package.json +1 -1
- package/templates/template/backend/package.json +1 -2
- package/templates/template/config/package.json +1 -1
- package/templates/template/frontend/package.json +4 -4
- package/templates/template/frontend/vite.config.ts +1 -5
- package/templates/template/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1653,7 +1653,7 @@ function buildInitQuestions(params) {
|
|
|
1653
1653
|
type: "input",
|
|
1654
1654
|
name: "projectName",
|
|
1655
1655
|
message: "Project name:",
|
|
1656
|
-
default: "my-app",
|
|
1656
|
+
default: "my-rebase-app",
|
|
1657
1657
|
validate: (input) => validateProjectName(input) ?? true
|
|
1658
1658
|
});
|
|
1659
1659
|
if (headlessArg === void 0) questions.push({
|
|
@@ -1721,7 +1721,7 @@ ${chalk.bold("Usage")}
|
|
|
1721
1721
|
rebase init ${chalk.blue("[name]")} [options]
|
|
1722
1722
|
|
|
1723
1723
|
${chalk.gray("The name may be a nested path (apps/my-app) or \".\" for the current directory.")}
|
|
1724
|
-
${chalk.gray("
|
|
1724
|
+
${chalk.gray("Defaults to \"my-rebase-app\" when omitted with --yes.")}
|
|
1725
1725
|
|
|
1726
1726
|
${chalk.bold("Options")}
|
|
1727
1727
|
${chalk.blue("-t, --template")} ${chalk.gray("<preset>")} blog | ecommerce | blank ${chalk.gray("(default: blog)")}
|
|
@@ -1803,7 +1803,7 @@ async function promptForOptions(rawArgs, pm) {
|
|
|
1803
1803
|
const installFlag = noInstall ? false : args["--install"] ?? false;
|
|
1804
1804
|
const hasInstallFlag = noInstall || args["--install"] === true;
|
|
1805
1805
|
if (isNonInteractive) {
|
|
1806
|
-
const projectName = nameArg || "my-app";
|
|
1806
|
+
const projectName = nameArg || "my-rebase-app";
|
|
1807
1807
|
const targetDirectory = path.resolve(process.cwd(), projectName);
|
|
1808
1808
|
const templateDirectory = path.resolve(cliRoot, "templates", "template");
|
|
1809
1809
|
const pmCommands = getPMCommands(pm);
|