feat(#354 | create-hypergraph-app): move hypergraph-app-template into hypergraph monorepo#355
Merged
Merged
Conversation
cmwhited
commented
Jul 22, 2025
cmwhited
commented
Jul 22, 2025
Collaborator
Author
There was a problem hiding this comment.
I would like to add more to this about how to interact with the schema.ts file/hypergraph. Will think on it. Will also add notes on using the typesync studio, once it is ready
cmwhited
commented
Jul 22, 2025
Collaborator
Author
There was a problem hiding this comment.
Need to replace this with import type { Mapping } from '@graphprotocol/typesync/Mapping';, but requires updates to hypergraph and hypergraph-react. See this PR as the packages will need to be published to npm
nikgraf
approved these changes
Jul 22, 2025
….whited/feat-354/move-app-template
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This is the initial PR to build a "create hypergraph-app" CLI tool. Moving the hypergraph-app-template into a "template-*" structure inside of the "create-hypergraph-app" package. This way, the templates will ship with the
create hypergraph-appcli tool and when the user selects a template (just vite + react) to start, it can pull the code from the tool internally, instead of needing to perform either agit clone(like the hypergraph-cli does currently) or fetching the git archive.I used create vite app as a reference, and this is how they built their create vite app cli tool.
In the future we can add
template-nextjs,template-vite-vue, etc templates to give the user choices. of which template to scaffold.Next PR will be to build out the create hypergraph-app cli tool
Reference #348
Closes #354