create-disposabl-app 0.8.8 → 0.8.10
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/README.md +5 -3
- package/dist/disposabl.js +42 -42
- package/dist/index.js +14 -14
- package/dist/templates/default/bun.lock +28484 -5329
- package/dist/templates/default/dev.ts +1 -8
- package/dist/templates/default/packages/backend/convex/apps/actions/cleanup.ts +32 -11
- package/dist/templates/default/packages/backend/convex/apps/actions/expo.ts +15 -9
- package/dist/templates/default/packages/backend/convex/apps/operations/internal.ts +26 -0
- package/dist/templates/default/packages/backend/convex/schema.ts +1 -0
- package/dist/templates/default/packages/cli/README.md +5 -1
- package/dist/templates/default/packages/cli/commands.ts +15 -8
- package/dist/templates/default/packages/cli/delete.ts +40 -31
- package/dist/templates/default/packages/skill/SKILL.md +10 -2
- package/dist/templates/default/turbo.json +71 -24
- package/package.json +1 -1
|
@@ -11,14 +11,7 @@ const config = JSON.parse(await read(join(root, "disposabl.json")));
|
|
|
11
11
|
if (!env.CONVEX_DEPLOY_KEY && (!env.CONVEX_DEPLOYMENT || config.appId)) {
|
|
12
12
|
console.log("Setting up this app through your Disposabl connections…");
|
|
13
13
|
const configure = Bun.spawn(
|
|
14
|
-
[
|
|
15
|
-
"bun",
|
|
16
|
-
"create",
|
|
17
|
-
"disposabl-app@latest",
|
|
18
|
-
basename(root),
|
|
19
|
-
"--setup",
|
|
20
|
-
"--yes",
|
|
21
|
-
],
|
|
14
|
+
["bun", "create", "disposabl-app@latest", basename(root), "--yes"],
|
|
22
15
|
{
|
|
23
16
|
cwd: dirname(root),
|
|
24
17
|
stdin: "inherit",
|
|
@@ -18,14 +18,19 @@ import {
|
|
|
18
18
|
management,
|
|
19
19
|
} from "../../previews/token/actions/management";
|
|
20
20
|
import { deleteArgs } from "../validator";
|
|
21
|
-
import {
|
|
21
|
+
import {
|
|
22
|
+
ExpoTokenDeletionUnsupported,
|
|
23
|
+
deleteExpo,
|
|
24
|
+
findExpo,
|
|
25
|
+
verifyExpo,
|
|
26
|
+
} from "./expo";
|
|
22
27
|
|
|
23
28
|
export const remove = internalAction({
|
|
24
29
|
args: { ...identityFields, ...deleteArgs },
|
|
25
30
|
returns: v.null(),
|
|
26
31
|
handler: async (ctx, { userId, appId }): Promise<null> => {
|
|
27
32
|
const identity = { userId, appId };
|
|
28
|
-
const { until, resuming, pending } = await ctx.runMutation(
|
|
33
|
+
const { until, resuming, pending, expoManual } = await ctx.runMutation(
|
|
29
34
|
internal.apps.operations.internal.begin,
|
|
30
35
|
{ ...identity, kind: "delete" },
|
|
31
36
|
);
|
|
@@ -198,6 +203,7 @@ export const remove = internalAction({
|
|
|
198
203
|
projectId?: string;
|
|
199
204
|
accountId: string;
|
|
200
205
|
receipt?: string;
|
|
206
|
+
projectUrl: string;
|
|
201
207
|
}
|
|
202
208
|
| undefined;
|
|
203
209
|
if (linked.expoAccountId || linked.expoProjectId) {
|
|
@@ -218,7 +224,7 @@ export const remove = internalAction({
|
|
|
218
224
|
linked.expoProjectId,
|
|
219
225
|
);
|
|
220
226
|
if (project) verifyExpo(project, connection.accountId, appId);
|
|
221
|
-
if (!project && linked.expoProjectId && !retry)
|
|
227
|
+
if (!project && linked.expoProjectId && !retry && !expoManual)
|
|
222
228
|
throw new ConvexError(
|
|
223
229
|
"The linked Expo project is unavailable. Reconnect its owner before deleting this app.",
|
|
224
230
|
);
|
|
@@ -227,9 +233,11 @@ export const remove = internalAction({
|
|
|
227
233
|
projectId: project?.id,
|
|
228
234
|
accountId: connection.accountId,
|
|
229
235
|
receipt: retry?.receipt,
|
|
236
|
+
projectUrl: `https://expo.dev/accounts/${encodeURIComponent(project?.ownerAccount.name ?? connection.name)}/projects/${encodeURIComponent(project?.slug ?? `app-${appId}`)}/settings/advanced`,
|
|
230
237
|
};
|
|
231
238
|
}
|
|
232
239
|
started = true;
|
|
240
|
+
let manualExpoDeletion = false;
|
|
233
241
|
if (expo) {
|
|
234
242
|
// Resume the receipt even if Expo has already removed the project from lookup.
|
|
235
243
|
if (expo.projectId || expo.receipt) {
|
|
@@ -244,17 +252,19 @@ export const remove = internalAction({
|
|
|
244
252
|
},
|
|
245
253
|
);
|
|
246
254
|
} catch (error) {
|
|
247
|
-
if (error instanceof
|
|
248
|
-
|
|
249
|
-
|
|
255
|
+
if (!(error instanceof ExpoTokenDeletionUnsupported)) throw error;
|
|
256
|
+
await ctx.runMutation(
|
|
257
|
+
internal.apps.operations.internal.requireExpoDeletion,
|
|
258
|
+
{
|
|
259
|
+
...identity,
|
|
260
|
+
until,
|
|
250
261
|
projectId: expo.projectId ?? linked.expoProjectId!,
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
throw error;
|
|
262
|
+
},
|
|
263
|
+
);
|
|
264
|
+
manualExpoDeletion = true;
|
|
255
265
|
}
|
|
256
266
|
}
|
|
257
|
-
await forget("expo");
|
|
267
|
+
if (!manualExpoDeletion) await forget("expo");
|
|
258
268
|
}
|
|
259
269
|
if (github) {
|
|
260
270
|
await deleting("github", github.accountId);
|
|
@@ -272,6 +282,17 @@ export const remove = internalAction({
|
|
|
272
282
|
);
|
|
273
283
|
await forget("convex");
|
|
274
284
|
}
|
|
285
|
+
if (manualExpoDeletion && expo) {
|
|
286
|
+
await deleting("expo", expo.accountId);
|
|
287
|
+
throw new ConvexError({
|
|
288
|
+
code: "expo_manual_delete_required",
|
|
289
|
+
appId,
|
|
290
|
+
projectId: expo.projectId ?? linked.expoProjectId!,
|
|
291
|
+
projectUrl: expo.projectUrl,
|
|
292
|
+
message:
|
|
293
|
+
"GitHub and Convex cleanup is complete. Open this Expo project's settings, sign in to Expo if needed, and delete the project there. Then retry Disposabl deletion to verify cleanup and remove the app record. Disposabl never asks for your Expo password.",
|
|
294
|
+
});
|
|
295
|
+
}
|
|
275
296
|
while (
|
|
276
297
|
!(await ctx.runMutation(internal.apps.operations.internal.erase, {
|
|
277
298
|
...identity,
|
|
@@ -30,15 +30,15 @@ export async function expoRequest<T>(
|
|
|
30
30
|
data?: T;
|
|
31
31
|
errors?: { message?: string; extensions?: { errorCode?: string } }[];
|
|
32
32
|
};
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
(
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
33
|
+
for (const error of result.errors ?? []) {
|
|
34
|
+
if (error.extensions?.errorCode === "SUDO_MODE_REQUIRED")
|
|
35
|
+
throw new ExpoTokenDeletionUnsupported("SUDO_MODE_REQUIRED");
|
|
36
|
+
if (
|
|
37
|
+
error.message ===
|
|
38
|
+
"Only regular user and SSO user access to this API is supported"
|
|
39
39
|
)
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
throw new ExpoTokenDeletionUnsupported("USER_SESSION_REQUIRED");
|
|
41
|
+
}
|
|
42
42
|
if (result.errors?.length) {
|
|
43
43
|
if (
|
|
44
44
|
result.errors.every(
|
|
@@ -53,7 +53,13 @@ export async function expoRequest<T>(
|
|
|
53
53
|
if (!result.data) throw new ConvexError("Expo returned no project details.");
|
|
54
54
|
return result.data;
|
|
55
55
|
}
|
|
56
|
-
export class
|
|
56
|
+
export class ExpoTokenDeletionUnsupported extends Error {
|
|
57
|
+
constructor(
|
|
58
|
+
readonly providerCode: "SUDO_MODE_REQUIRED" | "USER_SESSION_REQUIRED",
|
|
59
|
+
) {
|
|
60
|
+
super("Expo rejected project deletion with an access token.");
|
|
61
|
+
}
|
|
62
|
+
}
|
|
57
63
|
class ExpoNotFound extends Error {}
|
|
58
64
|
export async function findExpo(
|
|
59
65
|
token: string,
|
|
@@ -35,6 +35,7 @@ export const begin = internalMutation({
|
|
|
35
35
|
until: v.number(),
|
|
36
36
|
resuming: v.boolean(),
|
|
37
37
|
pending: v.optional(pendingDelete),
|
|
38
|
+
expoManual: v.optional(v.boolean()),
|
|
38
39
|
}),
|
|
39
40
|
handler: async (ctx, { userId, appId, kind }) => {
|
|
40
41
|
const app = await ownedApp(ctx, userId, appId);
|
|
@@ -53,6 +54,7 @@ export const begin = internalMutation({
|
|
|
53
54
|
until,
|
|
54
55
|
resuming: app.operation?.kind === "delete",
|
|
55
56
|
pending: app.operation?.pending,
|
|
57
|
+
expoManual: app.operation?.expoManual,
|
|
56
58
|
};
|
|
57
59
|
},
|
|
58
60
|
});
|
|
@@ -164,6 +166,30 @@ export const deletingResource = internalMutation({
|
|
|
164
166
|
return null;
|
|
165
167
|
},
|
|
166
168
|
});
|
|
169
|
+
export const requireExpoDeletion = internalMutation({
|
|
170
|
+
args: {
|
|
171
|
+
...identityFields,
|
|
172
|
+
appId: v.string(),
|
|
173
|
+
until: v.number(),
|
|
174
|
+
projectId: v.string(),
|
|
175
|
+
},
|
|
176
|
+
returns: v.null(),
|
|
177
|
+
handler: async (ctx, { userId, appId, until, projectId }) => {
|
|
178
|
+
const app = await ownedApp(ctx, userId, appId);
|
|
179
|
+
if (
|
|
180
|
+
app.operation?.kind !== "delete" ||
|
|
181
|
+
app.operation.until !== until ||
|
|
182
|
+
(app.expoProjectId && app.expoProjectId !== projectId) ||
|
|
183
|
+
!app.expoAccountId
|
|
184
|
+
)
|
|
185
|
+
throw new ConvexError("Expo deletion must be restarted.");
|
|
186
|
+
await ctx.db.patch("apps", app._id, {
|
|
187
|
+
expoProjectId: projectId,
|
|
188
|
+
operation: { ...app.operation, expoManual: true },
|
|
189
|
+
});
|
|
190
|
+
return null;
|
|
191
|
+
},
|
|
192
|
+
});
|
|
167
193
|
export const erase = internalMutation({
|
|
168
194
|
args: { ...identityFields, appId: v.string(), until: v.number() },
|
|
169
195
|
returns: v.boolean(),
|
|
@@ -22,4 +22,8 @@ Credentials live under `~/.config/disposabl` with restricted file permissions. `
|
|
|
22
22
|
|
|
23
23
|
Use `--json` for machine-readable preview output. Other commands return JSON; `--help` lists their arguments.
|
|
24
24
|
|
|
25
|
-
App deletion
|
|
25
|
+
App deletion runs in the Convex action using connected provider credentials. Apps with production releases cannot be deleted. The CLI never launches EAS or asks for an Expo password.
|
|
26
|
+
|
|
27
|
+
When Expo rejects token-based deletion, the action records that Expo cleanup is pending and continues deleting GitHub and Convex. Once both are removed, it returns `expo_manual_delete_required` with the app ID, Expo project ID, and exact `projectUrl` ending in `/settings/advanced`. The CLI opens that URL in the browser and prints it. Sign in directly to Expo if needed, then use Delete project. Pass `--no-browser` to print the link without opening it.
|
|
28
|
+
|
|
29
|
+
The command exits unsuccessfully while manual cleanup is pending. Rerun the same Disposabl deletion command after deleting the Expo project. The action verifies the connected Expo account and project removal, then deletes previews and the app record. Interrupted provider cleanup remains resumable. Keep the owning accounts connected until deletion finishes; Disposabl does not accept Expo passwords or session cookies.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { completeExpoDeletion } from "./delete";
|
|
2
1
|
import { Command } from "commander";
|
|
2
|
+
import { openExpoDeletion } from "./delete";
|
|
3
3
|
import manifest from "./package.json";
|
|
4
4
|
import {
|
|
5
5
|
NotAuthenticated,
|
|
@@ -127,6 +127,11 @@ export async function runCli(
|
|
|
127
127
|
"Open Connections and continue when GitHub and Convex are connected",
|
|
128
128
|
);
|
|
129
129
|
const deleteApp = path === "/api/apps/delete";
|
|
130
|
+
if (deleteApp)
|
|
131
|
+
command.option(
|
|
132
|
+
"--no-browser",
|
|
133
|
+
"Print the Expo cleanup URL without opening a browser",
|
|
134
|
+
);
|
|
130
135
|
const previewGet = path === "/api/previews/get";
|
|
131
136
|
const tokenCreate = path === "/api/previews/token/create";
|
|
132
137
|
if (previewGet)
|
|
@@ -225,13 +230,15 @@ export async function runCli(
|
|
|
225
230
|
let result = await send();
|
|
226
231
|
if (result.status === 401 && !process.env.DISPOSABL_API_KEY)
|
|
227
232
|
result = await send(true);
|
|
228
|
-
if (deleteApp && result.
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
233
|
+
if (deleteApp && !result.ok)
|
|
234
|
+
openExpoDeletion(
|
|
235
|
+
await result
|
|
236
|
+
.clone()
|
|
237
|
+
.json()
|
|
238
|
+
.catch(() => null),
|
|
239
|
+
options.appId,
|
|
240
|
+
options.browser !== false,
|
|
241
|
+
);
|
|
235
242
|
if (!result.ok)
|
|
236
243
|
throw new Error(
|
|
237
244
|
`API request failed (${result.status}): ${await result.text()}`,
|
|
@@ -1,39 +1,48 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { openUrl } from "./auth";
|
|
2
2
|
|
|
3
|
-
/**
|
|
4
|
-
export
|
|
3
|
+
/** Only open the verified Expo project returned by the deletion action. */
|
|
4
|
+
export function openExpoDeletion(
|
|
5
|
+
body: unknown,
|
|
6
|
+
appId: string,
|
|
7
|
+
browser: boolean,
|
|
8
|
+
) {
|
|
9
|
+
if (!body || typeof body !== "object" || !("error" in body)) return;
|
|
10
|
+
const error = body.error;
|
|
5
11
|
if (
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
12
|
+
!error ||
|
|
13
|
+
typeof error !== "object" ||
|
|
14
|
+
!("code" in error) ||
|
|
15
|
+
error.code !== "expo_manual_delete_required"
|
|
16
|
+
)
|
|
17
|
+
return;
|
|
18
|
+
if (
|
|
19
|
+
!("appId" in error) ||
|
|
20
|
+
error.appId !== appId ||
|
|
21
|
+
!("projectUrl" in error) ||
|
|
22
|
+
typeof error.projectUrl !== "string"
|
|
10
23
|
)
|
|
11
|
-
throw new Error("The service returned an invalid Expo project ID.");
|
|
12
|
-
const command = `bunx eas-cli@27.2.0 project:delete ${projectId}`;
|
|
13
|
-
if (!process.stdin.isTTY || !process.stdout.isTTY)
|
|
14
24
|
throw new Error(
|
|
15
|
-
|
|
25
|
+
"Invalid Expo deletion response. The app record has been kept.",
|
|
16
26
|
);
|
|
27
|
+
const url = new URL(error.projectUrl);
|
|
28
|
+
const parts = url.pathname.split("/");
|
|
29
|
+
if (
|
|
30
|
+
url.origin !== "https://expo.dev" ||
|
|
31
|
+
url.username ||
|
|
32
|
+
url.password ||
|
|
33
|
+
url.search ||
|
|
34
|
+
url.hash ||
|
|
35
|
+
parts.length !== 7 ||
|
|
36
|
+
parts[1] !== "accounts" ||
|
|
37
|
+
!parts[2] ||
|
|
38
|
+
parts[3] !== "projects" ||
|
|
39
|
+
parts[4] !== `app-${appId}` ||
|
|
40
|
+
parts[5] !== "settings" ||
|
|
41
|
+
parts[6] !== "advanced"
|
|
42
|
+
)
|
|
43
|
+
throw new Error("Invalid Expo project URL. The app record has been kept.");
|
|
17
44
|
console.error(
|
|
18
|
-
|
|
45
|
+
`GitHub and Convex cleanup is complete. Finish deleting the Expo project here:\n${url.href}\nSign in to Expo if needed and choose Delete project. Then rerun this command to verify cleanup. The Disposabl app record is still pending deletion.`,
|
|
19
46
|
);
|
|
20
|
-
|
|
21
|
-
const { EXPO_TOKEN: _token, ...env } = process.env;
|
|
22
|
-
await new Promise<void>((resolve, reject) => {
|
|
23
|
-
const child = spawn(
|
|
24
|
-
"bunx",
|
|
25
|
-
["eas-cli@27.2.0", "project:delete", projectId],
|
|
26
|
-
{ stdio: "inherit", env },
|
|
27
|
-
);
|
|
28
|
-
child.on("error", reject);
|
|
29
|
-
child.on("exit", (code) =>
|
|
30
|
-
code === 0
|
|
31
|
-
? resolve()
|
|
32
|
-
: reject(
|
|
33
|
-
new Error(
|
|
34
|
-
"Expo deletion was not completed. Retry apps delete when ready.",
|
|
35
|
-
),
|
|
36
|
-
),
|
|
37
|
-
);
|
|
38
|
-
});
|
|
47
|
+
if (browser) openUrl(url.href);
|
|
39
48
|
}
|
|
@@ -8,10 +8,10 @@ description: Build and deliver a Disposabl app from a request, including develop
|
|
|
8
8
|
Aim for a first usable preview in five minutes when practical, without promising a deadline. Treat that as a web-preview target, not a first native-build deadline. In the meal-planner validation, one Android build took about 41 minutes and an iOS simulator job took about 10 minutes; later timings depend on cache and native changes. Select platform and feature IDs with `bun create disposabl-app@latest --list-options` and pass them explicitly. For example:
|
|
9
9
|
|
|
10
10
|
```sh
|
|
11
|
-
bun create disposabl-app@latest my-app --platforms web,android --features authentication --
|
|
11
|
+
bun create disposabl-app@latest my-app --platforms web,android --features authentication --yes
|
|
12
12
|
```
|
|
13
13
|
|
|
14
|
-
Use the requested platforms and features.
|
|
14
|
+
Use the requested platforms and features. Creation checks login, asks you to sign in if needed, and creates the app and its scoped development environment through Disposabl; do not create a project with the Convex CLI. If setup stops, preserve the generated files and follow its continuation instructions. Never print credentials.
|
|
15
15
|
|
|
16
16
|
Use the installed `disposabl` bin, or invoke it as `bunx --package create-disposabl-app disposabl`. Check `disposabl login status`; if needed, run `disposabl login` and use the existing authenticated browser session for signup or login when possible. Complete the required GitHub and Convex connections. Respect authorization already given for the task.
|
|
17
17
|
|
|
@@ -42,3 +42,11 @@ After pushing the PR, run `disposabl previews get` in the worktree and check eac
|
|
|
42
42
|
Use `disposabl previews get --json` when an agent needs structured status. Query again as builds progress, respecting the host's PR watcher rules, and stop waiting when every requested platform has a terminal status. Inspect and repair failures instead of repeatedly polling an unchanged failure. After merging, run `disposabl releases get --appId <appId-from-disposabl.json>`; production results are separate from the worktree's preview. Install the production Android APK alongside its preview and verify login and saved data against the production backend. Store submission is not required for Android APK delivery. TestFlight is available only after Apple signing and App Store Connect submission credentials are configured.
|
|
43
43
|
|
|
44
44
|
When CI fails, compare the notification SHA with the current branch before editing. Diagnose the exact failed step, collect independent platform failures, and batch related fixes before pushing. A push can cancel an expensive preview build. Use available PR watchers instead of polling unchanged checks. Keep separate evidence for compilation, artifact publication, installation, and login/data persistence.
|
|
45
|
+
|
|
46
|
+
## Delete an app
|
|
47
|
+
|
|
48
|
+
When the user requests deletion, run `disposabl apps delete --appId <uuid> --dangerously-delete-app`. The Convex action deletes linked resources and retains the app record until cleanup is verified. Apps with production releases cannot be deleted.
|
|
49
|
+
|
|
50
|
+
If Expo rejects deletion with its access token, GitHub and Convex cleanup still proceeds. The response `expo_manual_delete_required` includes `projectUrl`, pointing to that exact Expo project's `/settings/advanced` page. The CLI opens it automatically; if your environment cannot show that browser, open the returned URL in the user's available browser. Never send the user to a generic dashboard or another project's settings. Expo preserves the project URL through its login flow. Tell the user to sign in directly to Expo if needed and use Delete project. Never request, collect, or pass an Expo password or session cookie.
|
|
51
|
+
|
|
52
|
+
After the user finishes on Expo, retry the same Disposabl delete command. Report full deletion only after the action verifies Expo removal and deletes the app record. While waiting, report GitHub/Convex cleanup separately from the remaining manual Expo step. `--no-browser` prints the exact URL for headless callers; API and MCP callers should present and open the returned `projectUrl` themselves.
|
|
@@ -1,53 +1,96 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://turbo.build/schema.json",
|
|
3
3
|
"ui": "tui",
|
|
4
|
-
"globalEnv": [
|
|
4
|
+
"globalEnv": [
|
|
5
|
+
"BUN_VERSION",
|
|
6
|
+
"NODE_VERSION"
|
|
7
|
+
],
|
|
5
8
|
"tasks": {
|
|
6
9
|
"build": {
|
|
7
|
-
"dependsOn": [
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
"
|
|
10
|
+
"dependsOn": [
|
|
11
|
+
"^build"
|
|
12
|
+
],
|
|
13
|
+
"inputs": [
|
|
14
|
+
"$TURBO_DEFAULT$",
|
|
15
|
+
".env*"
|
|
16
|
+
],
|
|
17
|
+
"outputs": [
|
|
18
|
+
"dist/**",
|
|
19
|
+
".output/app/**"
|
|
20
|
+
],
|
|
21
|
+
"env": [
|
|
22
|
+
"VITE_CONVEX_SITE_URL",
|
|
23
|
+
"VITE_CONVEX_URL"
|
|
24
|
+
]
|
|
11
25
|
},
|
|
12
26
|
"lint": {
|
|
13
|
-
"dependsOn": [
|
|
27
|
+
"dependsOn": [
|
|
28
|
+
"^lint"
|
|
29
|
+
]
|
|
14
30
|
},
|
|
15
31
|
"format": {
|
|
16
|
-
"dependsOn": [
|
|
32
|
+
"dependsOn": [
|
|
33
|
+
"^format"
|
|
34
|
+
],
|
|
17
35
|
"cache": false
|
|
18
36
|
},
|
|
19
37
|
"typecheck": {
|
|
20
|
-
"dependsOn": [
|
|
38
|
+
"dependsOn": [
|
|
39
|
+
"^typecheck"
|
|
40
|
+
]
|
|
21
41
|
},
|
|
22
42
|
"@disposabl/web#typecheck": {
|
|
23
|
-
"dependsOn": [
|
|
24
|
-
|
|
25
|
-
|
|
43
|
+
"dependsOn": [
|
|
44
|
+
"^typecheck"
|
|
45
|
+
],
|
|
46
|
+
"inputs": [
|
|
47
|
+
"$TURBO_DEFAULT$",
|
|
48
|
+
"!src/routeTree.gen.ts"
|
|
49
|
+
],
|
|
50
|
+
"outputs": [
|
|
51
|
+
"src/routeTree.gen.ts"
|
|
52
|
+
]
|
|
26
53
|
},
|
|
27
54
|
"@disposabl/disposabl-kit#build": {
|
|
28
|
-
"dependsOn": [
|
|
29
|
-
|
|
55
|
+
"dependsOn": [
|
|
56
|
+
"^build"
|
|
57
|
+
],
|
|
58
|
+
"inputs": [
|
|
59
|
+
"$TURBO_DEFAULT$",
|
|
60
|
+
"$TURBO_ROOT$/packages/backend/convex/**"
|
|
61
|
+
]
|
|
30
62
|
},
|
|
31
63
|
"@disposabl/disposabl-kit#lint": {
|
|
32
|
-
"dependsOn": [
|
|
33
|
-
|
|
64
|
+
"dependsOn": [
|
|
65
|
+
"^lint"
|
|
66
|
+
],
|
|
67
|
+
"inputs": [
|
|
68
|
+
"$TURBO_DEFAULT$",
|
|
69
|
+
"$TURBO_ROOT$/packages/backend/convex/**"
|
|
70
|
+
]
|
|
34
71
|
},
|
|
35
72
|
"@disposabl/disposabl-kit#typecheck": {
|
|
36
|
-
"dependsOn": [
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
73
|
+
"dependsOn": [
|
|
74
|
+
"^typecheck"
|
|
75
|
+
],
|
|
76
|
+
"inputs": [
|
|
77
|
+
"$TURBO_DEFAULT$",
|
|
78
|
+
"$TURBO_ROOT$/packages/backend/convex/**"
|
|
79
|
+
]
|
|
41
80
|
},
|
|
42
81
|
"dev": {
|
|
43
82
|
"cache": false,
|
|
44
83
|
"persistent": true,
|
|
45
|
-
"passThroughEnv": [
|
|
84
|
+
"passThroughEnv": [
|
|
85
|
+
"VITE_*"
|
|
86
|
+
]
|
|
46
87
|
},
|
|
47
88
|
"@disposabl/backend#dev": {
|
|
48
89
|
"cache": false,
|
|
49
90
|
"persistent": true,
|
|
50
|
-
"with": [
|
|
91
|
+
"with": [
|
|
92
|
+
"@disposabl/backend#generate:watch"
|
|
93
|
+
]
|
|
51
94
|
},
|
|
52
95
|
"generate:watch": {
|
|
53
96
|
"cache": false,
|
|
@@ -57,9 +100,13 @@
|
|
|
57
100
|
"cache": false
|
|
58
101
|
},
|
|
59
102
|
"@disposabl/web#build": {
|
|
60
|
-
"dependsOn": [
|
|
103
|
+
"dependsOn": [
|
|
104
|
+
"^build"
|
|
105
|
+
],
|
|
61
106
|
"cache": false
|
|
62
107
|
}
|
|
63
108
|
},
|
|
64
|
-
"globalDependencies": [
|
|
109
|
+
"globalDependencies": [
|
|
110
|
+
"disposabl.json"
|
|
111
|
+
]
|
|
65
112
|
}
|