@donotdev/cli 0.0.24 → 0.0.26
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/README.md +7 -295
- package/dependencies-matrix.json +47 -135
- package/dist/bin/commands/agent-setup.js +3 -3
- package/dist/bin/commands/build.js +144 -143
- package/dist/bin/commands/bump.js +146 -145
- package/dist/bin/commands/cacheout.js +143 -142
- package/dist/bin/commands/coach.js +157 -152
- package/dist/bin/commands/create-app.js +23 -23
- package/dist/bin/commands/create-project.js +166 -165
- package/dist/bin/commands/db.js +46705 -46704
- package/dist/bin/commands/deploy.js +684 -580
- package/dist/bin/commands/dev.js +180 -160
- package/dist/bin/commands/doctor.js +153 -152
- package/dist/bin/commands/emu.js +174 -168
- package/dist/bin/commands/format.js +144 -143
- package/dist/bin/commands/get-demo.js +2 -2
- package/dist/bin/commands/make-admin.js +64122 -64043
- package/dist/bin/commands/preview.js +179 -160
- package/dist/bin/commands/seed.js +46705 -46704
- package/dist/bin/commands/setup-cicd.js +165 -159
- package/dist/bin/commands/setup.js +414 -214
- package/dist/bin/commands/staging.js +684 -580
- package/dist/bin/commands/sync-secrets.js +143 -142
- package/dist/bin/commands/type-check.js +143 -142
- package/dist/bin/commands/wai.js +1 -1
- package/dist/bin/dndev.js +79 -1
- package/dist/index.js +713 -593
- package/package.json +1 -1
- package/templates/root-consumer/.cursor/mcp.json.example +1 -1
- package/templates/root-consumer/.gemini/settings.json.example +1 -1
- package/templates/root-consumer/.mcp.json.example +1 -1
- package/templates/root-consumer/bunfig.toml.example +6 -53
- package/templates/root-consumer/guides/dndev/SETUP_VERCEL.md.example +26 -9
- package/templates/root-consumer/vercel.json.example +2 -1
package/dist/bin/dndev.js
CHANGED
|
@@ -340,6 +340,80 @@ var init_command_registry = __esm({
|
|
|
340
340
|
loader: "../quality/validate-package.ts",
|
|
341
341
|
exportName: "validatePackage"
|
|
342
342
|
},
|
|
343
|
+
{
|
|
344
|
+
name: "syncpack",
|
|
345
|
+
description: "Check dependency version consistency across all packages (syncpack)",
|
|
346
|
+
category: "development",
|
|
347
|
+
options: [
|
|
348
|
+
{
|
|
349
|
+
flags: "--fix",
|
|
350
|
+
description: "auto-fix version mismatches"
|
|
351
|
+
}
|
|
352
|
+
],
|
|
353
|
+
loader: "../quality/syncpack.ts",
|
|
354
|
+
exportName: "syncpack"
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
name: "knip",
|
|
358
|
+
description: "Detect dead code, unused exports, and unlisted dependencies (knip)",
|
|
359
|
+
category: "development",
|
|
360
|
+
options: [
|
|
361
|
+
{
|
|
362
|
+
flags: "--fix",
|
|
363
|
+
description: "auto-remove unused exports"
|
|
364
|
+
}
|
|
365
|
+
],
|
|
366
|
+
loader: "../quality/knip.ts",
|
|
367
|
+
exportName: "knip"
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
name: "publint",
|
|
371
|
+
description: "Validate package.json exports/files fields for all published packages",
|
|
372
|
+
category: "development",
|
|
373
|
+
options: [
|
|
374
|
+
{
|
|
375
|
+
flags: "--package <package>",
|
|
376
|
+
description: "validate a specific package"
|
|
377
|
+
}
|
|
378
|
+
],
|
|
379
|
+
loader: "../quality/publint.ts",
|
|
380
|
+
exportName: "publint"
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
name: "attw",
|
|
384
|
+
description: "Verify TypeScript type resolution for published packages (@arethetypeswrong)",
|
|
385
|
+
category: "development",
|
|
386
|
+
options: [
|
|
387
|
+
{
|
|
388
|
+
flags: "--package <package>",
|
|
389
|
+
description: "check a specific package"
|
|
390
|
+
}
|
|
391
|
+
],
|
|
392
|
+
loader: "../quality/attw.ts",
|
|
393
|
+
exportName: "attw"
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
name: "size",
|
|
397
|
+
description: "Check bundle sizes against budgets (size-limit)",
|
|
398
|
+
alias: "size-limit",
|
|
399
|
+
category: "development",
|
|
400
|
+
options: [
|
|
401
|
+
{
|
|
402
|
+
flags: "--json",
|
|
403
|
+
description: "output machine-readable JSON"
|
|
404
|
+
}
|
|
405
|
+
],
|
|
406
|
+
loader: "../quality/size-limit.ts",
|
|
407
|
+
exportName: "sizeLimit"
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
name: "preflight",
|
|
411
|
+
description: "Run all quality gates before bundling (lint, syncpack, knip, publint, attw, size)",
|
|
412
|
+
alias: "pf",
|
|
413
|
+
category: "development",
|
|
414
|
+
loader: "../quality/preflight.ts",
|
|
415
|
+
exportName: "preflight"
|
|
416
|
+
},
|
|
343
417
|
// ---------------------------------------------------------------------------
|
|
344
418
|
// Build & Maintenance
|
|
345
419
|
// ---------------------------------------------------------------------------
|
|
@@ -361,6 +435,10 @@ var init_command_registry = __esm({
|
|
|
361
435
|
flags: "--skip-validation",
|
|
362
436
|
description: "skip package validation before build"
|
|
363
437
|
},
|
|
438
|
+
{
|
|
439
|
+
flags: "--skip-preflight",
|
|
440
|
+
description: "skip publint + attw pre-publish checks"
|
|
441
|
+
},
|
|
364
442
|
{
|
|
365
443
|
flags: "--verdaccio",
|
|
366
444
|
description: "publish to local Verdaccio registry instead of npm"
|
|
@@ -858,7 +936,7 @@ function registerCommand(program2, def, action) {
|
|
|
858
936
|
}
|
|
859
937
|
|
|
860
938
|
// packages/cli/src/bin/dndev.mjs
|
|
861
|
-
var CLI_VERSION = true ? "0.0.
|
|
939
|
+
var CLI_VERSION = true ? "0.0.26" : "0.0.0";
|
|
862
940
|
var args = process.argv.slice(2);
|
|
863
941
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v")) {
|
|
864
942
|
console.log(CLI_VERSION);
|