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