Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .changeset/solid-shirts-mate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
"create-hypergraph": minor
---

Add typesync script to templates. Bump both template @graphprotocol/hypergraph and @graphprotocol/hypergraph-react packages to 0.6.0 with typesync

Running typesync:

1. scaffold a hypergraph app: `pnpm create hypergraph@latest --template vite-react --package-manager pnpm my-hypergraph-app`
2. approve builds: `pnpm approve-builds`
3. run typesync: `pnpm run typesync`
3 changes: 2 additions & 1 deletion apps/create-hypergraph/template-nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"lint:fix": "next lint --fix",
"format": "prettier . --check",
"format:fix": "prettier . --write --list-different",
"prebuild": "pnpm --workspace-concurrency 1 --filter @graphprotocol/hypergraph run build && pnpm --workspace-concurrency 1 --filter @graphprotocol/hypergraph-react run build"
"prebuild": "pnpm --workspace-concurrency 1 --filter @graphprotocol/hypergraph run build && pnpm --workspace-concurrency 1 --filter @graphprotocol/hypergraph-react run build",
"typesync": "hg typesync --open"
},
"type": "module",
"dependencies": {
Expand Down
3 changes: 2 additions & 1 deletion apps/create-hypergraph/template-vite-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"build": "tsc -b && vite build",
"dev": "vite --force",
"preview": "vite preview",
"typecheck": "tsc --noEmit"
"typecheck": "tsc --noEmit",
"typesync": "hg typesync --open"
},
"dependencies": {
"@graphprotocol/hypergraph": "workspace:*",
Expand Down
Loading