@donotdev/cli 0.0.29 → 0.0.31

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.
Files changed (37) hide show
  1. package/dependencies-matrix.json +28 -29
  2. package/dist/bin/commands/build.js +17 -12
  3. package/dist/bin/commands/bump.js +422 -185
  4. package/dist/bin/commands/cacheout.js +17 -12
  5. package/dist/bin/commands/coach.js +17 -12
  6. package/dist/bin/commands/create-app.js +17 -12
  7. package/dist/bin/commands/create-project.js +17 -12
  8. package/dist/bin/commands/db.js +17 -12
  9. package/dist/bin/commands/deploy.js +17 -12
  10. package/dist/bin/commands/dev.js +17 -12
  11. package/dist/bin/commands/doctor.js +17 -12
  12. package/dist/bin/commands/emu.js +17 -12
  13. package/dist/bin/commands/format.js +17 -12
  14. package/dist/bin/commands/get-demo.js +17 -12
  15. package/dist/bin/commands/make-admin.js +17 -12
  16. package/dist/bin/commands/preview.js +17 -12
  17. package/dist/bin/commands/seed.js +17 -12
  18. package/dist/bin/commands/setup-cicd.js +17 -12
  19. package/dist/bin/commands/setup.js +17 -12
  20. package/dist/bin/commands/staging.js +17 -12
  21. package/dist/bin/commands/sync-secrets.js +17 -12
  22. package/dist/bin/commands/type-check.js +17 -12
  23. package/dist/bin/commands/wai.js +17 -12
  24. package/dist/bin/dndev.js +1 -1
  25. package/dist/bin/donotdev.js +1 -1
  26. package/dist/index.js +17 -12
  27. package/package.json +1 -1
  28. package/templates/app-next/src/globals.css.example +3 -2
  29. package/templates/overlay-supabase/src/config/providers.expo.ts.example +2 -0
  30. package/templates/overlay-supabase/src/config/providers.ts.example +2 -0
  31. package/templates/root-consumer/.claude/skills/brainstorm/SKILL.md.example +58 -0
  32. package/templates/root-consumer/.claude/skills/build/SKILL.md.example +50 -0
  33. package/templates/root-consumer/.claude/skills/design/SKILL.md.example +46 -0
  34. package/templates/root-consumer/.claude/skills/design/output-template.md +35 -0
  35. package/templates/root-consumer/.claude/skills/grill/SKILL.md.example +70 -0
  36. package/templates/root-consumer/.claude/skills/polish/SKILL.md.example +76 -0
  37. package/templates/root-consumer/.claude/skills/techdebt/SKILL.md.example +46 -0
@@ -2,7 +2,7 @@
2
2
  "$schema": "./dependencies-matrix.schema.json",
3
3
  "version": "0.0.6",
4
4
  "description": "Centralized dependency versions for DoNotDev framework. Single source of truth for all external dependencies. Third-party optional deps are auto-detected from peerDependenciesMeta via scanInstalledPackageOptionals() — no manual constants update needed.",
5
- "lastUpdated": "2026-03-06",
5
+ "lastUpdated": "2026-03-07",
6
6
  "migrationGuides": {
7
7
  "0.0→0.1": {
8
8
  "path": "docs/migration/v0.0-to-v0.1.md",
@@ -17,73 +17,73 @@
17
17
  "@donotdev/auth": {
18
18
  "description": "Authentication package",
19
19
  "packages": {
20
- "@donotdev/auth": "^0.0.19"
20
+ "@donotdev/auth": "^0.0.20"
21
21
  }
22
22
  },
23
23
  "@donotdev/billing": {
24
24
  "description": "Billing package",
25
25
  "packages": {
26
- "@donotdev/billing": "^0.0.16"
26
+ "@donotdev/billing": "^0.0.17"
27
27
  }
28
28
  },
29
29
  "@donotdev/components": {
30
30
  "description": "UI components package",
31
31
  "packages": {
32
- "@donotdev/components": "^0.0.27"
32
+ "@donotdev/components": "^0.0.28"
33
33
  }
34
34
  },
35
35
  "@donotdev/core": {
36
36
  "description": "Core framework package",
37
37
  "packages": {
38
- "@donotdev/core": "^0.0.37"
38
+ "@donotdev/core": "^0.0.39"
39
39
  }
40
40
  },
41
41
  "@donotdev/crud": {
42
42
  "description": "CRUD operations package",
43
43
  "packages": {
44
- "@donotdev/crud": "^0.0.25"
44
+ "@donotdev/crud": "^0.0.27"
45
45
  }
46
46
  },
47
47
  "@donotdev/firebase": {
48
48
  "description": "Firebase provider package",
49
49
  "packages": {
50
- "@donotdev/firebase": "^0.0.21"
50
+ "@donotdev/firebase": "^0.0.22"
51
51
  }
52
52
  },
53
53
  "@donotdev/functions": {
54
54
  "description": "Firebase Functions package",
55
55
  "packages": {
56
- "@donotdev/functions": "^0.0.19"
56
+ "@donotdev/functions": "^0.0.20"
57
57
  }
58
58
  },
59
59
  "@donotdev/oauth": {
60
60
  "description": "OAuth package",
61
61
  "packages": {
62
- "@donotdev/oauth": "^0.0.16"
62
+ "@donotdev/oauth": "^0.0.17"
63
63
  }
64
64
  },
65
65
  "@donotdev/templates": {
66
66
  "description": "Page templates package",
67
67
  "packages": {
68
- "@donotdev/templates": "^0.0.18"
68
+ "@donotdev/templates": "^0.0.19"
69
69
  }
70
70
  },
71
71
  "@donotdev/ui": {
72
72
  "description": "UI and routing package",
73
73
  "packages": {
74
- "@donotdev/ui": "^0.0.24"
74
+ "@donotdev/ui": "^0.0.26"
75
75
  }
76
76
  },
77
77
  "@donotdev/expo": {
78
78
  "description": "Expo/React Native components package",
79
79
  "packages": {
80
- "@donotdev/expo": "^0.0.10"
80
+ "@donotdev/expo": "^0.0.11"
81
81
  }
82
82
  },
83
83
  "@donotdev/supabase": {
84
84
  "description": "Supabase provider package",
85
85
  "packages": {
86
- "@donotdev/supabase": "^0.0.10"
86
+ "@donotdev/supabase": "^0.0.12"
87
87
  }
88
88
  },
89
89
  "supabase-js": {
@@ -240,7 +240,7 @@
240
240
  "marked": "^17.0.3"
241
241
  }
242
242
  },
243
- "routing": {
243
+ "react-router-dom": {
244
244
  "packages": {
245
245
  "react-router-dom": "^7.13.1"
246
246
  }
@@ -424,7 +424,7 @@
424
424
  "@donotdev/cli": {
425
425
  "description": "Cli package",
426
426
  "packages": {
427
- "@donotdev/cli": "^0.0.29"
427
+ "@donotdev/cli": "^0.0.31"
428
428
  }
429
429
  },
430
430
  "@donotdev/mcp-server": {
@@ -456,7 +456,7 @@
456
456
  "@donotdev/security": {
457
457
  "description": "Security package",
458
458
  "packages": {
459
- "@donotdev/security": "^0.0.10"
459
+ "@donotdev/security": "^0.0.11"
460
460
  }
461
461
  },
462
462
  "xterm": {
@@ -510,8 +510,7 @@
510
510
  "react",
511
511
  "zustand",
512
512
  "validation",
513
- "lucide-react",
514
- "monitoring"
513
+ "lucide-react"
515
514
  ],
516
515
  "dependencies": [
517
516
  "i18n",
@@ -552,7 +551,7 @@
552
551
  "@donotdev/billing",
553
552
  "@donotdev/crud",
554
553
  "@donotdev/oauth",
555
- "routing",
554
+ "react-router-dom",
556
555
  "validation"
557
556
  ],
558
557
  "dependencies": [
@@ -573,7 +572,7 @@
573
572
  "@donotdev/oauth": {
574
573
  "optional": true
575
574
  },
576
- "routing": {
575
+ "react-router-dom": {
577
576
  "optional": true
578
577
  }
579
578
  }
@@ -670,9 +669,6 @@
670
669
  "dependencies": [
671
670
  "zustand"
672
671
  ],
673
- "peerDependencies": [
674
- "monitoring"
675
- ],
676
672
  "devDependencies": [
677
673
  "validation",
678
674
  "firebase",
@@ -732,7 +728,6 @@
732
728
  "dependencies": [
733
729
  "@donotdev/components",
734
730
  "@donotdev/core",
735
- "@donotdev/crud",
736
731
  "@donotdev/ui",
737
732
  "forms",
738
733
  "forms-resolvers",
@@ -742,6 +737,7 @@
742
737
  "react",
743
738
  "@donotdev/auth",
744
739
  "@donotdev/billing",
740
+ "@donotdev/crud",
745
741
  "@donotdev/oauth",
746
742
  "validation",
747
743
  "lucide-react"
@@ -753,6 +749,9 @@
753
749
  "@donotdev/billing": {
754
750
  "optional": true
755
751
  },
752
+ "@donotdev/crud": {
753
+ "optional": true
754
+ },
756
755
  "@donotdev/oauth": {
757
756
  "optional": true
758
757
  }
@@ -764,7 +763,7 @@
764
763
  "zustand",
765
764
  "validation",
766
765
  "lucide-react",
767
- "routing",
766
+ "react-router-dom",
768
767
  "firebase",
769
768
  "stripe",
770
769
  "shiki"
@@ -825,7 +824,7 @@
825
824
  "zustand",
826
825
  "validation",
827
826
  "lucide-react",
828
- "routing",
827
+ "react-router-dom",
829
828
  "shiki",
830
829
  "tiptap"
831
830
  ],
@@ -915,7 +914,7 @@
915
914
  "zustand",
916
915
  "validation",
917
916
  "lucide-react",
918
- "routing",
917
+ "react-router-dom",
919
918
  "i18n",
920
919
  "react-query",
921
920
  "shiki",
@@ -1062,7 +1061,7 @@
1062
1061
  "zustand",
1063
1062
  "validation",
1064
1063
  "lucide-react",
1065
- "routing",
1064
+ "react-router-dom",
1066
1065
  "i18n",
1067
1066
  "react-query",
1068
1067
  "styling",
@@ -1092,7 +1091,7 @@
1092
1091
  "react",
1093
1092
  "zustand",
1094
1093
  "lucide-react",
1095
- "routing"
1094
+ "react-router-dom"
1096
1095
  ],
1097
1096
  "devDependencies": [
1098
1097
  "react-query",
@@ -6756,7 +6756,7 @@ import {
6756
6756
  sep,
6757
6757
  extname
6758
6758
  } from "node:path";
6759
- import { fileURLToPath } from "node:url";
6759
+ import "node:url";
6760
6760
  function safeExecuteAsync(fn, message) {
6761
6761
  return fn().catch((error2) => {
6762
6762
  throw new Error(
@@ -7683,19 +7683,24 @@ var init_PathResolver = __esm({
7683
7683
  return resolved;
7684
7684
  }
7685
7685
  /**
7686
- * Get path to empty.js module for optional dependency aliasing
7687
- * Used by Vite and Turbopack to alias missing optional deps
7688
- * @param returnPackageSpecifier - If true, returns package specifier '@donotdev/core/empty' for Turbopack. If false, returns absolute path for Vite.
7689
- * @returns Package specifier or absolute path to empty.js
7686
+ * Get absolute path to empty ESM module for optional dependency aliasing.
7687
+ * Used by Vite resolveId — served directly to the browser in dev mode.
7688
+ * Note: resolvePackage uses require.resolve (CJS) which picks the "default"
7689
+ * condition (.cjs), so we derive the ESM path from it.
7690
7690
  */
7691
- getEmptyModulePath(returnPackageSpecifier = false) {
7692
- if (returnPackageSpecifier) {
7693
- return "@donotdev/core/empty";
7694
- }
7691
+ getEmptyModulePath() {
7692
+ const cjsPath = this.getEmptyCjsModulePath();
7693
+ return cjsPath.replace(/\.cjs$/, ".js");
7694
+ }
7695
+ /**
7696
+ * Get absolute path to empty CJS module for esbuild pre-bundling.
7697
+ * CJS because esbuild statically analyzes ESM exports — CJS has dynamic
7698
+ * exports, so any named import resolves.
7699
+ */
7700
+ getEmptyCjsModulePath() {
7695
7701
  const resolved = this.resolvePackage("@donotdev/core/empty");
7696
- if (resolved) return resolved;
7697
- const thisDir = dirname(fileURLToPath(import.meta.url));
7698
- return this.normalizePath(join(thisDir, "../empty.js"));
7702
+ if (!resolved) throw new Error("Cannot resolve @donotdev/core/empty \u2014 package setup is broken");
7703
+ return resolved;
7699
7704
  }
7700
7705
  // === PRIVATE METHODS ===
7701
7706
  /**