@donotdev/cli 0.0.37 → 0.1.0
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/LICENSE.md +21 -48
- package/dependencies-matrix.json +24 -24
- package/dist/bin/commands/agent-setup.js +6963 -123
- package/dist/bin/commands/build.js +4 -1
- package/dist/bin/commands/bump.js +23 -12
- package/dist/bin/commands/cacheout.js +17 -1
- package/dist/bin/commands/coach.js +4 -1
- package/dist/bin/commands/create-app.js +16 -2
- package/dist/bin/commands/create-project.js +17 -3
- package/dist/bin/commands/db.js +1708 -98
- package/dist/bin/commands/deploy.js +142 -96
- package/dist/bin/commands/dev.js +6 -5
- package/dist/bin/commands/doctor.js +4 -1
- package/dist/bin/commands/emu.js +6 -5
- package/dist/bin/commands/format.js +5 -3
- package/dist/bin/commands/get-demo.js +16 -2
- package/dist/bin/commands/make-admin.js +1717 -87
- package/dist/bin/commands/preview.js +6 -5
- package/dist/bin/commands/seed.js +1708 -98
- package/dist/bin/commands/setup-cicd.js +4 -1
- package/dist/bin/commands/setup.js +21 -18
- package/dist/bin/commands/staging.js +142 -96
- package/dist/bin/commands/sync-secrets.js +4 -1
- package/dist/bin/commands/type-check.js +4 -1
- package/dist/bin/commands/wai.js +4 -1
- package/dist/bin/dndev.js +21 -1
- package/dist/bin/donotdev.js +21 -1
- package/dist/index.js +170 -105
- package/package.json +2 -2
- package/templates/functions-supabase/supabase/functions/.env.example +12 -0
- package/templates/functions-supabase/supabase/functions/disconnect-oauth/index.ts.example +7 -0
- package/templates/functions-supabase/supabase/functions/exchange-token/index.ts.example +7 -0
- package/templates/functions-supabase/supabase/functions/get-connections/index.ts.example +7 -0
- package/templates/functions-supabase/supabase/functions/refresh-token/index.ts.example +7 -0
- package/templates/preset-admin/src/pages/DashboardPage.tsx.example +189 -0
- package/templates/preset-admin/src/pages/EntityPage.tsx.example +84 -0
- package/templates/preset-admin/src/pages/ReportsPage.tsx.example +243 -0
- package/templates/preset-admin/src/pages/SettingsPage.tsx.example +283 -0
- package/templates/preset-admin/src/pages/UsersPage.tsx.example +128 -0
- package/templates/preset-ecommerce/src/pages/CartPage.tsx.example +167 -0
- package/templates/preset-ecommerce/src/pages/CatalogPage.tsx.example +187 -0
- package/templates/preset-ecommerce/src/pages/CheckoutPage.tsx.example +244 -0
- package/templates/preset-ecommerce/src/pages/HomePage.tsx.example +268 -0
- package/templates/preset-ecommerce/src/pages/ProductPage.tsx.example +228 -0
- package/templates/preset-landing/src/pages/AboutPage.tsx.example +237 -0
- package/templates/preset-landing/src/pages/ContactPage.tsx.example +192 -0
- package/templates/preset-landing/src/pages/HomePage.tsx.example +399 -0
- package/templates/preset-saas/src/pages/DashboardPage.tsx.example +195 -0
- package/templates/preset-saas/src/pages/HomePage.tsx.example +270 -0
- package/templates/preset-saas/src/pages/PricingPage.tsx.example +204 -0
- package/templates/preset-saas/src/pages/ProfilePage.tsx.example +191 -0
- package/templates/preset-saas/src/pages/SettingsPage.tsx.example +292 -0
- package/templates/root-consumer/.claude/commands/brainstorm.md.example +28 -0
- package/templates/root-consumer/.claude/commands/design.md.example +31 -0
- package/templates/root-consumer/.claude/commands/grill.md.example +33 -6
- package/templates/root-consumer/.claude/skills/brainstorm/SKILL.md.example +16 -0
- package/templates/root-consumer/.claude/skills/design/SKILL.md.example +17 -0
- package/templates/root-consumer/.claude/skills/grill/SKILL.md.example +11 -5
- package/templates/root-consumer/guides/dndev/SETUP_OAUTH.md.example +2 -1
|
@@ -7552,7 +7552,10 @@ var init_PathResolver = __esm({
|
|
|
7552
7552
|
*/
|
|
7553
7553
|
getEmptyCjsModulePath() {
|
|
7554
7554
|
const resolved = this.resolvePackage("@donotdev/core/empty");
|
|
7555
|
-
if (!resolved)
|
|
7555
|
+
if (!resolved)
|
|
7556
|
+
throw new Error(
|
|
7557
|
+
"Cannot resolve @donotdev/core/empty \u2014 package setup is broken"
|
|
7558
|
+
);
|
|
7556
7559
|
return resolved;
|
|
7557
7560
|
}
|
|
7558
7561
|
// === PRIVATE METHODS ===
|
|
@@ -8024,7 +8027,18 @@ function loadMatrix(mode) {
|
|
|
8024
8027
|
return cachedMatrix;
|
|
8025
8028
|
}
|
|
8026
8029
|
function resolveGroup(groupName, matrix) {
|
|
8027
|
-
|
|
8030
|
+
const group = matrix.groups[groupName];
|
|
8031
|
+
if (!group) return {};
|
|
8032
|
+
const result = {};
|
|
8033
|
+
if (group.includes) {
|
|
8034
|
+
for (const included of group.includes) {
|
|
8035
|
+
Object.assign(result, resolveGroup(included, matrix));
|
|
8036
|
+
}
|
|
8037
|
+
}
|
|
8038
|
+
if (group.packages) {
|
|
8039
|
+
Object.assign(result, group.packages);
|
|
8040
|
+
}
|
|
8041
|
+
return result;
|
|
8028
8042
|
}
|
|
8029
8043
|
function resolveGroups(groupNames, matrix) {
|
|
8030
8044
|
const result = {};
|