You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CHANGELOG.md
+15
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,21 @@
2
2
3
3
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
* prisma db connector ([#47](https://github.com/FabienGreard/kirby-boilerplate/issues/47)) ([36a762b](https://github.com/FabienGreard/kirby-boilerplate/commit/36a762ba87055021193022dd669b78815de77b4b))
13
+
* pwa support ([#6](https://github.com/FabienGreard/kirby-boilerplate/issues/6)) ([d28489d](https://github.com/FabienGreard/kirby-boilerplate/commit/d28489d7d5b28bafb474bab38c6e87ee411c003b))
| apollo:download| npx apollo service:download --endpoint=http://localhost:3000/api/graphql graphql-schema.json | download a graphql schema from an endpoint |
58
-
| apollo:generate| npx apollo codegen:generate types --localSchemaFile=graphql-schema.json --target=typescript --tagName=gql --outputFlat --tsFileExtension=d.ts | use for generating typing files from a graphql schema |
59
-
| ts-node | ts-node --compiler-options '{\"module\":\"CommonJS\"}' | use by prisma:seed|
| prepare | husky install && prisma:generate| This is needed from husky to set up the project and generate prisma client |
65
63
66
64
## Acknowledgement
67
65
@@ -133,7 +131,7 @@ You could also seed your database with `yarn prisma:seed` or `npm run prisma:see
133
131
134
132
You may need to look at [apollo-tooling](https://github.com/apollographql/apollo-tooling)
135
133
136
-
With the graphql endpoint running launch `yarn apollo:download` follow by `yarn apollo:generate`, this will create under `types` a typing file for each query under `apollo/operations`.
134
+
With the graphql endpoint running launch `yarn codegen`, this will create under `types` a typing file for each query under `apollo/operations`.
0 commit comments