create-cronus-app 0.6.22 → 0.7.1

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/README.md CHANGED
@@ -7,17 +7,17 @@ npx create-cronus-app my-app --template saas
7
7
  ```
8
8
 
9
9
  That is the gold path: a composed multi-page SaaS product — split login/signup,
10
- sidebar-shell dashboard, analytics, team, billing, and settings — built from
11
- validated registry blocks (the generator's golden rule: pages only import and
12
- stack installed blocks).
10
+ Items and Team in a sidebar shell — built from validated registry blocks (the
11
+ generator's golden rule: pages only import and stack installed blocks). Catalog
12
+ demo pages (analytics, billing, settings) ship as files, not in the nav.
13
13
 
14
14
  You get Next.js 16 (App Router) + React 19 + Tailwind v4 with
15
15
  [`@cronus-ui/ui`](https://www.npmjs.com/package/@cronus-ui/ui), `@cronus-ui/tokens`,
16
16
  and `@cronus-ui/theme` already wired — themeable, accessible components and an
17
17
  anti-flash theme script.
18
18
 
19
- The CLI default remains `--template default` (a single-page starter). Pass
20
- `--template saas` when you want the full product.
19
+ The CLI default is `--template saas` (the gold path). Pass `--template default`
20
+ for the single-page starter.
21
21
 
22
22
  ## Usage
23
23
 
@@ -32,7 +32,7 @@ Interactive runs also prompt for template, theme, mode, and the AI Kit.
32
32
 
33
33
  | Flag | Description |
34
34
  | --- | --- |
35
- | `--template <name>` | Starter template. CLI default: `default`. Bundled: `default`, `dashboard`, `marketing`. Composed: `store`, `landing`, `saas`, plus `landing-*` flavors (studio, ops, secure, care, shop, docs, premium, agents, coverage, broadcast, agency, glass). |
35
+ | `--template <name>` | Starter template. CLI default: `saas`. Bundled: `default`, `dashboard`, `marketing`. Composed: `store`, `landing`, `saas`, plus `landing-*` flavors (studio, ops, secure, care, shop, docs, premium, agents, coverage, broadcast, agency, glass). |
36
36
  | `--theme <aurora\|neutral\|midnight\|sunset\|emerald>` | Theme preset to bake in (default: `aurora`). |
37
37
  | `--mode <dark\|light>` | Default color mode (default: `dark`). |
38
38
  | `--ai` / `--no-ai` | Include or skip the AI Kit (skills, rules & doctrine). |
@@ -59,12 +59,12 @@ saas/store/landing; the Pro pack is additive.
59
59
 
60
60
  | Template | What you get |
61
61
  | --- | --- |
62
- | `default` | Single-page starter — metrics, table & cards. The CLI default (`--yes` without `--template` lands here). |
62
+ | `default` | Single-page starter — metrics, table & cards. Pass `--template default`. |
63
63
  | `dashboard` | Bundled multi-page app — sidebar shell, KPIs, chart, data table, settings. |
64
64
  | `marketing` | Bundled landing site — hero, features, pricing, testimonials, FAQ, waitlist. |
65
65
  | `store` | Composed storefront — 9 navigable pages, real nav, from validated blocks. |
66
66
  | `landing` | Composed marketing page — hero, features, pricing, testimonials, FAQ, CTA. |
67
- | `saas` | Composed SaaS product — split auth + sidebar-shell dashboard, analytics, team, billing, settings. **Recommended for a full product.** |
67
+ | `saas` | Composed SaaS product — split auth, Items, Team. **CLI default. Recommended for a full product.** |
68
68
  | `landing-studio` | Dark AI studio — atmosphere hero, marquee, bento, stats, pricing. Midnight dark. |
69
69
  | `landing-ops` | Workflow product — split hero, logos, features, integrations. |
70
70
  | `landing-secure` | Infra/security — compact hero, metrics, usage pricing, split FAQ. Midnight dark. |
@@ -122,7 +122,7 @@ my-app/
122
122
  │ ├─ layout.tsx # <CronusUIProvider> + anti-flash <CronusThemeScript>
123
123
  │ ├─ (bare)/login # split-variant sign-in
124
124
  │ ├─ (bare)/signup
125
- │ └─ (shell)/ # dashboard (/), analytics, team, billing, settings
125
+ │ └─ (shell)/ # Items (/) and Team in the nav; catalog demo pages off-nav
126
126
  ├─ components/blocks/ # installed registry blocks; pages only stack them
127
127
  ├─ cronus-ui.json # so `npx cronus-ui add` / add-page / compose work here
128
128
  ├─ next.config.mjs
package/dist/utils.js CHANGED
@@ -120,7 +120,7 @@ export const TEMPLATES = [
120
120
  ...LANDING_FLAVORS,
121
121
  ...PRO_APPS,
122
122
  ];
123
- export const DEFAULT_TEMPLATE = "default";
123
+ export const DEFAULT_TEMPLATE = "saas";
124
124
  /**
125
125
  * The template names generated by the Cronus Compose app generator (no bundled
126
126
  * dir): they scaffold the `default` base, then `composeApp()` from the bundled
package/dist/version.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  /** Kept in sync with package.json#version. */
2
- export declare const CREATE_VERSION = "0.6.22";
2
+ export declare const CREATE_VERSION = "0.7.1";
3
3
  //# sourceMappingURL=version.d.ts.map
package/dist/version.js CHANGED
@@ -1,3 +1,3 @@
1
1
  /** Kept in sync with package.json#version. */
2
- export const CREATE_VERSION = "0.6.22";
2
+ export const CREATE_VERSION = "0.7.1";
3
3
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-cronus-app",
3
- "version": "0.6.22",
3
+ "version": "0.7.1",
4
4
  "description": "Scaffold a Next.js + Cronus UI app: npx create-cronus-app my-app --template saas.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -43,8 +43,8 @@
43
43
  "prepublishOnly": "tsc -p tsconfig.json"
44
44
  },
45
45
  "dependencies": {
46
- "@cronus-ui/ai-kit": "0.6.22",
47
- "cronus-ui": "0.6.22"
46
+ "@cronus-ui/ai-kit": "0.7.1",
47
+ "cronus-ui": "0.7.1"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@types/node": "^22.10.0",
@@ -9,7 +9,7 @@
9
9
  "lib": "lib",
10
10
  "blocks": "components/blocks"
11
11
  },
12
- "registry": "https://raw.githubusercontent.com/pedrogbraz/cronus-ui/v0.6.22/registry",
12
+ "registry": "https://raw.githubusercontent.com/pedrogbraz/cronus-ui/v0.7.1/registry",
13
13
  "theme": {
14
14
  "name": "__THEME__",
15
15
  "mode": "__MODE__"
@@ -9,9 +9,9 @@
9
9
  "start": "next start"
10
10
  },
11
11
  "dependencies": {
12
- "@cronus-ui/theme": "^0.6.22",
13
- "@cronus-ui/tokens": "^0.6.22",
14
- "@cronus-ui/ui": "^0.6.22",
12
+ "@cronus-ui/theme": "^0.7.1",
13
+ "@cronus-ui/tokens": "^0.7.1",
14
+ "@cronus-ui/ui": "^0.7.1",
15
15
  "@tanstack/react-table": "^8.21.3",
16
16
  "lucide-react": "^0.577.0",
17
17
  "next": "16.2.10",
@@ -9,7 +9,7 @@
9
9
  "lib": "lib",
10
10
  "blocks": "components/blocks"
11
11
  },
12
- "registry": "https://raw.githubusercontent.com/pedrogbraz/cronus-ui/v0.6.22/registry",
12
+ "registry": "https://raw.githubusercontent.com/pedrogbraz/cronus-ui/v0.7.1/registry",
13
13
  "theme": {
14
14
  "name": "__THEME__",
15
15
  "mode": "__MODE__"
@@ -9,9 +9,9 @@
9
9
  "start": "next start"
10
10
  },
11
11
  "dependencies": {
12
- "@cronus-ui/theme": "^0.6.22",
13
- "@cronus-ui/tokens": "^0.6.22",
14
- "@cronus-ui/ui": "^0.6.22",
12
+ "@cronus-ui/theme": "^0.7.1",
13
+ "@cronus-ui/tokens": "^0.7.1",
14
+ "@cronus-ui/ui": "^0.7.1",
15
15
  "next": "16.2.10",
16
16
  "react": "^19.2.0",
17
17
  "react-dom": "^19.2.0"
@@ -9,7 +9,7 @@
9
9
  "lib": "lib",
10
10
  "blocks": "components/blocks"
11
11
  },
12
- "registry": "https://raw.githubusercontent.com/pedrogbraz/cronus-ui/v0.6.22/registry",
12
+ "registry": "https://raw.githubusercontent.com/pedrogbraz/cronus-ui/v0.7.1/registry",
13
13
  "theme": {
14
14
  "name": "__THEME__",
15
15
  "mode": "__MODE__"
@@ -9,9 +9,9 @@
9
9
  "start": "next start"
10
10
  },
11
11
  "dependencies": {
12
- "@cronus-ui/theme": "^0.6.22",
13
- "@cronus-ui/tokens": "^0.6.22",
14
- "@cronus-ui/ui": "^0.6.22",
12
+ "@cronus-ui/theme": "^0.7.1",
13
+ "@cronus-ui/tokens": "^0.7.1",
14
+ "@cronus-ui/ui": "^0.7.1",
15
15
  "lucide-react": "^0.577.0",
16
16
  "next": "16.2.10",
17
17
  "react": "^19.2.0",