@donotdev/cli 0.0.30 → 0.0.32
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/dependencies-matrix.json +14 -18
- package/dist/bin/commands/agent-setup.js +2 -2
- package/dist/bin/commands/build.js +19 -14
- package/dist/bin/commands/bump.js +424 -187
- package/dist/bin/commands/cacheout.js +19 -14
- package/dist/bin/commands/coach.js +19 -14
- package/dist/bin/commands/create-app.js +19 -14
- package/dist/bin/commands/create-project.js +19 -14
- package/dist/bin/commands/db.js +20 -3711
- package/dist/bin/commands/deploy.js +19 -14
- package/dist/bin/commands/dev.js +19 -14
- package/dist/bin/commands/doctor.js +19 -14
- package/dist/bin/commands/emu.js +19 -14
- package/dist/bin/commands/format.js +19 -14
- package/dist/bin/commands/get-demo.js +19 -14
- package/dist/bin/commands/make-admin.js +19 -14
- package/dist/bin/commands/preview.js +19 -14
- package/dist/bin/commands/seed.js +20 -3711
- package/dist/bin/commands/setup-cicd.js +19 -14
- package/dist/bin/commands/setup.js +19 -14
- package/dist/bin/commands/staging.js +19 -14
- package/dist/bin/commands/sync-secrets.js +19 -14
- package/dist/bin/commands/type-check.js +19 -14
- package/dist/bin/commands/wai.js +19 -14
- package/dist/bin/dndev.js +1 -1
- package/dist/bin/donotdev.js +1 -1
- package/dist/index.js +19 -14
- package/package.json +1 -1
- package/templates/app-next/src/globals.css.example +3 -2
- package/templates/app-next/src/pages/HomePage.tsx.example +1 -1
- package/templates/app-vite/src/pages/HomePage.tsx.example +1 -1
- package/templates/root-consumer/guides/dndev/COMPONENTS_ATOMIC.md.example +3 -3
- package/templates/root-consumer/guides/dndev/COMPONENTS_UI.md.example +1 -6
- package/templates/root-consumer/guides/wai-way/page_patterns.md.example +70 -34
- package/templates/app-demo/stats.html.example +0 -4949
package/dependencies-matrix.json
CHANGED
|
@@ -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-
|
|
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",
|
|
@@ -35,13 +35,13 @@
|
|
|
35
35
|
"@donotdev/core": {
|
|
36
36
|
"description": "Core framework package",
|
|
37
37
|
"packages": {
|
|
38
|
-
"@donotdev/core": "^0.0.
|
|
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.
|
|
44
|
+
"@donotdev/crud": "^0.0.27"
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
47
|
"@donotdev/firebase": {
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"@donotdev/ui": {
|
|
72
72
|
"description": "UI and routing package",
|
|
73
73
|
"packages": {
|
|
74
|
-
"@donotdev/ui": "^0.0.
|
|
74
|
+
"@donotdev/ui": "^0.0.26"
|
|
75
75
|
}
|
|
76
76
|
},
|
|
77
77
|
"@donotdev/expo": {
|
|
@@ -240,7 +240,7 @@
|
|
|
240
240
|
"marked": "^17.0.3"
|
|
241
241
|
}
|
|
242
242
|
},
|
|
243
|
-
"
|
|
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.
|
|
427
|
+
"@donotdev/cli": "^0.0.31"
|
|
428
428
|
}
|
|
429
429
|
},
|
|
430
430
|
"@donotdev/mcp-server": {
|
|
@@ -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
|
-
"
|
|
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
|
-
"
|
|
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",
|
|
@@ -767,7 +763,7 @@
|
|
|
767
763
|
"zustand",
|
|
768
764
|
"validation",
|
|
769
765
|
"lucide-react",
|
|
770
|
-
"
|
|
766
|
+
"react-router-dom",
|
|
771
767
|
"firebase",
|
|
772
768
|
"stripe",
|
|
773
769
|
"shiki"
|
|
@@ -828,7 +824,7 @@
|
|
|
828
824
|
"zustand",
|
|
829
825
|
"validation",
|
|
830
826
|
"lucide-react",
|
|
831
|
-
"
|
|
827
|
+
"react-router-dom",
|
|
832
828
|
"shiki",
|
|
833
829
|
"tiptap"
|
|
834
830
|
],
|
|
@@ -918,7 +914,7 @@
|
|
|
918
914
|
"zustand",
|
|
919
915
|
"validation",
|
|
920
916
|
"lucide-react",
|
|
921
|
-
"
|
|
917
|
+
"react-router-dom",
|
|
922
918
|
"i18n",
|
|
923
919
|
"react-query",
|
|
924
920
|
"shiki",
|
|
@@ -1065,7 +1061,7 @@
|
|
|
1065
1061
|
"zustand",
|
|
1066
1062
|
"validation",
|
|
1067
1063
|
"lucide-react",
|
|
1068
|
-
"
|
|
1064
|
+
"react-router-dom",
|
|
1069
1065
|
"i18n",
|
|
1070
1066
|
"react-query",
|
|
1071
1067
|
"styling",
|
|
@@ -1095,7 +1091,7 @@
|
|
|
1095
1091
|
"react",
|
|
1096
1092
|
"zustand",
|
|
1097
1093
|
"lucide-react",
|
|
1098
|
-
"
|
|
1094
|
+
"react-router-dom"
|
|
1099
1095
|
],
|
|
1100
1096
|
"devDependencies": [
|
|
1101
1097
|
"react-query",
|
|
@@ -157,7 +157,7 @@ var require_picocolors = __commonJS({
|
|
|
157
157
|
}
|
|
158
158
|
});
|
|
159
159
|
|
|
160
|
-
// node_modules/.bun/@clack+
|
|
160
|
+
// node_modules/.bun/@clack+core@0.5.0/node_modules/@clack/core/dist/index.mjs
|
|
161
161
|
import { stdin as j, stdout as M } from "node:process";
|
|
162
162
|
import { Writable as X } from "node:stream";
|
|
163
163
|
function DD({ onlyFirst: e2 = false } = {}) {
|
|
@@ -198,7 +198,7 @@ function rD() {
|
|
|
198
198
|
}
|
|
199
199
|
var import_sisteransi, uD, W, tD, eD, FD, sD, w, N, I, R, r, iD, CD, ED, nD, _, xD, B, AD, A;
|
|
200
200
|
var init_dist = __esm({
|
|
201
|
-
"node_modules/.bun/@clack+
|
|
201
|
+
"node_modules/.bun/@clack+core@0.5.0/node_modules/@clack/core/dist/index.mjs"() {
|
|
202
202
|
init_utils();
|
|
203
203
|
import_sisteransi = __toESM(require_src(), 1);
|
|
204
204
|
uD = DD();
|
|
@@ -163,7 +163,7 @@ var require_picocolors = __commonJS({
|
|
|
163
163
|
}
|
|
164
164
|
});
|
|
165
165
|
|
|
166
|
-
// node_modules/.bun/@clack+
|
|
166
|
+
// node_modules/.bun/@clack+core@0.5.0/node_modules/@clack/core/dist/index.mjs
|
|
167
167
|
import { stdin as j, stdout as M } from "node:process";
|
|
168
168
|
import * as g from "node:readline";
|
|
169
169
|
import O from "node:readline";
|
|
@@ -279,7 +279,7 @@ function fD({ input: e2 = j, output: u2 = M, overwrite: t = true, hideCursor: F2
|
|
|
279
279
|
}
|
|
280
280
|
var import_sisteransi, uD, W, tD, eD, FD, sD, w, N, I, R, r, iD, CD, ED, d, oD, y, V, nD, G, _, z, K, aD, k, hD, lD, xD, B, AD, S, gD, vD, h, x, A, OD, PD, J, LD;
|
|
281
281
|
var init_dist = __esm({
|
|
282
|
-
"node_modules/.bun/@clack+
|
|
282
|
+
"node_modules/.bun/@clack+core@0.5.0/node_modules/@clack/core/dist/index.mjs"() {
|
|
283
283
|
init_utils();
|
|
284
284
|
import_sisteransi = __toESM(require_src(), 1);
|
|
285
285
|
uD = DD();
|
|
@@ -6756,7 +6756,7 @@ import {
|
|
|
6756
6756
|
sep,
|
|
6757
6757
|
extname
|
|
6758
6758
|
} from "node:path";
|
|
6759
|
-
import
|
|
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
|
|
7687
|
-
* Used by Vite
|
|
7688
|
-
*
|
|
7689
|
-
*
|
|
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(
|
|
7692
|
-
|
|
7693
|
-
|
|
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)
|
|
7697
|
-
|
|
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
|
/**
|