@donotdev/cli 0.0.22 → 0.0.23
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 +8 -23
- package/dist/bin/dndev.js +1 -1
- package/dist/bin/donotdev.js +61 -1
- package/package.json +1 -1
package/dependencies-matrix.json
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"@donotdev/auth": {
|
|
18
18
|
"description": "Authentication package",
|
|
19
19
|
"packages": {
|
|
20
|
-
"@donotdev/auth": "^0.0.
|
|
20
|
+
"@donotdev/auth": "^0.0.15"
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
23
|
"@donotdev/billing": {
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"@donotdev/firebase": {
|
|
48
48
|
"description": "Firebase provider package",
|
|
49
49
|
"packages": {
|
|
50
|
-
"@donotdev/firebase": "^0.0.
|
|
50
|
+
"@donotdev/firebase": "^0.0.17"
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
53
|
"@donotdev/functions": {
|
|
@@ -325,21 +325,6 @@
|
|
|
325
325
|
"vite": "^7.3.1"
|
|
326
326
|
}
|
|
327
327
|
},
|
|
328
|
-
"vite-deps": {
|
|
329
|
-
"packages": {
|
|
330
|
-
"react-refresh": "^0.18.0",
|
|
331
|
-
"@vitejs/plugin-basic-ssl": "^2.1.4",
|
|
332
|
-
"vite-tsconfig-paths": "^6.1.1",
|
|
333
|
-
"@rollup/plugin-strip": "^3.0.4",
|
|
334
|
-
"rollup-plugin-visualizer": "^6.0.5",
|
|
335
|
-
"vite-plugin-pwa": "1.2.0"
|
|
336
|
-
}
|
|
337
|
-
},
|
|
338
|
-
"vite-deps-minimal": {
|
|
339
|
-
"packages": {
|
|
340
|
-
"vite-tsconfig-paths": "^6.1.1"
|
|
341
|
-
}
|
|
342
|
-
},
|
|
343
328
|
"next": {
|
|
344
329
|
"packages": {
|
|
345
330
|
"next": "^16.1.6"
|
|
@@ -433,7 +418,7 @@
|
|
|
433
418
|
"@donotdev/cli": {
|
|
434
419
|
"description": "Cli package",
|
|
435
420
|
"packages": {
|
|
436
|
-
"@donotdev/cli": "^0.0.
|
|
421
|
+
"@donotdev/cli": "^0.0.23"
|
|
437
422
|
}
|
|
438
423
|
},
|
|
439
424
|
"@donotdev/mcp-server": {
|
|
@@ -768,7 +753,7 @@
|
|
|
768
753
|
"vite",
|
|
769
754
|
"typescript",
|
|
770
755
|
"types",
|
|
771
|
-
"vite-
|
|
756
|
+
"core-vite-config"
|
|
772
757
|
]
|
|
773
758
|
},
|
|
774
759
|
"@donotdev/expo": {
|
|
@@ -829,7 +814,7 @@
|
|
|
829
814
|
"types",
|
|
830
815
|
"i18n",
|
|
831
816
|
"react-query",
|
|
832
|
-
"vite-
|
|
817
|
+
"core-vite-config",
|
|
833
818
|
"postcss"
|
|
834
819
|
],
|
|
835
820
|
"conditional": {
|
|
@@ -919,7 +904,7 @@
|
|
|
919
904
|
"vite",
|
|
920
905
|
"typescript",
|
|
921
906
|
"types",
|
|
922
|
-
"vite-
|
|
907
|
+
"core-vite-config",
|
|
923
908
|
"postcss"
|
|
924
909
|
],
|
|
925
910
|
"conditional": {
|
|
@@ -1068,7 +1053,7 @@
|
|
|
1068
1053
|
"vite",
|
|
1069
1054
|
"typescript",
|
|
1070
1055
|
"types",
|
|
1071
|
-
"vite-
|
|
1056
|
+
"core-vite-config"
|
|
1072
1057
|
]
|
|
1073
1058
|
},
|
|
1074
1059
|
"dndev": {
|
|
@@ -1095,7 +1080,7 @@
|
|
|
1095
1080
|
"vite",
|
|
1096
1081
|
"typescript",
|
|
1097
1082
|
"types",
|
|
1098
|
-
"vite-
|
|
1083
|
+
"core-vite-config",
|
|
1099
1084
|
"ws-types"
|
|
1100
1085
|
]
|
|
1101
1086
|
}
|
package/dist/bin/dndev.js
CHANGED
|
@@ -858,7 +858,7 @@ function registerCommand(program2, def, action) {
|
|
|
858
858
|
}
|
|
859
859
|
|
|
860
860
|
// packages/cli/src/bin/dndev.mjs
|
|
861
|
-
var CLI_VERSION = true ? "0.0.
|
|
861
|
+
var CLI_VERSION = true ? "0.0.23" : "0.0.0";
|
|
862
862
|
var args = process.argv.slice(2);
|
|
863
863
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v")) {
|
|
864
864
|
console.log(CLI_VERSION);
|
package/dist/bin/donotdev.js
CHANGED
|
@@ -581,6 +581,54 @@ var init_command_registry = __esm({
|
|
|
581
581
|
exportName: "doctor"
|
|
582
582
|
},
|
|
583
583
|
// ---------------------------------------------------------------------------
|
|
584
|
+
// Database
|
|
585
|
+
// ---------------------------------------------------------------------------
|
|
586
|
+
{
|
|
587
|
+
name: "seed [app]",
|
|
588
|
+
description: "Generate and insert sample data into your database",
|
|
589
|
+
category: "deployment",
|
|
590
|
+
public: true,
|
|
591
|
+
appCommand: true,
|
|
592
|
+
options: [
|
|
593
|
+
{
|
|
594
|
+
flags: "-n, --count <number>",
|
|
595
|
+
description: "Rows per entity (default: 10)"
|
|
596
|
+
},
|
|
597
|
+
{
|
|
598
|
+
flags: "--clean",
|
|
599
|
+
description: "Truncate tables before seeding"
|
|
600
|
+
},
|
|
601
|
+
{
|
|
602
|
+
flags: "--only <entities>",
|
|
603
|
+
description: "Comma-separated entity names to seed"
|
|
604
|
+
},
|
|
605
|
+
{
|
|
606
|
+
flags: "--seed <number>",
|
|
607
|
+
description: "Random seed for reproducible output (default: 42)"
|
|
608
|
+
}
|
|
609
|
+
],
|
|
610
|
+
loader: "../cli/seed/seed.ts",
|
|
611
|
+
exportName: "seed"
|
|
612
|
+
},
|
|
613
|
+
{
|
|
614
|
+
name: "db [script]",
|
|
615
|
+
description: "Run a custom database script with injected DbContext",
|
|
616
|
+
category: "deployment",
|
|
617
|
+
public: true,
|
|
618
|
+
options: [
|
|
619
|
+
{
|
|
620
|
+
flags: "-l, --list",
|
|
621
|
+
description: "List available scripts in .dndev/scripts/"
|
|
622
|
+
},
|
|
623
|
+
{
|
|
624
|
+
flags: "-a, --app <app>",
|
|
625
|
+
description: "App name (for multi-app monorepos)"
|
|
626
|
+
}
|
|
627
|
+
],
|
|
628
|
+
loader: "../cli/db/db.ts",
|
|
629
|
+
exportName: "db"
|
|
630
|
+
},
|
|
631
|
+
// ---------------------------------------------------------------------------
|
|
584
632
|
// Content
|
|
585
633
|
// ---------------------------------------------------------------------------
|
|
586
634
|
{
|
|
@@ -648,6 +696,14 @@ var init_command_registry = __esm({
|
|
|
648
696
|
],
|
|
649
697
|
loader: "../quality/grill-review.ts"
|
|
650
698
|
},
|
|
699
|
+
{
|
|
700
|
+
name: "sync-app-templates",
|
|
701
|
+
description: "Copy live apps/demo and apps/dndev to CLI templates (with .example suffix)",
|
|
702
|
+
alias: "sat",
|
|
703
|
+
category: "internal",
|
|
704
|
+
loader: "../internal/sync-app-templates.ts",
|
|
705
|
+
exportName: "syncAppTemplates"
|
|
706
|
+
},
|
|
651
707
|
{
|
|
652
708
|
name: "generate sql",
|
|
653
709
|
description: "Generate PostgreSQL CREATE TABLE + RLS + trigger from entity definitions",
|
|
@@ -802,7 +858,7 @@ function registerCommand(program2, def, action) {
|
|
|
802
858
|
}
|
|
803
859
|
|
|
804
860
|
// packages/cli/src/bin/dndev.mjs
|
|
805
|
-
var CLI_VERSION = true ? "0.0.
|
|
861
|
+
var CLI_VERSION = true ? "0.0.23" : "0.0.0";
|
|
806
862
|
var args = process.argv.slice(2);
|
|
807
863
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v")) {
|
|
808
864
|
console.log(CLI_VERSION);
|
|
@@ -913,6 +969,10 @@ var ACTION_OVERRIDES = {
|
|
|
913
969
|
"agent-setup": async (options) => {
|
|
914
970
|
const { main } = await import("./commands/agent-setup.js");
|
|
915
971
|
await main(options);
|
|
972
|
+
},
|
|
973
|
+
"init": async (options, name) => {
|
|
974
|
+
const { main } = await import("./commands/create-project.js");
|
|
975
|
+
await main({ ...options, projectName: name || options.projectName });
|
|
916
976
|
}
|
|
917
977
|
};
|
|
918
978
|
for (const def of getPublicCommands()) {
|