@devdogsuga/devtools 0.1.22 → 0.1.24
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/dist/db/run.d.ts +0 -2
- package/dist/db/run.js +1 -3
- package/package.json +5 -5
package/dist/db/run.d.ts
CHANGED
|
@@ -15,8 +15,6 @@ export declare function capture(args: string[]): Promise<string>;
|
|
|
15
15
|
export declare const supabase: (...args: string[]) => Promise<number>;
|
|
16
16
|
/** `pnpm exec supabase …` with captured stdout. */
|
|
17
17
|
export declare const supabaseCapture: (...args: string[]) => Promise<string>;
|
|
18
|
-
/** Build the supabase package (compiles database.types.ts into dist/). */
|
|
19
|
-
export declare const buildSupabase: () => Promise<number>;
|
|
20
18
|
/**
|
|
21
19
|
* Generate and write Database types from the session's database.
|
|
22
20
|
*
|
package/dist/db/run.js
CHANGED
|
@@ -66,8 +66,6 @@ export async function capture(args) {
|
|
|
66
66
|
export const supabase = (...args) => run(["exec", "supabase", ...args]);
|
|
67
67
|
/** `pnpm exec supabase …` with captured stdout. */
|
|
68
68
|
export const supabaseCapture = (...args) => capture(["exec", "supabase", ...args]);
|
|
69
|
-
/** Build the supabase package (compiles database.types.ts into dist/). */
|
|
70
|
-
export const buildSupabase = () => run(["--filter", "@devdogsuga/supabase", "build"]);
|
|
71
69
|
/**
|
|
72
70
|
* Generate and write Database types from the session's database.
|
|
73
71
|
*
|
|
@@ -91,7 +89,7 @@ export async function generateTypes(dbUrl) {
|
|
|
91
89
|
catch {
|
|
92
90
|
return 1;
|
|
93
91
|
}
|
|
94
|
-
return
|
|
92
|
+
return 0;
|
|
95
93
|
}
|
|
96
94
|
/**
|
|
97
95
|
* `supabase db push` over `dbUrl`, inherited stdio, resolving to the exit code.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devdogsuga/devtools",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.24",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Contributor CLI for a DevDogsUGA checkout: database, env, images, emails, cron, deploy. Ships built JS; run via `pnpm dlx @devdogsuga/devtools` (or the `devtools`/`devtools-ci` bins once installed) from inside a DevDogsUGA clone.",
|
|
@@ -68,10 +68,10 @@
|
|
|
68
68
|
"react": "^19.2.8",
|
|
69
69
|
"vitest": "^4.1.11",
|
|
70
70
|
"@devdogsuga/brand": "0.1.3",
|
|
71
|
-
"@devdogsuga/
|
|
72
|
-
"@devdogsuga/
|
|
73
|
-
"@devdogsuga/
|
|
74
|
-
"@devdogsuga/
|
|
71
|
+
"@devdogsuga/db": "0.1.2",
|
|
72
|
+
"@devdogsuga/env": "0.1.3",
|
|
73
|
+
"@devdogsuga/events": "0.1.4",
|
|
74
|
+
"@devdogsuga/config": "0.1.2"
|
|
75
75
|
},
|
|
76
76
|
"scripts": {
|
|
77
77
|
"build": "tsc && node scripts/write-build-info.mjs",
|