create-zenbu-app 0.0.12 → 0.0.13

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-zenbu-app",
3
- "version": "0.0.12",
3
+ "version": "0.0.13",
4
4
  "description": "Scaffold a new Zenbu app",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -34,7 +34,7 @@
34
34
  },
35
35
  "scripts": {
36
36
  "build": "pnpm run build:agents && tsdown",
37
- "build:agents": "sh -c 'for d in vanilla tailwind plugin; do { printf \"# Zenbu.js docs\\n\\n\"; curl -fsSL https://zenbulabs.mintlify.app/llms-full.txt; } > templates/$d/AGENTS.md; done'",
37
+ "build:agents": "sh -c 'for d in vanilla tailwind plugin; do { printf \"# Zenbu.js docs\\n\\n\"; curl -fsSL https://zenbulabs.mintlify.app/llms-full.txt; printf \"\\n\\n# General rules\\n\\n- never use any, every api in the app is fully type safe\\n- use zen link after making changes to sync types if it did not happen automatically\\n- always use <pm> run db:generate after making a schema change otherwise it will not take affect\\n- always prefer to make db updates via the replica so that updates are instant. if you used rpc to update a replica it would serve 0 purpose and just add an extra round trip\\n- prefer one component per file\\n\"; } > templates/$d/AGENTS.md; done'",
38
38
  "typecheck": "tsc --noEmit -p tsconfig.json"
39
39
  }
40
40
  }
@@ -1432,3 +1432,12 @@ export default defineConfig({
1432
1432
  </CardGroup>
1433
1433
 
1434
1434
 
1435
+
1436
+
1437
+ # General rules
1438
+
1439
+ - never use any, every api in the app is fully type safe
1440
+ - use zen link after making changes to sync types if it did not happen automatically
1441
+ - always use <pm> run db:generate after making a schema change otherwise it will not take affect
1442
+ - always prefer to make db updates via the replica so that updates are instant. if you used rpc to update a replica it would serve 0 purpose and just add an extra round trip
1443
+ - prefer one component per file
@@ -1432,3 +1432,12 @@ export default defineConfig({
1432
1432
  </CardGroup>
1433
1433
 
1434
1434
 
1435
+
1436
+
1437
+ # General rules
1438
+
1439
+ - never use any, every api in the app is fully type safe
1440
+ - use zen link after making changes to sync types if it did not happen automatically
1441
+ - always use <pm> run db:generate after making a schema change otherwise it will not take affect
1442
+ - always prefer to make db updates via the replica so that updates are instant. if you used rpc to update a replica it would serve 0 purpose and just add an extra round trip
1443
+ - prefer one component per file
@@ -1432,3 +1432,12 @@ export default defineConfig({
1432
1432
  </CardGroup>
1433
1433
 
1434
1434
 
1435
+
1436
+
1437
+ # General rules
1438
+
1439
+ - never use any, every api in the app is fully type safe
1440
+ - use zen link after making changes to sync types if it did not happen automatically
1441
+ - always use <pm> run db:generate after making a schema change otherwise it will not take affect
1442
+ - always prefer to make db updates via the replica so that updates are instant. if you used rpc to update a replica it would serve 0 purpose and just add an extra round trip
1443
+ - prefer one component per file