create-cronus-app 0.6.0 → 0.6.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/dist/utils.d.ts +3 -1
- package/dist/utils.js +8 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/templates/dashboard/cronus-ui.json +1 -1
- package/templates/dashboard/package.json +3 -3
- package/templates/default/cronus-ui.json +1 -1
- package/templates/default/package.json +3 -3
- package/templates/marketing/cronus-ui.json +1 -1
- package/templates/marketing/package.json +3 -3
package/dist/utils.d.ts
CHANGED
|
@@ -45,7 +45,7 @@ export type LandingFlavor = (typeof LANDING_FLAVORS)[number];
|
|
|
45
45
|
*/
|
|
46
46
|
export declare const PRO_APPS: readonly ["mail", "chat", "finance"];
|
|
47
47
|
export type ProApp = (typeof PRO_APPS)[number];
|
|
48
|
-
export declare const TEMPLATES: readonly ["default", "dashboard", "marketing", "store", "landing", "saas", "landing-studio", "landing-ops", "landing-secure", "landing-care", "landing-shop", "landing-docs", "landing-premium", "landing-agents", "landing-coverage", "landing-broadcast", "landing-agency", "landing-glass", "mail", "chat", "finance"];
|
|
48
|
+
export declare const TEMPLATES: readonly ["default", "dashboard", "marketing", "store", "landing", "saas", "admin", "docs", "landing-studio", "landing-ops", "landing-secure", "landing-care", "landing-shop", "landing-docs", "landing-premium", "landing-agents", "landing-coverage", "landing-broadcast", "landing-agency", "landing-glass", "mail", "chat", "finance"];
|
|
49
49
|
export type TemplateName = (typeof TEMPLATES)[number];
|
|
50
50
|
export declare const DEFAULT_TEMPLATE: TemplateName;
|
|
51
51
|
/**
|
|
@@ -58,6 +58,8 @@ export declare const COMPOSED_TEMPLATES: {
|
|
|
58
58
|
readonly store: "store";
|
|
59
59
|
readonly landing: "landing";
|
|
60
60
|
readonly saas: "saas";
|
|
61
|
+
readonly admin: "admin";
|
|
62
|
+
readonly docs: "docs";
|
|
61
63
|
readonly "landing-studio": "landing-studio";
|
|
62
64
|
readonly "landing-ops": "landing-ops";
|
|
63
65
|
readonly "landing-secure": "landing-secure";
|
package/dist/utils.js
CHANGED
|
@@ -108,6 +108,8 @@ export const TEMPLATES = [
|
|
|
108
108
|
"store",
|
|
109
109
|
"landing",
|
|
110
110
|
"saas",
|
|
111
|
+
"admin",
|
|
112
|
+
"docs",
|
|
111
113
|
...LANDING_FLAVORS,
|
|
112
114
|
...PRO_APPS,
|
|
113
115
|
];
|
|
@@ -122,6 +124,8 @@ export const COMPOSED_TEMPLATES = {
|
|
|
122
124
|
store: "store",
|
|
123
125
|
landing: "landing",
|
|
124
126
|
saas: "saas",
|
|
127
|
+
admin: "admin",
|
|
128
|
+
docs: "docs",
|
|
125
129
|
"landing-studio": "landing-studio",
|
|
126
130
|
"landing-ops": "landing-ops",
|
|
127
131
|
"landing-secure": "landing-secure",
|
|
@@ -158,6 +162,8 @@ export const TEMPLATE_HINTS = {
|
|
|
158
162
|
store: "generated storefront — 9 navigable pages, real nav, from validated blocks",
|
|
159
163
|
landing: "generated landing page — hero, features, pricing, testimonials, FAQ, CTA",
|
|
160
164
|
saas: "recommended for a full product — split auth + shell dashboard, team, billing, settings",
|
|
165
|
+
admin: "admin console — split login + shell, overview, users, analytics, board, audit (midnight dark)",
|
|
166
|
+
docs: "docs site — changelog, guides, article, FAQ, about — not a marketing landing (neutral light)",
|
|
161
167
|
"landing-studio": "dark AI studio landing — atmosphere hero, marquee, bento, stats, pricing",
|
|
162
168
|
"landing-ops": "ops/workflow landing — split hero, logos, features, integrations",
|
|
163
169
|
"landing-secure": "security/infra landing — compact hero, metrics, usage pricing, split FAQ",
|
|
@@ -205,6 +211,8 @@ export const TEMPLATE_APPEARANCE = {
|
|
|
205
211
|
mail: { theme: "midnight", mode: "dark" },
|
|
206
212
|
chat: { theme: "aurora", mode: "dark" },
|
|
207
213
|
finance: { theme: "emerald", mode: "light" },
|
|
214
|
+
admin: { theme: "midnight", mode: "dark" },
|
|
215
|
+
docs: { theme: "neutral", mode: "light" },
|
|
208
216
|
};
|
|
209
217
|
/**
|
|
210
218
|
* A single-select TTY prompt: prints a numbered list and returns the option the
|
package/dist/version.d.ts
CHANGED
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-cronus-app",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.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.
|
|
47
|
-
"cronus-ui": "0.6.
|
|
46
|
+
"@cronus-ui/ai-kit": "0.6.1",
|
|
47
|
+
"cronus-ui": "0.6.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.
|
|
12
|
+
"registry": "https://raw.githubusercontent.com/pedrogbraz/cronus-ui/v0.6.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.
|
|
13
|
-
"@cronus-ui/tokens": "^0.6.
|
|
14
|
-
"@cronus-ui/ui": "^0.6.
|
|
12
|
+
"@cronus-ui/theme": "^0.6.1",
|
|
13
|
+
"@cronus-ui/tokens": "^0.6.1",
|
|
14
|
+
"@cronus-ui/ui": "^0.6.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.
|
|
12
|
+
"registry": "https://raw.githubusercontent.com/pedrogbraz/cronus-ui/v0.6.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.
|
|
13
|
-
"@cronus-ui/tokens": "^0.6.
|
|
14
|
-
"@cronus-ui/ui": "^0.6.
|
|
12
|
+
"@cronus-ui/theme": "^0.6.1",
|
|
13
|
+
"@cronus-ui/tokens": "^0.6.1",
|
|
14
|
+
"@cronus-ui/ui": "^0.6.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.
|
|
12
|
+
"registry": "https://raw.githubusercontent.com/pedrogbraz/cronus-ui/v0.6.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.
|
|
13
|
-
"@cronus-ui/tokens": "^0.6.
|
|
14
|
-
"@cronus-ui/ui": "^0.6.
|
|
12
|
+
"@cronus-ui/theme": "^0.6.1",
|
|
13
|
+
"@cronus-ui/tokens": "^0.6.1",
|
|
14
|
+
"@cronus-ui/ui": "^0.6.1",
|
|
15
15
|
"lucide-react": "^0.577.0",
|
|
16
16
|
"next": "16.2.10",
|
|
17
17
|
"react": "^19.2.0",
|