@cronus-ui/stack 0.6.1 → 0.6.2

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/engine.d.ts CHANGED
@@ -35,8 +35,9 @@ export declare function toggleMulti(catalog: Catalog, selection: Selection, cate
35
35
  /**
36
36
  * The canonical default selection: every single category at its first option,
37
37
  * toggles per {@link TOGGLE_DEFAULTS_ON}, multis per {@link MULTI_DEFAULTS},
38
- * with `ui` nudged to Cronus UI (the product default) when a React web frontend
39
- * is present. Always valid.
38
+ * then product nudges (Next.js, Cronus UI, SQLite, Drizzle, Better-Auth, basic
39
+ * DB setup). Catalog first-options stay the cascade fallback (e.g. `db-none`).
40
+ * Always valid.
40
41
  */
41
42
  export declare function defaultSelection(catalog?: Catalog): Selection;
42
43
  /**
package/dist/engine.js CHANGED
@@ -458,8 +458,9 @@ export function toggleMulti(catalog, selection, categoryId, optionId) {
458
458
  /**
459
459
  * The canonical default selection: every single category at its first option,
460
460
  * toggles per {@link TOGGLE_DEFAULTS_ON}, multis per {@link MULTI_DEFAULTS},
461
- * with `ui` nudged to Cronus UI (the product default) when a React web frontend
462
- * is present. Always valid.
461
+ * then product nudges (Next.js, Cronus UI, SQLite, Drizzle, Better-Auth, basic
462
+ * DB setup). Catalog first-options stay the cascade fallback (e.g. `db-none`).
463
+ * Always valid.
463
464
  */
464
465
  export function defaultSelection(catalog = defaultCatalog) {
465
466
  const seed = {};
@@ -476,9 +477,13 @@ export function defaultSelection(catalog = defaultCatalog) {
476
477
  seed[cat.id] = TOGGLE_DEFAULTS_ON.has(cat.id);
477
478
  }
478
479
  }
479
- // Product defaults: Next.js + Cronus UI.
480
+ // Product defaults: Next.js + Cronus UI + signed-in SQLite path.
480
481
  seed.web = "web-next";
481
482
  seed.ui = "ui-cronus";
483
+ seed.database = "db-sqlite";
484
+ seed.orm = "orm-drizzle";
485
+ seed.auth = "auth-better-auth";
486
+ seed.dbSetup = "dbsetup-basic";
482
487
  return resolve(catalog, seed).selection;
483
488
  }
484
489
  // --------------------------------------------------------------------------
package/dist/kickoff.js CHANGED
@@ -363,6 +363,12 @@ export function generateKickoff(config, projectName = "my-cronus-app", catalog =
363
363
  followUps.push(`Implement **${auth}** and protect mutating routes.`);
364
364
  }
365
365
  }
366
+ if (isCronusUi &&
367
+ databaseId === "db-sqlite" &&
368
+ ormId === "orm-drizzle" &&
369
+ authId === "auth-better-auth") {
370
+ followUps.push("Compose a product with `npx cronus-ui compose saas` (or admin).");
371
+ }
366
372
  if (payments) {
367
373
  followUps.push(`Implement **${payments}** webhooks server-side; never trust client-side amounts.`);
368
374
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cronus-ui/stack",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "description": "Cronus Stack Builder core — catalog, resolver, CLI flags, KICKOFF.md and stack.json artifacts.",
5
5
  "type": "module",
6
6
  "license": "MIT",