@jskit-ai/create-app 0.1.110 → 0.1.112
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/package.json +1 -1
- package/src/server/index.js +4 -3
package/package.json
CHANGED
package/src/server/index.js
CHANGED
|
@@ -54,7 +54,8 @@ function buildInitialSetupCommands(initialBundles) {
|
|
|
54
54
|
|
|
55
55
|
const commands = [];
|
|
56
56
|
if (normalizedPreset === "auth") {
|
|
57
|
-
commands.push("npx jskit add
|
|
57
|
+
commands.push("npx jskit add package auth-provider-local-core");
|
|
58
|
+
commands.push("npx jskit add package auth-web");
|
|
58
59
|
}
|
|
59
60
|
|
|
60
61
|
return commands;
|
|
@@ -229,7 +230,7 @@ function printUsage(stream = process.stderr) {
|
|
|
229
230
|
stream.write(" --minimal Use the bare minimal-shell template instead of the default shell-web app scaffold\n");
|
|
230
231
|
stream.write(" --title <text> App title used for template replacements\n");
|
|
231
232
|
stream.write(" --target <path> Target directory (default: ./<app-name>)\n");
|
|
232
|
-
stream.write(" --initial-bundles <preset> Optional
|
|
233
|
+
stream.write(" --initial-bundles <preset> Optional initial setup preset: none | auth (default: none)\n");
|
|
233
234
|
stream.write(" --tenancy-mode <mode> Optional config seed: none | personal | workspaces\n");
|
|
234
235
|
stream.write(" --force Allow writing into a non-empty target directory\n");
|
|
235
236
|
stream.write(" --dry-run Print planned writes without changing the filesystem\n");
|
|
@@ -466,7 +467,7 @@ async function collectInteractiveOptions({
|
|
|
466
467
|
while (true) {
|
|
467
468
|
const candidate = await askQuestion(
|
|
468
469
|
readline,
|
|
469
|
-
"Initial
|
|
470
|
+
"Initial setup preset (none|auth)",
|
|
470
471
|
initialBundles
|
|
471
472
|
);
|
|
472
473
|
try {
|