@intelligo-dev/cli 1.0.0-beta.1 → 1.0.0-beta.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/bin.js +45 -19
- package/dist/bin.js.map +1 -1
- package/dist/commands/add.d.ts +1 -0
- package/dist/commands/add.d.ts.map +1 -1
- package/dist/commands/add.js +2 -2
- package/dist/commands/add.js.map +1 -1
- package/dist/commands/doctor.d.ts +14 -0
- package/dist/commands/doctor.d.ts.map +1 -1
- package/dist/commands/doctor.js +75 -19
- package/dist/commands/doctor.js.map +1 -1
- package/dist/commands/migrate.d.ts +97 -0
- package/dist/commands/migrate.d.ts.map +1 -0
- package/dist/commands/migrate.js +124 -0
- package/dist/commands/migrate.js.map +1 -0
- package/dist/commands/upgrade-check.d.ts.map +1 -1
- package/dist/commands/upgrade-check.js +5 -2
- package/dist/commands/upgrade-check.js.map +1 -1
- package/dist/manifest.d.ts +8 -1
- package/dist/manifest.d.ts.map +1 -1
- package/dist/manifest.js +4 -2
- package/dist/manifest.js.map +1 -1
- package/package.json +1 -1
- package/templates/app-scaffold/db-schema.ts.tpl +29 -0
- package/templates/app-scaffold/drizzle.config.ts.tpl +42 -0
- package/templates/app-scaffold/env.example.tpl +11 -0
- package/templates/app-scaffold/intelligo.ts.tpl +18 -3
- package/templates/app-scaffold/package.json.tpl +9 -1
- package/templates/app-scaffold/plans.ts.tpl +9 -1
- package/templates/app-scaffold/stripe-webhook-route.ts.tpl +24 -0
- package/templates/app-scaffold/theme-provider.tsx.tpl +6 -4
- package/templates/maintenance/maintenance-route.ts.tpl +110 -0
- package/templates/manifest.json +26 -4
- package/templates/registry-requires.json +139 -0
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$comment": "Machine-readable requirements of every registry item — what shadcn's schema cannot express. `scaffold`: consumer files `intelligo create` provides that items may import. Per item: `marker` (the file whose presence means the item is installed), `items` (sibling items that ship files this one imports — install them first), `files` (scaffold files it imports), `exports` (names a scaffold file must export), `features` (feature keys the item gates on; register them in lib/plans.ts). tests/architecture/registry.test.ts asserts this file matches the code; CI derives the install order from it; `intelligo doctor` checks an app against it (packages/cli/templates/registry-requires.json is a verified copy).",
|
|
3
|
+
"scaffold": [
|
|
4
|
+
"lib/intelligo",
|
|
5
|
+
"lib/plans",
|
|
6
|
+
"lib/utils",
|
|
7
|
+
"hooks/use-mobile",
|
|
8
|
+
"i18n/routing",
|
|
9
|
+
"i18n/navigation"
|
|
10
|
+
],
|
|
11
|
+
"items": {
|
|
12
|
+
"smoke": {
|
|
13
|
+
"marker": "app/[locale]/registry-smoke/page.tsx"
|
|
14
|
+
},
|
|
15
|
+
"route-error": {
|
|
16
|
+
"marker": "app/[locale]/(app)/error.tsx",
|
|
17
|
+
"files": ["i18n/navigation"]
|
|
18
|
+
},
|
|
19
|
+
"team-settings": {
|
|
20
|
+
"marker": "app/[locale]/(app)/settings/team/page.tsx",
|
|
21
|
+
"items": ["route-error"]
|
|
22
|
+
},
|
|
23
|
+
"usage": {
|
|
24
|
+
"marker": "app/[locale]/(app)/usage/page.tsx",
|
|
25
|
+
"items": ["pricing", "route-error"],
|
|
26
|
+
"files": ["i18n/navigation"]
|
|
27
|
+
},
|
|
28
|
+
"invitation-accept": {
|
|
29
|
+
"marker": "app/[locale]/(app)/accept-invitation/[id]/page.tsx",
|
|
30
|
+
"items": ["team-settings"],
|
|
31
|
+
"files": ["i18n/navigation"]
|
|
32
|
+
},
|
|
33
|
+
"app-shell": {
|
|
34
|
+
"marker": "app/[locale]/(app)/layout.tsx",
|
|
35
|
+
"files": ["i18n/navigation"]
|
|
36
|
+
},
|
|
37
|
+
"settings-shell": {
|
|
38
|
+
"marker": "app/[locale]/(app)/settings/layout.tsx",
|
|
39
|
+
"files": ["i18n/navigation"]
|
|
40
|
+
},
|
|
41
|
+
"workspace-settings": {
|
|
42
|
+
"marker": "app/[locale]/(app)/settings/workspace/page.tsx",
|
|
43
|
+
"items": ["route-error"],
|
|
44
|
+
"files": ["i18n/navigation"]
|
|
45
|
+
},
|
|
46
|
+
"auth-login": {
|
|
47
|
+
"marker": "app/[locale]/(auth)/layout.tsx",
|
|
48
|
+
"items": ["route-error"],
|
|
49
|
+
"files": ["i18n/navigation"]
|
|
50
|
+
},
|
|
51
|
+
"auth-signup": {
|
|
52
|
+
"marker": "app/[locale]/(auth)/signup/page.tsx",
|
|
53
|
+
"items": ["auth-login"],
|
|
54
|
+
"files": ["i18n/navigation"]
|
|
55
|
+
},
|
|
56
|
+
"auth-password-reset": {
|
|
57
|
+
"marker": "app/[locale]/(auth)/forgot-password/page.tsx",
|
|
58
|
+
"items": ["auth-login"],
|
|
59
|
+
"files": ["i18n/navigation"]
|
|
60
|
+
},
|
|
61
|
+
"auth-email-verification": {
|
|
62
|
+
"marker": "app/[locale]/(auth)/verify-email/page.tsx",
|
|
63
|
+
"items": ["auth-login"],
|
|
64
|
+
"files": ["i18n/navigation"]
|
|
65
|
+
},
|
|
66
|
+
"language-switcher": {
|
|
67
|
+
"marker": "components/layout/language-switcher.tsx",
|
|
68
|
+
"files": ["i18n/navigation", "i18n/routing"]
|
|
69
|
+
},
|
|
70
|
+
"trial-banner": {
|
|
71
|
+
"marker": "components/trial/trial-banner-container.tsx",
|
|
72
|
+
"files": ["i18n/navigation"]
|
|
73
|
+
},
|
|
74
|
+
"notifications": {
|
|
75
|
+
"marker": "app/[locale]/(app)/notifications/page.tsx",
|
|
76
|
+
"items": ["route-error"],
|
|
77
|
+
"files": ["i18n/navigation"]
|
|
78
|
+
},
|
|
79
|
+
"pricing": {
|
|
80
|
+
"marker": "app/[locale]/(app)/pricing/page.tsx",
|
|
81
|
+
"files": ["i18n/navigation"]
|
|
82
|
+
},
|
|
83
|
+
"checkout": {
|
|
84
|
+
"marker": "app/[locale]/(app)/checkout/success/page.tsx",
|
|
85
|
+
"files": ["i18n/navigation"]
|
|
86
|
+
},
|
|
87
|
+
"billing-settings": {
|
|
88
|
+
"marker": "app/[locale]/(app)/settings/billing/page.tsx",
|
|
89
|
+
"items": ["pricing", "route-error"],
|
|
90
|
+
"files": ["i18n/navigation"]
|
|
91
|
+
},
|
|
92
|
+
"feature-gating": {
|
|
93
|
+
"marker": "components/billing/feature-gate.tsx",
|
|
94
|
+
"items": ["pricing"],
|
|
95
|
+
"files": ["i18n/navigation", "lib/utils"]
|
|
96
|
+
},
|
|
97
|
+
"payment-poll": {
|
|
98
|
+
"marker": "components/billing/local-payment-modal.tsx",
|
|
99
|
+
"items": ["pricing"]
|
|
100
|
+
},
|
|
101
|
+
"profile-settings": {
|
|
102
|
+
"marker": "app/[locale]/(app)/settings/profile/page.tsx",
|
|
103
|
+
"items": ["route-error"],
|
|
104
|
+
"files": ["i18n/navigation"]
|
|
105
|
+
},
|
|
106
|
+
"onboarding": {
|
|
107
|
+
"marker": "app/[locale]/onboarding/layout.tsx",
|
|
108
|
+
"items": ["route-error"],
|
|
109
|
+
"files": ["i18n/navigation"]
|
|
110
|
+
},
|
|
111
|
+
"dashboard": {
|
|
112
|
+
"marker": "app/[locale]/(app)/dashboard/page.tsx",
|
|
113
|
+
"items": ["pricing", "route-error"],
|
|
114
|
+
"files": ["i18n/navigation"]
|
|
115
|
+
},
|
|
116
|
+
"artifacts": {
|
|
117
|
+
"marker": "app/[locale]/(app)/artifacts/page.tsx",
|
|
118
|
+
"files": ["i18n/navigation"]
|
|
119
|
+
},
|
|
120
|
+
"privacy-settings": {
|
|
121
|
+
"marker": "app/[locale]/(app)/settings/privacy/page.tsx",
|
|
122
|
+
"items": ["route-error"]
|
|
123
|
+
},
|
|
124
|
+
"chat": {
|
|
125
|
+
"marker": "app/[locale]/(app)/chat/page.tsx",
|
|
126
|
+
"items": ["route-error"],
|
|
127
|
+
"files": [
|
|
128
|
+
"i18n/navigation",
|
|
129
|
+
"i18n/routing",
|
|
130
|
+
"lib/intelligo",
|
|
131
|
+
"lib/utils"
|
|
132
|
+
],
|
|
133
|
+
"features": ["chat"],
|
|
134
|
+
"exports": {
|
|
135
|
+
"lib/intelligo": ["composeIntelligo", "executions"]
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|