File tree Expand file tree Collapse file tree 4 files changed +10
-0
lines changed
Expand file tree Collapse file tree 4 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,10 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
7575- Kysely query builder as escape hatch instead of raw SQL
7676- Schema-first approach with ZModel DSL extension of Prisma schema language
7777
78+ ## Pull Requests
79+
80+ - Always target the ` dev ` branch (not ` main ` ) when creating PRs
81+
7882## Development Notes
7983
8084- Always run ` zenstack generate ` after modifying ZModel schemas
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ import { STARTER_ZMODEL } from './templates';
1313export async function run ( projectPath : string ) {
1414 const packages = [
1515 { name : '@zenstackhq/cli@latest' , dev : true } ,
16+ { name : '@zenstackhq/schema@latest' , dev : false } ,
1617 { name : '@zenstackhq/orm@latest' , dev : false } ,
1718 ] ;
1819 let pm = await detect ( ) ;
Original file line number Diff line number Diff line change @@ -67,6 +67,7 @@ function initProject(name: string) {
6767 // install packages
6868 const packages = [
6969 { name : '@zenstackhq/cli@latest' , dev : true } ,
70+ { name : '@zenstackhq/schema@latest' , dev : false } ,
7071 { name : '@zenstackhq/orm@latest' , dev : false } ,
7172 { name : 'better-sqlite3' , dev : false } ,
7273 { name : '@types/better-sqlite3' , dev : true } ,
Original file line number Diff line number Diff line change 2727 "types" : " ./dist/index.d.cts" ,
2828 "default" : " ./dist/index.cjs"
2929 }
30+ },
31+ "./package.json" : {
32+ "import" : " ./package.json" ,
33+ "require" : " ./package.json"
3034 }
3135 },
3236 "dependencies" : {
You can’t perform that action at this time.
0 commit comments