@donotdev/cli 0.0.36 → 0.0.37
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 +7 -7
- package/dist/bin/commands/agent-setup.js +2 -2
- package/dist/bin/commands/build.js +2 -2
- package/dist/bin/commands/bump.js +12 -3
- package/dist/bin/commands/cacheout.js +2 -2
- package/dist/bin/commands/coach.js +2 -2
- package/dist/bin/commands/create-app.js +2 -2
- package/dist/bin/commands/create-project.js +2 -2
- package/dist/bin/commands/db.js +3 -3699
- package/dist/bin/commands/deploy.js +2 -2
- package/dist/bin/commands/dev.js +2 -2
- package/dist/bin/commands/doctor.js +2 -2
- package/dist/bin/commands/emu.js +2 -2
- package/dist/bin/commands/format.js +2 -2
- package/dist/bin/commands/get-demo.js +2 -2
- package/dist/bin/commands/make-admin.js +92 -92
- package/dist/bin/commands/preview.js +2 -2
- package/dist/bin/commands/seed.js +3 -3699
- package/dist/bin/commands/setup-cicd.js +2 -2
- package/dist/bin/commands/setup.js +2 -2
- package/dist/bin/commands/staging.js +2 -2
- package/dist/bin/commands/sync-secrets.js +2 -2
- package/dist/bin/commands/type-check.js +2 -2
- package/dist/bin/commands/wai.js +2 -2
- package/dist/bin/dndev.js +1 -1
- package/dist/bin/donotdev.js +1 -1
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/templates/app-next/src/locales/home_en.json.example +6 -6
- package/templates/app-vite/src/locales/home_en.json.example +6 -6
- package/templates/root-consumer/.claude/skills/build/SKILL.md.example +50 -0
- package/templates/root-consumer/guides/dndev/advanced/COOKIE_REFERENCE.md.example +252 -252
- package/templates/root-consumer/guides/dndev/advanced/VERSION_CONTROL.md.example +174 -174
|
@@ -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, dD, 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();
|
|
@@ -167,7 +167,7 @@ var require_picocolors = __commonJS({
|
|
|
167
167
|
}
|
|
168
168
|
});
|
|
169
169
|
|
|
170
|
-
// node_modules/.bun/@clack+
|
|
170
|
+
// node_modules/.bun/@clack+core@0.5.0/node_modules/@clack/core/dist/index.mjs
|
|
171
171
|
import { stdin as j, stdout as M } from "node:process";
|
|
172
172
|
import * as g from "node:readline";
|
|
173
173
|
import O from "node:readline";
|
|
@@ -283,7 +283,7 @@ function fD({ input: e2 = j, output: u2 = M, overwrite: t = true, hideCursor: F2
|
|
|
283
283
|
}
|
|
284
284
|
var import_sisteransi, import_picocolors, 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, dD, A, OD, PD, J, LD, RD;
|
|
285
285
|
var init_dist = __esm({
|
|
286
|
-
"node_modules/.bun/@clack+
|
|
286
|
+
"node_modules/.bun/@clack+core@0.5.0/node_modules/@clack/core/dist/index.mjs"() {
|
|
287
287
|
init_utils();
|
|
288
288
|
import_sisteransi = __toESM(require_src(), 1);
|
|
289
289
|
import_picocolors = __toESM(require_picocolors(), 1);
|
|
@@ -167,7 +167,7 @@ var require_picocolors = __commonJS({
|
|
|
167
167
|
}
|
|
168
168
|
});
|
|
169
169
|
|
|
170
|
-
// node_modules/.bun/@clack+
|
|
170
|
+
// node_modules/.bun/@clack+core@0.5.0/node_modules/@clack/core/dist/index.mjs
|
|
171
171
|
import { stdin as j, stdout as M } from "node:process";
|
|
172
172
|
import * as g from "node:readline";
|
|
173
173
|
import O from "node:readline";
|
|
@@ -283,7 +283,7 @@ function fD({ input: e2 = j, output: u2 = M, overwrite: t = true, hideCursor: F2
|
|
|
283
283
|
}
|
|
284
284
|
var import_sisteransi, import_picocolors, 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, dD, A, OD, PD, J, LD, RD;
|
|
285
285
|
var init_dist = __esm({
|
|
286
|
-
"node_modules/.bun/@clack+
|
|
286
|
+
"node_modules/.bun/@clack+core@0.5.0/node_modules/@clack/core/dist/index.mjs"() {
|
|
287
287
|
init_utils();
|
|
288
288
|
import_sisteransi = __toESM(require_src(), 1);
|
|
289
289
|
import_picocolors = __toESM(require_picocolors(), 1);
|
|
@@ -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 O from "node:readline";
|
|
169
169
|
import { Writable as X } from "node:stream";
|
|
@@ -257,7 +257,7 @@ function m(e2, u2) {
|
|
|
257
257
|
}
|
|
258
258
|
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;
|
|
259
259
|
var init_dist = __esm({
|
|
260
|
-
"node_modules/.bun/@clack+
|
|
260
|
+
"node_modules/.bun/@clack+core@0.5.0/node_modules/@clack/core/dist/index.mjs"() {
|
|
261
261
|
init_utils();
|
|
262
262
|
import_sisteransi = __toESM(require_src(), 1);
|
|
263
263
|
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 { Writable as X } from "node:stream";
|
|
@@ -231,7 +231,7 @@ function fD({ input: e2 = j, output: u2 = M, overwrite: t = true, hideCursor: F2
|
|
|
231
231
|
}
|
|
232
232
|
var import_sisteransi, uD, W, tD, eD, FD, sD, w, N, I, R, r, iD, CD, ED, nD, _, xD, B, AD, A;
|
|
233
233
|
var init_dist = __esm({
|
|
234
|
-
"node_modules/.bun/@clack+
|
|
234
|
+
"node_modules/.bun/@clack+core@0.5.0/node_modules/@clack/core/dist/index.mjs"() {
|
|
235
235
|
init_utils();
|
|
236
236
|
import_sisteransi = __toESM(require_src(), 1);
|
|
237
237
|
uD = DD();
|
package/dist/bin/commands/wai.js
CHANGED
|
@@ -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 { Writable as X } from "node:stream";
|
|
169
169
|
function DD({ onlyFirst: e2 = false } = {}) {
|
|
@@ -204,7 +204,7 @@ function rD() {
|
|
|
204
204
|
}
|
|
205
205
|
var import_sisteransi, uD, W, tD, eD, FD, sD, w, N, I, R, r, iD, CD, ED, nD, _, xD, B, AD, A;
|
|
206
206
|
var init_dist = __esm({
|
|
207
|
-
"node_modules/.bun/@clack+
|
|
207
|
+
"node_modules/.bun/@clack+core@0.5.0/node_modules/@clack/core/dist/index.mjs"() {
|
|
208
208
|
init_utils();
|
|
209
209
|
import_sisteransi = __toESM(require_src(), 1);
|
|
210
210
|
uD = DD();
|
package/dist/bin/dndev.js
CHANGED
|
@@ -950,7 +950,7 @@ function registerCommand(program2, def, action) {
|
|
|
950
950
|
}
|
|
951
951
|
|
|
952
952
|
// packages/cli/src/bin/dndev.mjs
|
|
953
|
-
var CLI_VERSION = true ? "0.0.
|
|
953
|
+
var CLI_VERSION = true ? "0.0.37" : "0.0.0";
|
|
954
954
|
var args = process.argv.slice(2);
|
|
955
955
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v")) {
|
|
956
956
|
console.log(CLI_VERSION);
|
package/dist/bin/donotdev.js
CHANGED
|
@@ -950,7 +950,7 @@ function registerCommand(program2, def, action) {
|
|
|
950
950
|
}
|
|
951
951
|
|
|
952
952
|
// packages/cli/src/bin/dndev.mjs
|
|
953
|
-
var CLI_VERSION = true ? "0.0.
|
|
953
|
+
var CLI_VERSION = true ? "0.0.37" : "0.0.0";
|
|
954
954
|
var args = process.argv.slice(2);
|
|
955
955
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v")) {
|
|
956
956
|
console.log(CLI_VERSION);
|
package/dist/index.js
CHANGED
|
@@ -167,7 +167,7 @@ var require_picocolors = __commonJS({
|
|
|
167
167
|
}
|
|
168
168
|
});
|
|
169
169
|
|
|
170
|
-
// node_modules/.bun/@clack+
|
|
170
|
+
// node_modules/.bun/@clack+core@0.5.0/node_modules/@clack/core/dist/index.mjs
|
|
171
171
|
import { stdin as j, stdout as M } from "node:process";
|
|
172
172
|
import * as g from "node:readline";
|
|
173
173
|
import O from "node:readline";
|
|
@@ -283,7 +283,7 @@ function fD({ input: e2 = j, output: u2 = M, overwrite: t = true, hideCursor: F2
|
|
|
283
283
|
}
|
|
284
284
|
var import_sisteransi, import_picocolors, 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, dD, A, kD, $D, H, SD, OD, PD, J, LD, RD;
|
|
285
285
|
var init_dist = __esm({
|
|
286
|
-
"node_modules/.bun/@clack+
|
|
286
|
+
"node_modules/.bun/@clack+core@0.5.0/node_modules/@clack/core/dist/index.mjs"() {
|
|
287
287
|
init_utils();
|
|
288
288
|
import_sisteransi = __toESM(require_src(), 1);
|
|
289
289
|
import_picocolors = __toESM(require_picocolors(), 1);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
{
|
|
2
|
-
"hero": {
|
|
3
|
-
"title": "Welcome to DnDev",
|
|
4
|
-
"subtitle": "Your app is ready. Explore the framework patterns below."
|
|
5
|
-
}
|
|
6
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"hero": {
|
|
3
|
+
"title": "Welcome to DnDev",
|
|
4
|
+
"subtitle": "Your app is ready. Explore the framework patterns below."
|
|
5
|
+
}
|
|
6
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
{
|
|
2
|
-
"hero": {
|
|
3
|
-
"title": "Welcome to DnDev",
|
|
4
|
-
"subtitle": "Your app is ready. Explore the framework patterns below."
|
|
5
|
-
}
|
|
6
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"hero": {
|
|
3
|
+
"title": "Welcome to DnDev",
|
|
4
|
+
"subtitle": "Your app is ready. Explore the framework patterns below."
|
|
5
|
+
}
|
|
6
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: build
|
|
3
|
+
description: Implement features using framework defaults. Use AFTER /design. Activates WAI-WAY Phase 3 COMPOSE.
|
|
4
|
+
argument-hint: [requirement or LLD reference]
|
|
5
|
+
disable-model-invocation: true
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Build — Compose the App
|
|
9
|
+
|
|
10
|
+
**WORKFLOW:** `/brainstorm` → `/design` → `/build` → `/polish`
|
|
11
|
+
|
|
12
|
+
## Step 0 — Start Phase (MANDATORY)
|
|
13
|
+
|
|
14
|
+
```
|
|
15
|
+
start_phase(3)
|
|
16
|
+
```
|
|
17
|
+
Do NOT write code without this call.
|
|
18
|
+
|
|
19
|
+
## Step 1 — Prepare
|
|
20
|
+
|
|
21
|
+
**Input:** $ARGUMENTS (LLD from `/design` or direct requirement)
|
|
22
|
+
|
|
23
|
+
1. Read LLD if it exists
|
|
24
|
+
2. **STOP before every `@donotdev` import** → call `lookup_symbol({ symbol: "Name" })`. No exceptions. Do NOT guess props, hooks, or APIs.
|
|
25
|
+
3. Import convention: always `@donotdev/<package>` — never sub-paths. Only exceptions: `@donotdev/core/server`, `@donotdev/core/vite`, `@donotdev/core/next`, `@donotdev/core/functions`.
|
|
26
|
+
|
|
27
|
+
## Step 2 — Build in phases
|
|
28
|
+
|
|
29
|
+
1. **Entities** — create entity files
|
|
30
|
+
2. **Routes** — create route config
|
|
31
|
+
3. **Auth** — if needed
|
|
32
|
+
4. **Pages** — using framework defaults only (no styling, no customization)
|
|
33
|
+
5. **Custom components** — if any
|
|
34
|
+
6. **Integration** — wire everything together
|
|
35
|
+
|
|
36
|
+
Rules:
|
|
37
|
+
- Framework defaults ONLY — styling deferred to `/polish`
|
|
38
|
+
- Hardcode all strings — i18n deferred to `/polish`
|
|
39
|
+
- Run `dndev tc` after every file change — fix errors immediately
|
|
40
|
+
- Validate each phase before proceeding
|
|
41
|
+
|
|
42
|
+
## Step 3 — Complete Phase
|
|
43
|
+
|
|
44
|
+
When all pages built and `dndev tc` passes:
|
|
45
|
+
|
|
46
|
+
```
|
|
47
|
+
complete_phase({ files: ["src/pages/...all files..."], summary: "N pages composed, all type-checking" })
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Wait for user `approve_phase()` → then proceed to `/polish`.
|