@donotdev/cli 0.0.36 → 0.1.0
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/LICENSE.md +21 -48
- package/dependencies-matrix.json +24 -24
- package/dist/bin/commands/agent-setup.js +6965 -125
- package/dist/bin/commands/build.js +6 -3
- package/dist/bin/commands/bump.js +35 -15
- package/dist/bin/commands/cacheout.js +19 -3
- package/dist/bin/commands/coach.js +6 -3
- package/dist/bin/commands/create-app.js +18 -4
- package/dist/bin/commands/create-project.js +19 -5
- package/dist/bin/commands/db.js +1700 -3786
- package/dist/bin/commands/deploy.js +144 -98
- package/dist/bin/commands/dev.js +8 -7
- package/dist/bin/commands/doctor.js +6 -3
- package/dist/bin/commands/emu.js +8 -7
- package/dist/bin/commands/format.js +7 -5
- package/dist/bin/commands/get-demo.js +18 -4
- package/dist/bin/commands/make-admin.js +1809 -179
- package/dist/bin/commands/preview.js +8 -7
- package/dist/bin/commands/seed.js +1700 -3786
- package/dist/bin/commands/setup-cicd.js +6 -3
- package/dist/bin/commands/setup.js +23 -20
- package/dist/bin/commands/staging.js +144 -98
- package/dist/bin/commands/sync-secrets.js +6 -3
- package/dist/bin/commands/type-check.js +6 -3
- package/dist/bin/commands/wai.js +6 -3
- package/dist/bin/dndev.js +21 -1
- package/dist/bin/donotdev.js +21 -1
- package/dist/index.js +172 -107
- package/package.json +2 -2
- 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/functions-supabase/supabase/functions/.env.example +12 -0
- package/templates/functions-supabase/supabase/functions/disconnect-oauth/index.ts.example +7 -0
- package/templates/functions-supabase/supabase/functions/exchange-token/index.ts.example +7 -0
- package/templates/functions-supabase/supabase/functions/get-connections/index.ts.example +7 -0
- package/templates/functions-supabase/supabase/functions/refresh-token/index.ts.example +7 -0
- package/templates/preset-admin/src/pages/DashboardPage.tsx.example +189 -0
- package/templates/preset-admin/src/pages/EntityPage.tsx.example +84 -0
- package/templates/preset-admin/src/pages/ReportsPage.tsx.example +243 -0
- package/templates/preset-admin/src/pages/SettingsPage.tsx.example +283 -0
- package/templates/preset-admin/src/pages/UsersPage.tsx.example +128 -0
- package/templates/preset-ecommerce/src/pages/CartPage.tsx.example +167 -0
- package/templates/preset-ecommerce/src/pages/CatalogPage.tsx.example +187 -0
- package/templates/preset-ecommerce/src/pages/CheckoutPage.tsx.example +244 -0
- package/templates/preset-ecommerce/src/pages/HomePage.tsx.example +268 -0
- package/templates/preset-ecommerce/src/pages/ProductPage.tsx.example +228 -0
- package/templates/preset-landing/src/pages/AboutPage.tsx.example +237 -0
- package/templates/preset-landing/src/pages/ContactPage.tsx.example +192 -0
- package/templates/preset-landing/src/pages/HomePage.tsx.example +399 -0
- package/templates/preset-saas/src/pages/DashboardPage.tsx.example +195 -0
- package/templates/preset-saas/src/pages/HomePage.tsx.example +270 -0
- package/templates/preset-saas/src/pages/PricingPage.tsx.example +204 -0
- package/templates/preset-saas/src/pages/ProfilePage.tsx.example +191 -0
- package/templates/preset-saas/src/pages/SettingsPage.tsx.example +292 -0
- package/templates/root-consumer/.claude/commands/brainstorm.md.example +28 -0
- package/templates/root-consumer/.claude/commands/design.md.example +31 -0
- package/templates/root-consumer/.claude/commands/grill.md.example +33 -6
- package/templates/root-consumer/.claude/skills/brainstorm/SKILL.md.example +16 -0
- package/templates/root-consumer/.claude/skills/build/SKILL.md.example +50 -0
- package/templates/root-consumer/.claude/skills/design/SKILL.md.example +17 -0
- package/templates/root-consumer/.claude/skills/grill/SKILL.md.example +11 -5
- package/templates/root-consumer/guides/dndev/SETUP_OAUTH.md.example +2 -1
- 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 O from "node:readline";
|
|
169
169
|
import { Writable as X } from "node:stream";
|
|
@@ -254,7 +254,7 @@ function m(e2, u2) {
|
|
|
254
254
|
}
|
|
255
255
|
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;
|
|
256
256
|
var init_dist = __esm({
|
|
257
|
-
"node_modules/.bun/@clack+
|
|
257
|
+
"node_modules/.bun/@clack+core@0.5.0/node_modules/@clack/core/dist/index.mjs"() {
|
|
258
258
|
init_utils();
|
|
259
259
|
import_sisteransi = __toESM(require_src(), 1);
|
|
260
260
|
uD = DD();
|
|
@@ -7607,7 +7607,10 @@ var init_PathResolver = __esm({
|
|
|
7607
7607
|
*/
|
|
7608
7608
|
getEmptyCjsModulePath() {
|
|
7609
7609
|
const resolved = this.resolvePackage("@donotdev/core/empty");
|
|
7610
|
-
if (!resolved)
|
|
7610
|
+
if (!resolved)
|
|
7611
|
+
throw new Error(
|
|
7612
|
+
"Cannot resolve @donotdev/core/empty \u2014 package setup is broken"
|
|
7613
|
+
);
|
|
7611
7614
|
return resolved;
|
|
7612
7615
|
}
|
|
7613
7616
|
// === PRIVATE METHODS ===
|
|
@@ -7916,12 +7919,10 @@ function createAppEnv(appPath) {
|
|
|
7916
7919
|
function spawnCrossPlatform(command, args, options) {
|
|
7917
7920
|
const isWindows = platform() === "win32";
|
|
7918
7921
|
const useShell = options.shell ?? isWindows;
|
|
7922
|
+
const { shell: _3, ...rest } = options;
|
|
7919
7923
|
if (useShell) {
|
|
7920
|
-
|
|
7921
|
-
const { shell: _4, ...rest2 } = options;
|
|
7922
|
-
return spawn(fullCommand, [], { ...rest2, shell: true });
|
|
7924
|
+
return spawn(command, args, { ...rest, shell: true });
|
|
7923
7925
|
}
|
|
7924
|
-
const { shell: _3, ...rest } = options;
|
|
7925
7926
|
return spawn(command, args, rest);
|
|
7926
7927
|
}
|
|
7927
7928
|
|