@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
|
@@ -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();
|
|
@@ -6368,7 +6368,7 @@ import {
|
|
|
6368
6368
|
sep,
|
|
6369
6369
|
extname
|
|
6370
6370
|
} from "node:path";
|
|
6371
|
-
import
|
|
6371
|
+
import "node:url";
|
|
6372
6372
|
function safeExecuteAsync(fn, message) {
|
|
6373
6373
|
return fn().catch((error2) => {
|
|
6374
6374
|
throw new Error(
|
|
@@ -7295,19 +7295,24 @@ var init_PathResolver = __esm({
|
|
|
7295
7295
|
return resolved;
|
|
7296
7296
|
}
|
|
7297
7297
|
/**
|
|
7298
|
-
* Get path to empty
|
|
7299
|
-
* Used by Vite
|
|
7300
|
-
*
|
|
7301
|
-
*
|
|
7298
|
+
* Get absolute path to empty ESM module for optional dependency aliasing.
|
|
7299
|
+
* Used by Vite resolveId — served directly to the browser in dev mode.
|
|
7300
|
+
* Note: resolvePackage uses require.resolve (CJS) which picks the "default"
|
|
7301
|
+
* condition (.cjs), so we derive the ESM path from it.
|
|
7302
7302
|
*/
|
|
7303
|
-
getEmptyModulePath(
|
|
7304
|
-
|
|
7305
|
-
|
|
7306
|
-
|
|
7303
|
+
getEmptyModulePath() {
|
|
7304
|
+
const cjsPath = this.getEmptyCjsModulePath();
|
|
7305
|
+
return cjsPath.replace(/\.cjs$/, ".js");
|
|
7306
|
+
}
|
|
7307
|
+
/**
|
|
7308
|
+
* Get absolute path to empty CJS module for esbuild pre-bundling.
|
|
7309
|
+
* CJS because esbuild statically analyzes ESM exports — CJS has dynamic
|
|
7310
|
+
* exports, so any named import resolves.
|
|
7311
|
+
*/
|
|
7312
|
+
getEmptyCjsModulePath() {
|
|
7307
7313
|
const resolved = this.resolvePackage("@donotdev/core/empty");
|
|
7308
|
-
if (resolved)
|
|
7309
|
-
|
|
7310
|
-
return this.normalizePath(join(thisDir, "../empty.js"));
|
|
7314
|
+
if (!resolved) throw new Error("Cannot resolve @donotdev/core/empty \u2014 package setup is broken");
|
|
7315
|
+
return resolved;
|
|
7311
7316
|
}
|
|
7312
7317
|
// === PRIVATE METHODS ===
|
|
7313
7318
|
/**
|
|
@@ -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 { Writable as X } from "node:stream";
|
|
173
173
|
function DD({ onlyFirst: e2 = false } = {}) {
|
|
@@ -208,7 +208,7 @@ function rD() {
|
|
|
208
208
|
}
|
|
209
209
|
var import_sisteransi, uD, W, tD, eD, FD, sD, w, N, I, R, r, iD, CD, ED, nD, _, xD, B, AD, A;
|
|
210
210
|
var init_dist = __esm({
|
|
211
|
-
"node_modules/.bun/@clack+
|
|
211
|
+
"node_modules/.bun/@clack+core@0.5.0/node_modules/@clack/core/dist/index.mjs"() {
|
|
212
212
|
init_utils();
|
|
213
213
|
import_sisteransi = __toESM(require_src(), 1);
|
|
214
214
|
uD = DD();
|
|
@@ -6382,7 +6382,7 @@ import {
|
|
|
6382
6382
|
sep,
|
|
6383
6383
|
extname
|
|
6384
6384
|
} from "node:path";
|
|
6385
|
-
import
|
|
6385
|
+
import "node:url";
|
|
6386
6386
|
function safeExecuteAsync(fn, message) {
|
|
6387
6387
|
return fn().catch((error2) => {
|
|
6388
6388
|
throw new Error(
|
|
@@ -7309,19 +7309,24 @@ var init_PathResolver = __esm({
|
|
|
7309
7309
|
return resolved;
|
|
7310
7310
|
}
|
|
7311
7311
|
/**
|
|
7312
|
-
* Get path to empty
|
|
7313
|
-
* Used by Vite
|
|
7314
|
-
*
|
|
7315
|
-
*
|
|
7312
|
+
* Get absolute path to empty ESM module for optional dependency aliasing.
|
|
7313
|
+
* Used by Vite resolveId — served directly to the browser in dev mode.
|
|
7314
|
+
* Note: resolvePackage uses require.resolve (CJS) which picks the "default"
|
|
7315
|
+
* condition (.cjs), so we derive the ESM path from it.
|
|
7316
7316
|
*/
|
|
7317
|
-
getEmptyModulePath(
|
|
7318
|
-
|
|
7319
|
-
|
|
7320
|
-
|
|
7317
|
+
getEmptyModulePath() {
|
|
7318
|
+
const cjsPath = this.getEmptyCjsModulePath();
|
|
7319
|
+
return cjsPath.replace(/\.cjs$/, ".js");
|
|
7320
|
+
}
|
|
7321
|
+
/**
|
|
7322
|
+
* Get absolute path to empty CJS module for esbuild pre-bundling.
|
|
7323
|
+
* CJS because esbuild statically analyzes ESM exports — CJS has dynamic
|
|
7324
|
+
* exports, so any named import resolves.
|
|
7325
|
+
*/
|
|
7326
|
+
getEmptyCjsModulePath() {
|
|
7321
7327
|
const resolved = this.resolvePackage("@donotdev/core/empty");
|
|
7322
|
-
if (resolved)
|
|
7323
|
-
|
|
7324
|
-
return this.normalizePath(join(thisDir, "../empty.js"));
|
|
7328
|
+
if (!resolved) throw new Error("Cannot resolve @donotdev/core/empty \u2014 package setup is broken");
|
|
7329
|
+
return resolved;
|
|
7325
7330
|
}
|
|
7326
7331
|
// === PRIVATE METHODS ===
|
|
7327
7332
|
/**
|
|
@@ -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);
|
|
@@ -6769,7 +6769,7 @@ import {
|
|
|
6769
6769
|
sep,
|
|
6770
6770
|
extname
|
|
6771
6771
|
} from "node:path";
|
|
6772
|
-
import
|
|
6772
|
+
import "node:url";
|
|
6773
6773
|
function safeExecuteAsync(fn, message) {
|
|
6774
6774
|
return fn().catch((error2) => {
|
|
6775
6775
|
throw new Error(
|
|
@@ -7696,19 +7696,24 @@ var init_PathResolver = __esm({
|
|
|
7696
7696
|
return resolved;
|
|
7697
7697
|
}
|
|
7698
7698
|
/**
|
|
7699
|
-
* Get path to empty
|
|
7700
|
-
* Used by Vite
|
|
7701
|
-
*
|
|
7702
|
-
*
|
|
7699
|
+
* Get absolute path to empty ESM module for optional dependency aliasing.
|
|
7700
|
+
* Used by Vite resolveId — served directly to the browser in dev mode.
|
|
7701
|
+
* Note: resolvePackage uses require.resolve (CJS) which picks the "default"
|
|
7702
|
+
* condition (.cjs), so we derive the ESM path from it.
|
|
7703
7703
|
*/
|
|
7704
|
-
getEmptyModulePath(
|
|
7705
|
-
|
|
7706
|
-
|
|
7707
|
-
|
|
7704
|
+
getEmptyModulePath() {
|
|
7705
|
+
const cjsPath = this.getEmptyCjsModulePath();
|
|
7706
|
+
return cjsPath.replace(/\.cjs$/, ".js");
|
|
7707
|
+
}
|
|
7708
|
+
/**
|
|
7709
|
+
* Get absolute path to empty CJS module for esbuild pre-bundling.
|
|
7710
|
+
* CJS because esbuild statically analyzes ESM exports — CJS has dynamic
|
|
7711
|
+
* exports, so any named import resolves.
|
|
7712
|
+
*/
|
|
7713
|
+
getEmptyCjsModulePath() {
|
|
7708
7714
|
const resolved = this.resolvePackage("@donotdev/core/empty");
|
|
7709
|
-
if (resolved)
|
|
7710
|
-
|
|
7711
|
-
return this.normalizePath(join(thisDir, "../empty.js"));
|
|
7715
|
+
if (!resolved) throw new Error("Cannot resolve @donotdev/core/empty \u2014 package setup is broken");
|
|
7716
|
+
return resolved;
|
|
7712
7717
|
}
|
|
7713
7718
|
// === PRIVATE METHODS ===
|
|
7714
7719
|
/**
|
|
@@ -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);
|
|
@@ -6911,7 +6911,7 @@ import {
|
|
|
6911
6911
|
sep,
|
|
6912
6912
|
extname
|
|
6913
6913
|
} from "node:path";
|
|
6914
|
-
import
|
|
6914
|
+
import "node:url";
|
|
6915
6915
|
function safeExecuteAsync(fn, message) {
|
|
6916
6916
|
return fn().catch((error2) => {
|
|
6917
6917
|
throw new Error(
|
|
@@ -7838,19 +7838,24 @@ var init_PathResolver = __esm({
|
|
|
7838
7838
|
return resolved;
|
|
7839
7839
|
}
|
|
7840
7840
|
/**
|
|
7841
|
-
* Get path to empty
|
|
7842
|
-
* Used by Vite
|
|
7843
|
-
*
|
|
7844
|
-
*
|
|
7841
|
+
* Get absolute path to empty ESM module for optional dependency aliasing.
|
|
7842
|
+
* Used by Vite resolveId — served directly to the browser in dev mode.
|
|
7843
|
+
* Note: resolvePackage uses require.resolve (CJS) which picks the "default"
|
|
7844
|
+
* condition (.cjs), so we derive the ESM path from it.
|
|
7845
7845
|
*/
|
|
7846
|
-
getEmptyModulePath(
|
|
7847
|
-
|
|
7848
|
-
|
|
7849
|
-
|
|
7846
|
+
getEmptyModulePath() {
|
|
7847
|
+
const cjsPath = this.getEmptyCjsModulePath();
|
|
7848
|
+
return cjsPath.replace(/\.cjs$/, ".js");
|
|
7849
|
+
}
|
|
7850
|
+
/**
|
|
7851
|
+
* Get absolute path to empty CJS module for esbuild pre-bundling.
|
|
7852
|
+
* CJS because esbuild statically analyzes ESM exports — CJS has dynamic
|
|
7853
|
+
* exports, so any named import resolves.
|
|
7854
|
+
*/
|
|
7855
|
+
getEmptyCjsModulePath() {
|
|
7850
7856
|
const resolved = this.resolvePackage("@donotdev/core/empty");
|
|
7851
|
-
if (resolved)
|
|
7852
|
-
|
|
7853
|
-
return this.normalizePath(join(thisDir, "../empty.js"));
|
|
7857
|
+
if (!resolved) throw new Error("Cannot resolve @donotdev/core/empty \u2014 package setup is broken");
|
|
7858
|
+
return resolved;
|
|
7854
7859
|
}
|
|
7855
7860
|
// === PRIVATE METHODS ===
|
|
7856
7861
|
/**
|