@donotdev/cli 0.0.36 → 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.
Files changed (64) hide show
  1. package/LICENSE.md +21 -48
  2. package/dependencies-matrix.json +24 -24
  3. package/dist/bin/commands/agent-setup.js +6965 -125
  4. package/dist/bin/commands/build.js +6 -3
  5. package/dist/bin/commands/bump.js +35 -15
  6. package/dist/bin/commands/cacheout.js +19 -3
  7. package/dist/bin/commands/coach.js +6 -3
  8. package/dist/bin/commands/create-app.js +18 -4
  9. package/dist/bin/commands/create-project.js +19 -5
  10. package/dist/bin/commands/db.js +1700 -3786
  11. package/dist/bin/commands/deploy.js +144 -98
  12. package/dist/bin/commands/dev.js +8 -7
  13. package/dist/bin/commands/doctor.js +6 -3
  14. package/dist/bin/commands/emu.js +8 -7
  15. package/dist/bin/commands/format.js +7 -5
  16. package/dist/bin/commands/get-demo.js +18 -4
  17. package/dist/bin/commands/make-admin.js +1809 -179
  18. package/dist/bin/commands/preview.js +8 -7
  19. package/dist/bin/commands/seed.js +1700 -3786
  20. package/dist/bin/commands/setup-cicd.js +6 -3
  21. package/dist/bin/commands/setup.js +23 -20
  22. package/dist/bin/commands/staging.js +144 -98
  23. package/dist/bin/commands/sync-secrets.js +6 -3
  24. package/dist/bin/commands/type-check.js +6 -3
  25. package/dist/bin/commands/wai.js +6 -3
  26. package/dist/bin/dndev.js +21 -1
  27. package/dist/bin/donotdev.js +21 -1
  28. package/dist/index.js +172 -107
  29. package/package.json +2 -2
  30. package/templates/app-next/src/locales/home_en.json.example +6 -6
  31. package/templates/app-vite/src/locales/home_en.json.example +6 -6
  32. package/templates/functions-supabase/supabase/functions/.env.example +12 -0
  33. package/templates/functions-supabase/supabase/functions/disconnect-oauth/index.ts.example +7 -0
  34. package/templates/functions-supabase/supabase/functions/exchange-token/index.ts.example +7 -0
  35. package/templates/functions-supabase/supabase/functions/get-connections/index.ts.example +7 -0
  36. package/templates/functions-supabase/supabase/functions/refresh-token/index.ts.example +7 -0
  37. package/templates/preset-admin/src/pages/DashboardPage.tsx.example +189 -0
  38. package/templates/preset-admin/src/pages/EntityPage.tsx.example +84 -0
  39. package/templates/preset-admin/src/pages/ReportsPage.tsx.example +243 -0
  40. package/templates/preset-admin/src/pages/SettingsPage.tsx.example +283 -0
  41. package/templates/preset-admin/src/pages/UsersPage.tsx.example +128 -0
  42. package/templates/preset-ecommerce/src/pages/CartPage.tsx.example +167 -0
  43. package/templates/preset-ecommerce/src/pages/CatalogPage.tsx.example +187 -0
  44. package/templates/preset-ecommerce/src/pages/CheckoutPage.tsx.example +244 -0
  45. package/templates/preset-ecommerce/src/pages/HomePage.tsx.example +268 -0
  46. package/templates/preset-ecommerce/src/pages/ProductPage.tsx.example +228 -0
  47. package/templates/preset-landing/src/pages/AboutPage.tsx.example +237 -0
  48. package/templates/preset-landing/src/pages/ContactPage.tsx.example +192 -0
  49. package/templates/preset-landing/src/pages/HomePage.tsx.example +399 -0
  50. package/templates/preset-saas/src/pages/DashboardPage.tsx.example +195 -0
  51. package/templates/preset-saas/src/pages/HomePage.tsx.example +270 -0
  52. package/templates/preset-saas/src/pages/PricingPage.tsx.example +204 -0
  53. package/templates/preset-saas/src/pages/ProfilePage.tsx.example +191 -0
  54. package/templates/preset-saas/src/pages/SettingsPage.tsx.example +292 -0
  55. package/templates/root-consumer/.claude/commands/brainstorm.md.example +28 -0
  56. package/templates/root-consumer/.claude/commands/design.md.example +31 -0
  57. package/templates/root-consumer/.claude/commands/grill.md.example +33 -6
  58. package/templates/root-consumer/.claude/skills/brainstorm/SKILL.md.example +16 -0
  59. package/templates/root-consumer/.claude/skills/build/SKILL.md.example +50 -0
  60. package/templates/root-consumer/.claude/skills/design/SKILL.md.example +17 -0
  61. package/templates/root-consumer/.claude/skills/grill/SKILL.md.example +11 -5
  62. package/templates/root-consumer/guides/dndev/SETUP_OAUTH.md.example +2 -1
  63. package/templates/root-consumer/guides/dndev/advanced/COOKIE_REFERENCE.md.example +252 -252
  64. package/templates/root-consumer/guides/dndev/advanced/VERSION_CONTROL.md.example +174 -174
package/LICENSE.md CHANGED
@@ -1,48 +1,21 @@
1
- # DoNotDev Free License
2
-
3
- Copyright (c) 2025 Ambroise Park Consulting. All rights reserved.
4
-
5
- **Permissive Use License - No Commercial Restrictions**
6
-
7
- ---
8
-
9
- ## LICENSE GRANT
10
-
11
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), specifically the @donotdev/cli package, to download, install, and use the Software in your applications for any purpose, including commercial use, subject to the following restrictions:
12
-
13
- ## WHAT YOU CAN DO
14
-
15
- ✅ Download and install @donotdev/cli
16
- ✅ Use @donotdev/cli in your applications (commercial or non-commercial)
17
- ✅ Integrate @donotdev/cli into your projects
18
-
19
- ## WHAT YOU CANNOT DO
20
-
21
- ❌ Fork, copy, or redistribute @donotdev/cli as a standalone package
22
- ❌ Resell or sublicense @donotdev/cli
23
- ❌ Remove or alter copyright notices
24
- ❌ Claim ownership of @donotdev/cli
25
- ❌ Create derivative works that compete with or replace @donotdev/cli
26
-
27
- ## WARRANTY DISCLAIMER
28
-
29
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
30
-
31
- ## LIMITATION OF LIABILITY
32
-
33
- IN NO EVENT SHALL AMBROISE PARK CONSULTING BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
34
-
35
- ## NO SUPPORT OBLIGATION
36
-
37
- The licensor has no obligation to provide support, updates, or maintenance for @donotdev/cli. Any support provided is at the sole discretion of the licensor and may be discontinued at any time without notice.
38
-
39
- ## CONTACT
40
-
41
- For questions about this license:
42
- **mooti.web.app@gmail.com**
43
-
44
- ---
45
-
46
- **DoNotDev Free License v1.0**
47
- Ambroise Park Consulting - 2025
48
-
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Ambroise Park Consulting
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -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-10",
5
+ "lastUpdated": "2026-03-13",
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.21"
20
+ "@donotdev/auth": "^0.1.0"
21
21
  }
22
22
  },
23
23
  "@donotdev/billing": {
24
24
  "description": "Billing package",
25
25
  "packages": {
26
- "@donotdev/billing": "^0.0.17"
26
+ "@donotdev/billing": "^0.1.0"
27
27
  }
28
28
  },
29
29
  "@donotdev/components": {
30
30
  "description": "UI components package",
31
31
  "packages": {
32
- "@donotdev/components": "^0.0.31"
32
+ "@donotdev/components": "^0.1.0"
33
33
  }
34
34
  },
35
35
  "@donotdev/core": {
36
36
  "description": "Core framework package",
37
37
  "packages": {
38
- "@donotdev/core": "^0.0.43"
38
+ "@donotdev/core": "^0.1.0"
39
39
  }
40
40
  },
41
41
  "@donotdev/crud": {
42
42
  "description": "CRUD operations package",
43
43
  "packages": {
44
- "@donotdev/crud": "^0.0.29"
44
+ "@donotdev/crud": "^0.1.0"
45
45
  }
46
46
  },
47
47
  "@donotdev/firebase": {
48
48
  "description": "Firebase provider package",
49
49
  "packages": {
50
- "@donotdev/firebase": "^0.0.22"
50
+ "@donotdev/firebase": "^0.1.0"
51
51
  }
52
52
  },
53
53
  "@donotdev/functions": {
54
54
  "description": "Firebase Functions package",
55
55
  "packages": {
56
- "@donotdev/functions": "^0.0.20"
56
+ "@donotdev/functions": "^0.1.0"
57
57
  }
58
58
  },
59
59
  "@donotdev/oauth": {
60
60
  "description": "OAuth package",
61
61
  "packages": {
62
- "@donotdev/oauth": "^0.0.17"
62
+ "@donotdev/oauth": "^0.1.0"
63
63
  }
64
64
  },
65
65
  "@donotdev/templates": {
66
66
  "description": "Page templates package",
67
67
  "packages": {
68
- "@donotdev/templates": "^0.0.20"
68
+ "@donotdev/templates": "^0.1.0"
69
69
  }
70
70
  },
71
71
  "@donotdev/ui": {
72
72
  "description": "UI and routing package",
73
73
  "packages": {
74
- "@donotdev/ui": "^0.0.29"
74
+ "@donotdev/ui": "^0.1.0"
75
75
  }
76
76
  },
77
77
  "@donotdev/expo": {
78
78
  "description": "Expo/React Native components package",
79
79
  "packages": {
80
- "@donotdev/expo": "^0.0.12"
80
+ "@donotdev/expo": "^0.1.0"
81
81
  }
82
82
  },
83
83
  "@donotdev/supabase": {
84
84
  "description": "Supabase provider package",
85
85
  "packages": {
86
- "@donotdev/supabase": "^0.0.12"
86
+ "@donotdev/supabase": "^0.1.0"
87
87
  }
88
88
  },
89
89
  "supabase-js": {
@@ -100,17 +100,17 @@
100
100
  },
101
101
  "provider-firebase": {
102
102
  "description": "Firebase provider bundle for app scaffolding (conditional)",
103
- "packages": {
104
- "@donotdev/firebase": "^0.0.10",
105
- "firebase": "^12.9.0"
106
- }
103
+ "includes": [
104
+ "@donotdev/firebase",
105
+ "firebase"
106
+ ]
107
107
  },
108
108
  "provider-supabase": {
109
109
  "description": "Supabase provider bundle for app scaffolding (conditional)",
110
- "packages": {
111
- "@donotdev/supabase": "^0.0.1",
112
- "@supabase/supabase-js": "^2.76.14"
113
- }
110
+ "includes": [
111
+ "@donotdev/supabase",
112
+ "supabase-js"
113
+ ]
114
114
  },
115
115
  "react": {
116
116
  "description": "Core React - consumers install explicitly",
@@ -423,13 +423,13 @@
423
423
  "@donotdev/cli": {
424
424
  "description": "Cli package",
425
425
  "packages": {
426
- "@donotdev/cli": "^0.0.36"
426
+ "@donotdev/cli": "^0.1.0"
427
427
  }
428
428
  },
429
429
  "@donotdev/mcp-server": {
430
430
  "description": "MCP server for component type lookups",
431
431
  "packages": {
432
- "@donotdev/mcp-server": "^0.0.15"
432
+ "@donotdev/mcp-server": "^0.1.0"
433
433
  }
434
434
  },
435
435
  "mcp-sdk": {
@@ -455,7 +455,7 @@
455
455
  "@donotdev/security": {
456
456
  "description": "Security package",
457
457
  "packages": {
458
- "@donotdev/security": "^0.0.11"
458
+ "@donotdev/security": "^0.1.0"
459
459
  }
460
460
  },
461
461
  "xterm": {