@donotdev/cli 0.1.0 → 0.1.1
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 +100 -50
- package/dist/bin/commands/agent-setup.js +245 -12
- package/dist/bin/commands/build.js +3339 -208
- package/dist/bin/commands/bump.js +245 -12
- package/dist/bin/commands/cacheout.js +245 -12
- package/dist/bin/commands/coach.js +361 -60
- package/dist/bin/commands/create-app.js +245 -12
- package/dist/bin/commands/create-project.js +253 -12
- package/dist/bin/commands/db.js +9114 -2327
- package/dist/bin/commands/deploy.js +4074 -694
- package/dist/bin/commands/dev.js +347 -33
- package/dist/bin/commands/doctor.js +408 -107
- package/dist/bin/commands/emu.js +386 -52
- package/dist/bin/commands/format.js +245 -12
- package/dist/bin/commands/get-demo.js +245 -12
- package/dist/bin/commands/make-admin.js +8356 -1516
- package/dist/bin/commands/preview.js +347 -33
- package/dist/bin/commands/seed.js +9114 -2327
- package/dist/bin/commands/setup-cicd.js +452 -132
- package/dist/bin/commands/setup.js +407 -107
- package/dist/bin/commands/staging.js +4074 -694
- package/dist/bin/commands/sync-secrets.js +246 -13
- package/dist/bin/commands/type-check.js +245 -12
- package/dist/bin/commands/wai.js +245 -12
- package/dist/bin/dndev.js +13 -4
- package/dist/bin/donotdev.js +13 -4
- package/dist/index.js +4169 -812
- package/{templates/root-consumer/guides/dndev/advanced/VERSION_CONTROL.md.example → guidelines/VERSION_CONTROL.md} +7 -11
- package/package.json +2 -1
- package/templates/app-demo/src/themes.css.example +21 -0
- package/templates/app-dndev/index.html.example +0 -3
- package/templates/app-dndev/src/themes.css.example +21 -0
- package/templates/app-next/src/app/layout.tsx.example +13 -4
- package/templates/app-next/src/themes.css.example +21 -0
- package/templates/app-vite/csp.example.json +44 -0
- package/templates/app-vite/index.html.example +0 -3
- package/templates/app-vite/src/themes.css.example +21 -0
- package/templates/functions-supabase/supabase/migrations/20250101000000_idempotency.sql +3 -0
- package/templates/functions-supabase/supabase/migrations/20250101000001_rate_limits.sql +3 -0
- package/templates/functions-supabase/supabase/migrations/20250101000003_operation_metrics.sql +3 -0
- package/templates/root-consumer/.claude/hooks/framework-compliance.sh.example +56 -0
- package/templates/root-consumer/.claude/hooks/guard-bash.sh.example +61 -0
- package/templates/root-consumer/.claude/hooks/guard-files.sh.example +46 -0
- package/templates/root-consumer/.claude/hooks/guard-mcp.sh.example +91 -0
- package/templates/root-consumer/.claude/hooks/guard-secrets.sh.example +67 -0
- package/templates/root-consumer/.claude/hooks/guard-write.sh.example +89 -0
- package/templates/root-consumer/.claude/hooks/session-start.sh.example +50 -0
- package/templates/root-consumer/.claude/hooks/track-mcp-lookup.sh.example +20 -0
- package/templates/root-consumer/.claude/hooks/typecheck-stop.sh.example +18 -0
- package/templates/root-consumer/.claude/rules/consumer-ux.md.example +32 -0
- package/templates/root-consumer/.claude/rules/definition-of-done.md.example +32 -0
- package/templates/root-consumer/.claude/rules/framework.md.example +39 -0
- package/templates/root-consumer/.claude/rules/git.md.example +14 -0
- package/templates/root-consumer/.claude/rules/security.md.example +13 -0
- package/templates/root-consumer/.claude/settings.json.example +123 -1
- package/templates/root-consumer/.claude/skills/build/SKILL.md.example +103 -25
- package/templates/root-consumer/.claude/skills/grill/SKILL.md.example +26 -15
- package/templates/root-consumer/.claude/skills/polish/SKILL.md.example +50 -37
- package/templates/root-consumer/AI.md.example +2 -2
- package/templates/root-consumer/CLAUDE.md.example +33 -1
- package/templates/root-consumer/guides/dndev/INDEX.md.example +23 -27
- package/templates/root-consumer/guides/dndev/SETUP_AUTH.md.example +3 -2
- package/templates/root-consumer/guides/dndev/SETUP_OAUTH.md.example +10 -5
- package/templates/root-consumer/guides/dndev/SETUP_SUPABASE.md.example +50 -3
- package/templates/root-consumer/guides/wai-way/blueprints/3_compose.md.example +13 -15
- package/templates/app-demo/public/manifest.json.example +0 -10
- package/templates/app-dndev/public/manifest.json.example +0 -10
- package/templates/root-consumer/.claude/commands/brainstorm.md.example +0 -175
- package/templates/root-consumer/.claude/commands/build.md.example +0 -131
- package/templates/root-consumer/.claude/commands/design.md.example +0 -184
- package/templates/root-consumer/.claude/commands/grill.md.example +0 -135
- package/templates/root-consumer/.claude/commands/polish.md.example +0 -146
- package/templates/root-consumer/.claude/commands/techdebt.md.example +0 -28
- package/templates/root-consumer/guides/dndev/COMPONENTS_ATOMIC.md.example +0 -180
- package/templates/root-consumer/guides/dndev/COMPONENTS_CRUD.md.example +0 -234
- package/templates/root-consumer/guides/dndev/COMPONENTS_UI.md.example +0 -136
- package/templates/root-consumer/guides/dndev/COMPONENT_API.md.example +0 -195
- package/templates/root-consumer/guides/dndev/ENV_SETUP.md.example +0 -219
- package/templates/root-consumer/guides/dndev/GOTCHAS.md.example +0 -197
- package/templates/root-consumer/guides/dndev/SETUP_APP_CONFIG.md.example +0 -132
- package/templates/root-consumer/guides/dndev/SETUP_BLOG.md.example +0 -280
- package/templates/root-consumer/guides/dndev/SETUP_CICD.md.example +0 -115
- package/templates/root-consumer/guides/dndev/SETUP_CRUD.md.example +0 -334
- package/templates/root-consumer/guides/dndev/SETUP_FUNCTIONS.md.example +0 -9
- package/templates/root-consumer/guides/dndev/SETUP_I18N.md.example +0 -233
- package/templates/root-consumer/guides/dndev/SETUP_LAYOUTS.md.example +0 -158
- package/templates/root-consumer/guides/dndev/SETUP_PAGES.md.example +0 -205
- package/templates/root-consumer/guides/dndev/SETUP_PWA.md.example +0 -213
- package/templates/root-consumer/guides/dndev/SETUP_TESTING.md.example +0 -184
- package/templates/root-consumer/guides/dndev/SETUP_THEMES.md.example +0 -111
- package/templates/root-consumer/guides/dndev/SETUP_VERCEL.md.example +0 -260
- package/templates/root-consumer/guides/dndev/USE_ROUTING.md.example +0 -499
- package/templates/root-consumer/guides/dndev/essences_reference.css.example +0 -288
package/dist/bin/dndev.js
CHANGED
|
@@ -458,8 +458,9 @@ var init_command_registry = __esm({
|
|
|
458
458
|
category: "build",
|
|
459
459
|
options: [
|
|
460
460
|
{
|
|
461
|
-
flags: "--install <path
|
|
462
|
-
description: "Install tarballs into consumer app(
|
|
461
|
+
flags: "--install <path>",
|
|
462
|
+
description: "Install tarballs into consumer app (repeatable: --install ../wai --install ../apc)",
|
|
463
|
+
collect: true
|
|
463
464
|
},
|
|
464
465
|
{ flags: "--skip-build", description: "Use existing dist/ (no rebuild)" }
|
|
465
466
|
],
|
|
@@ -535,6 +536,10 @@ var init_command_registry = __esm({
|
|
|
535
536
|
{
|
|
536
537
|
flags: "--staging",
|
|
537
538
|
description: "Deploy to staging (uses .env.staging, service-account-key.staging.json, .firebaserc staging project)"
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
flags: "--scope <scope>",
|
|
542
|
+
description: "Deploy scope: functions, frontend, or both. Skips interactive menu (headless)"
|
|
538
543
|
}
|
|
539
544
|
],
|
|
540
545
|
loader: "../apps/deploy.ts",
|
|
@@ -553,7 +558,11 @@ var init_command_registry = __esm({
|
|
|
553
558
|
description: "Firebase project ID (overrides .firebaserc)"
|
|
554
559
|
},
|
|
555
560
|
{ flags: "--skip-build", description: "skip build step" },
|
|
556
|
-
{ flags: "--force", description: "Force deployment / cleanup policy" }
|
|
561
|
+
{ flags: "--force", description: "Force deployment / cleanup policy" },
|
|
562
|
+
{
|
|
563
|
+
flags: "--scope <scope>",
|
|
564
|
+
description: "Deploy scope: functions, frontend, or both. Skips interactive menu (headless)"
|
|
565
|
+
}
|
|
557
566
|
],
|
|
558
567
|
loader: "../apps/deploy.ts"
|
|
559
568
|
},
|
|
@@ -970,7 +979,7 @@ function registerCommand(program2, def, action) {
|
|
|
970
979
|
}
|
|
971
980
|
|
|
972
981
|
// packages/cli/src/bin/dndev.mjs
|
|
973
|
-
var CLI_VERSION = true ? "0.1.
|
|
982
|
+
var CLI_VERSION = true ? "0.1.1" : "0.0.0";
|
|
974
983
|
var args = process.argv.slice(2);
|
|
975
984
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v")) {
|
|
976
985
|
console.log(CLI_VERSION);
|
package/dist/bin/donotdev.js
CHANGED
|
@@ -458,8 +458,9 @@ var init_command_registry = __esm({
|
|
|
458
458
|
category: "build",
|
|
459
459
|
options: [
|
|
460
460
|
{
|
|
461
|
-
flags: "--install <path
|
|
462
|
-
description: "Install tarballs into consumer app(
|
|
461
|
+
flags: "--install <path>",
|
|
462
|
+
description: "Install tarballs into consumer app (repeatable: --install ../wai --install ../apc)",
|
|
463
|
+
collect: true
|
|
463
464
|
},
|
|
464
465
|
{ flags: "--skip-build", description: "Use existing dist/ (no rebuild)" }
|
|
465
466
|
],
|
|
@@ -535,6 +536,10 @@ var init_command_registry = __esm({
|
|
|
535
536
|
{
|
|
536
537
|
flags: "--staging",
|
|
537
538
|
description: "Deploy to staging (uses .env.staging, service-account-key.staging.json, .firebaserc staging project)"
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
flags: "--scope <scope>",
|
|
542
|
+
description: "Deploy scope: functions, frontend, or both. Skips interactive menu (headless)"
|
|
538
543
|
}
|
|
539
544
|
],
|
|
540
545
|
loader: "../apps/deploy.ts",
|
|
@@ -553,7 +558,11 @@ var init_command_registry = __esm({
|
|
|
553
558
|
description: "Firebase project ID (overrides .firebaserc)"
|
|
554
559
|
},
|
|
555
560
|
{ flags: "--skip-build", description: "skip build step" },
|
|
556
|
-
{ flags: "--force", description: "Force deployment / cleanup policy" }
|
|
561
|
+
{ flags: "--force", description: "Force deployment / cleanup policy" },
|
|
562
|
+
{
|
|
563
|
+
flags: "--scope <scope>",
|
|
564
|
+
description: "Deploy scope: functions, frontend, or both. Skips interactive menu (headless)"
|
|
565
|
+
}
|
|
557
566
|
],
|
|
558
567
|
loader: "../apps/deploy.ts"
|
|
559
568
|
},
|
|
@@ -970,7 +979,7 @@ function registerCommand(program2, def, action) {
|
|
|
970
979
|
}
|
|
971
980
|
|
|
972
981
|
// packages/cli/src/bin/dndev.mjs
|
|
973
|
-
var CLI_VERSION = true ? "0.1.
|
|
982
|
+
var CLI_VERSION = true ? "0.1.1" : "0.0.0";
|
|
974
983
|
var args = process.argv.slice(2);
|
|
975
984
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v")) {
|
|
976
985
|
console.log(CLI_VERSION);
|