create-inox-app 0.2.3 → 0.2.4
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.js +9 -12
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -3087,13 +3087,10 @@ const TITLE_TEXT = `
|
|
|
3087
3087
|
╚═╝╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝
|
|
3088
3088
|
`;
|
|
3089
3089
|
const INOX_THEME = {
|
|
3090
|
-
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
lime: "#84CC16",
|
|
3095
|
-
yellow: "#EAB308",
|
|
3096
|
-
orange: "#F97316"
|
|
3090
|
+
red: "#D20000",
|
|
3091
|
+
warmRed: "#E83600",
|
|
3092
|
+
orange: "#F06800",
|
|
3093
|
+
amber: "#F59E0B"
|
|
3097
3094
|
};
|
|
3098
3095
|
const renderTitle = () => {
|
|
3099
3096
|
const cols = process.stdout.columns ?? 80;
|
|
@@ -6844,7 +6841,7 @@ const navigableGroup = async (steps) => {
|
|
|
6844
6841
|
const prevIndex = shownSteps.pop();
|
|
6845
6842
|
delete results[steps[prevIndex].key];
|
|
6846
6843
|
i$2 = prevIndex;
|
|
6847
|
-
}
|
|
6844
|
+
} else throw new UserCancelledError();
|
|
6848
6845
|
continue;
|
|
6849
6846
|
}
|
|
6850
6847
|
if (isCancel(result)) throw new UserCancelledError();
|
|
@@ -22131,9 +22128,9 @@ const printPostInstall = (config) => {
|
|
|
22131
22128
|
} else if (config.cache === "redis") steps.push("docker compose --profile dev up -d redis");
|
|
22132
22129
|
steps.push("bun run dev");
|
|
22133
22130
|
consola.box({
|
|
22134
|
-
title: import_picocolors$1.default.bold(import_picocolors$1.default.
|
|
22131
|
+
title: import_picocolors$1.default.bold(import_picocolors$1.default.red("Next steps")),
|
|
22135
22132
|
message: steps.map((s$1) => import_picocolors$1.default.cyan(s$1)).join("\n"),
|
|
22136
|
-
style: { borderColor: "
|
|
22133
|
+
style: { borderColor: "red" }
|
|
22137
22134
|
});
|
|
22138
22135
|
};
|
|
22139
22136
|
|
|
@@ -22168,7 +22165,7 @@ const createInoxCli = async () => {
|
|
|
22168
22165
|
return;
|
|
22169
22166
|
}
|
|
22170
22167
|
renderTitle();
|
|
22171
|
-
Ie(import_picocolors.default.
|
|
22168
|
+
Ie(import_picocolors.default.red("Create a new Inox project"));
|
|
22172
22169
|
try {
|
|
22173
22170
|
const config = await gatherConfig(flags);
|
|
22174
22171
|
M.info([
|
|
@@ -22186,7 +22183,7 @@ const createInoxCli = async () => {
|
|
|
22186
22183
|
].join("\n"));
|
|
22187
22184
|
await scaffold(config);
|
|
22188
22185
|
M.info(import_picocolors.default.dim(buildReproducibleCmd(config)));
|
|
22189
|
-
Se(import_picocolors.default.
|
|
22186
|
+
Se(import_picocolors.default.red("Happy building!"));
|
|
22190
22187
|
printPostInstall(config);
|
|
22191
22188
|
} catch (err) {
|
|
22192
22189
|
if (err instanceof UserCancelledError) {
|