@getants/graphqls v0.2.11
GetAnts Graphqls
Auto-generated types and typed hooks for projects across GetAnts.
1. Make sure Docker is up and running
This script will try to connect to a GraphQL server so it can generate all the related types, so we need the nhost backend works before doing it.
2. Run the backend
Clone @getants/backend locally and in backend root folder, run:
nhost dev
3. Make the change and publish
Add/modify files inside src
folder. It should be .graphql
files. That's all! After that you can publish by running:
npm publish --access public
Note!
- Don't modify the
generated
folder, it's auto-generated. - Remember to pump the version before publishing.
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago