@webjsdev/cli 0.10.69 → 0.10.71
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/bin/webjs.js +38 -0
- package/lib/app-icon.js +0 -10
- package/lib/create.js +20 -14
- package/lib/dev-reload.js +3 -1
- package/lib/doctor/codes.js +1 -0
- package/lib/doctor/probes/app-icon.js +5 -10
- package/lib/doctor/probes/dark-theme.js +91 -0
- package/lib/doctor/runner.js +2 -0
- package/lib/runtime-rewrite.js +18 -18
- package/package.json +3 -3
- package/templates/.agents/rules/workflow.md +9 -24
- package/templates/.agents/skills/webjs/SKILL.md +9 -17
- package/templates/.agents/skills/webjs/references/built-ins.md +3 -1
- package/templates/.agents/skills/webjs/references/runtime.md +5 -3
- package/templates/.agents/skills/webjs/references/styling.md +1 -1
- package/templates/.claude/hooks/nudge-uncommitted.sh +0 -7
- package/templates/AGENTS.md +45 -47
- package/templates/CLAUDE.md +12 -15
- package/templates/CONVENTIONS.md +15 -32
- package/templates/Dockerfile +7 -1
- package/templates/partials/agents-playbook-api.md +6 -14
- package/templates/partials/agents-playbook-fullstack.md +120 -566
- package/templates/scripts/clear-gallery.mjs +3 -3
|
@@ -147,8 +147,8 @@ for (const f of ['db/dev.db', 'db/dev.db-shm', 'db/dev.db-wal']) rm(f);
|
|
|
147
147
|
// children before test/ so it reads as empty.
|
|
148
148
|
for (const d of ['app/api', 'test/unit', 'test/e2e', 'test']) if (pruneEmpty(d)) removed++;
|
|
149
149
|
|
|
150
|
-
console.log(`Gallery cleared (${removed} paths removed). The agent
|
|
151
|
-
console.log('Next:
|
|
150
|
+
console.log(`Gallery cleared (${removed} paths removed). The agent skill and your database wiring are kept. Build your own design system: run \`npx webjsdev ui add <name>\` and theme it (see .agents/skills/webjs/references/styling.md).`);
|
|
151
|
+
console.log('Next: regenerate the database (db:generate then db:migrate), then start the dev server and build your app in app/ and modules/.');
|
|
152
152
|
|
|
153
153
|
function MINIMAL_PAGE() {
|
|
154
154
|
return `import { html } from '@webjsdev/core';
|
|
@@ -163,7 +163,7 @@ export default function Home() {
|
|
|
163
163
|
<h1 class="text-4xl font-bold tracking-tight m-0">Your app</h1>
|
|
164
164
|
<p class="text-base leading-relaxed m-0 opacity-70">
|
|
165
165
|
The gallery is cleared. This is <code class="text-[0.9em]">app/page.ts</code>. Build your
|
|
166
|
-
app from here. The guide is <code class="text-[0.9em]"
|
|
166
|
+
app from here. The guide is <code class="text-[0.9em]">.agents/skills/webjs/SKILL.md</code>.
|
|
167
167
|
</p>
|
|
168
168
|
<nav class="flex items-center gap-5 text-sm opacity-70">
|
|
169
169
|
<a href="https://webjs.dev/docs" target="_blank" rel="noopener" class="hover:opacity-100 transition-opacity no-underline">Docs</a>
|