@wervt/cli 0.2.4 → 0.2.5
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/index.mjs +6 -1
- package/package.json +1 -1
- package/skill/SKILL.md +2 -1
package/dist/index.mjs
CHANGED
|
@@ -220,6 +220,7 @@ const deploy = defineCommand({
|
|
|
220
220
|
const labels = {
|
|
221
221
|
extract: "Extracting",
|
|
222
222
|
migrate: "Migrating database",
|
|
223
|
+
storage: "Setting up storage",
|
|
223
224
|
activate: "Activating"
|
|
224
225
|
};
|
|
225
226
|
const decoder = new TextDecoder();
|
|
@@ -241,6 +242,10 @@ const deploy = defineCommand({
|
|
|
241
242
|
if (process.env.GITHUB_OUTPUT) await appendFile(process.env.GITHUB_OUTPUT, `url=${event.url}\nrelease=${event.release}\n`);
|
|
242
243
|
return;
|
|
243
244
|
}
|
|
245
|
+
if (event.step === "storage-failed") {
|
|
246
|
+
p.log.warn(`Storage isn't set up: ${event.message}. The app runs; files won't work yet.`);
|
|
247
|
+
continue;
|
|
248
|
+
}
|
|
244
249
|
spinner.message(labels[event.step] ?? event.step);
|
|
245
250
|
}
|
|
246
251
|
}
|
|
@@ -561,7 +566,7 @@ const remove = defineCommand({
|
|
|
561
566
|
},
|
|
562
567
|
"drop-database": {
|
|
563
568
|
type: "boolean",
|
|
564
|
-
description: "Also drop the app's schema and all its data"
|
|
569
|
+
description: "Also drop the app's schema, its files and all its data"
|
|
565
570
|
},
|
|
566
571
|
yes: {
|
|
567
572
|
type: "boolean",
|
package/package.json
CHANGED
package/skill/SKILL.md
CHANGED
|
@@ -34,7 +34,8 @@ The app comes with `AGENTS.md`, skills in `.claude/skills/` and a deploy workflo
|
|
|
34
34
|
`AGENTS.md` before writing code** and follow it: server routes, valibot validation, Drizzle schema
|
|
35
35
|
and migrations, live data with shapes, users, logging, and what the isolate runtime can't do
|
|
36
36
|
(no filesystem, no child processes, no long-running work, no WebSockets). Periodic work goes
|
|
37
|
-
into tasks (`defineTask` + `nitro.scheduledTasks`), which wervt runs on schedule.
|
|
37
|
+
into tasks (`defineTask` + `nitro.scheduledTasks`), which wervt runs on schedule. Files go into
|
|
38
|
+
the app's own bucket with ablage (`pnpm add ablage`, no configuration).
|
|
38
39
|
|
|
39
40
|
Before picking a name, run `wervt apps` so you don't overwrite an existing app. If the user named an
|
|
40
41
|
existing app, work in its repository instead.
|