clawfire 0.5.1 → 0.6.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/README.md +10 -10
- package/dist/cli.js +76 -16
- package/dist/codegen.cjs.map +1 -1
- package/dist/codegen.d.cts +1 -1
- package/dist/codegen.d.ts +1 -1
- package/dist/codegen.js.map +1 -1
- package/dist/{dev-server-7S6FZNJT.js → dev-server-GD445Q6F.js} +3 -3
- package/dist/dev.cjs +3 -3
- package/dist/dev.cjs.map +1 -1
- package/dist/dev.js +3 -3
- package/dist/dev.js.map +1 -1
- package/dist/{discover-DYNqz_ym.d.cts → discover-8p9Mujyt.d.cts} +3 -3
- package/dist/{discover-DYNqz_ym.d.ts → discover-8p9Mujyt.d.ts} +3 -3
- package/dist/functions.cjs.map +1 -1
- package/dist/functions.d.cts +1 -1
- package/dist/functions.d.ts +1 -1
- package/dist/functions.js.map +1 -1
- package/package.json +1 -1
- package/templates/CLAUDE.md +22 -19
- package/templates/functions/index.ts +3 -3
- package/templates/starter/.claude/skills/clawfire-api/SKILL.md +8 -8
- package/templates/starter/.claude/skills/clawfire-diagnose/SKILL.md +6 -6
- package/templates/starter/.claude/skills/clawfire-model/SKILL.md +2 -2
- package/templates/starter/CLAUDE.md +33 -31
- package/templates/starter/app/pages/index.html +7 -6
- package/templates/starter/functions/index.ts +52 -0
- package/templates/starter/functions/package.json +22 -0
- package/templates/starter/functions/tsconfig.json +18 -0
- package/templates/starter/package.json +4 -2
- package/templates/starter/tsconfig.json +1 -1
- /package/templates/{app → functions}/routes/auth/login.ts +0 -0
- /package/templates/{app → functions}/routes/health.ts +0 -0
- /package/templates/{app → functions}/schemas/user.ts +0 -0
- /package/templates/starter/{app → functions}/routes/health.ts +0 -0
- /package/templates/starter/{app → functions}/routes/todos/create.ts +0 -0
- /package/templates/starter/{app → functions}/routes/todos/delete.ts +0 -0
- /package/templates/starter/{app → functions}/routes/todos/list.ts +0 -0
- /package/templates/starter/{app → functions}/routes/todos/update.ts +0 -0
- /package/templates/starter/{app → functions}/schemas/todo.ts +0 -0
- /package/templates/starter/{app → functions}/store.ts +0 -0
package/dist/dev.js
CHANGED
|
@@ -3520,8 +3520,8 @@ var DevServer = class {
|
|
|
3520
3520
|
onSetupRoutes: options.onSetupRoutes || (() => {
|
|
3521
3521
|
})
|
|
3522
3522
|
};
|
|
3523
|
-
this.routesDir = resolve6(this.options.projectDir, "
|
|
3524
|
-
this.schemasDir = resolve6(this.options.projectDir, "
|
|
3523
|
+
this.routesDir = resolve6(this.options.projectDir, "functions/routes");
|
|
3524
|
+
this.schemasDir = resolve6(this.options.projectDir, "functions/schemas");
|
|
3525
3525
|
this.publicDir = resolve6(this.options.projectDir, "public");
|
|
3526
3526
|
this.pagesDir = resolve6(this.options.projectDir, "app/pages");
|
|
3527
3527
|
this.componentsDir = resolve6(this.options.projectDir, "app/components");
|
|
@@ -4083,7 +4083,7 @@ ${liveReloadScript}
|
|
|
4083
4083
|
}
|
|
4084
4084
|
console.log("");
|
|
4085
4085
|
if (watching) {
|
|
4086
|
-
const watchDirs = ["
|
|
4086
|
+
const watchDirs = ["functions/routes/", "functions/schemas/", "public/"];
|
|
4087
4087
|
if (pagesActive) watchDirs.push("app/pages/", "app/components/");
|
|
4088
4088
|
console.log(` \x1B[35mHot Reload\x1B[0m : \x1B[32mON\x1B[0m`);
|
|
4089
4089
|
console.log(` \x1B[2mWatching: ${watchDirs.join(", ")}\x1B[0m`);
|