File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ " create-hypergraph " : minor
3+ ---
4+
5+ Add typesync script to templates. Bump both template @graphprotocol/hypergraph and @graphprotocol/hypergraph-react packages to 0.6.0 with typesync
6+
7+ Running typesync:
8+
9+ 1 . scaffold a hypergraph app: ` pnpm create hypergraph@latest --template vite-react --package-manager pnpm my-hypergraph-app `
10+ 2 . approve builds: ` pnpm approve-builds `
11+ 3 . run typesync: ` pnpm run typesync `
Original file line number Diff line number Diff line change 1111 "lint:fix" : " next lint --fix" ,
1212 "format" : " prettier . --check" ,
1313 "format:fix" : " prettier . --write --list-different" ,
14- "prebuild" : " pnpm --workspace-concurrency 1 --filter @graphprotocol/hypergraph run build && pnpm --workspace-concurrency 1 --filter @graphprotocol/hypergraph-react run build"
14+ "prebuild" : " pnpm --workspace-concurrency 1 --filter @graphprotocol/hypergraph run build && pnpm --workspace-concurrency 1 --filter @graphprotocol/hypergraph-react run build" ,
15+ "typesync" : " hg typesync --open"
1516 },
1617 "type" : " module" ,
1718 "dependencies" : {
Original file line number Diff line number Diff line change 88 "build" : " tsc -b && vite build" ,
99 "dev" : " vite --force" ,
1010 "preview" : " vite preview" ,
11- "typecheck" : " tsc --noEmit"
11+ "typecheck" : " tsc --noEmit" ,
12+ "typesync" : " hg typesync --open"
1213 },
1314 "dependencies" : {
1415 "@graphprotocol/hypergraph" : " workspace:*" ,
You can’t perform that action at this time.
0 commit comments