New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GraphQL Code Generator v3: @graphql-codegen/cli
changes
#8301
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
🦋 Changeset detectedLatest commit: a87a2f5 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Should we also do the doc updates for recommending a typescript config as part of this PR? |
🚀 Snapshot Release (
|
Package | Version | Info |
---|---|---|
@graphql-cli/codegen |
2.4.0-alpha-20220831100432-60aa8e1e6 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/cli |
2.12.0-alpha-20220831100432-60aa8e1e6 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/typescript-graphql-request |
4.5.4-alpha-20220831100432-60aa8e1e6 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/typescript-rtk-query |
2.3.4-alpha-20220831100432-60aa8e1e6 |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/plugin-helpers |
2.7.0-alpha-20220831100432-60aa8e1e6 |
npm ↗︎ unpkg ↗︎ |
diff --git a/website/algolia-lockfile.json b/website/algolia-lockfile.json
index 248184a4a..4e93f7916 100644
--- a/website/algolia-lockfile.json
+++ b/website/algolia-lockfile.json
@@ -1145,7 +1145,7 @@
"objectID": "code-generator-index",
"headings": [],
"toc": [],
- "content": "d41d8cd98f00b204e9800998ecf8427e",
+ "content": "a2c44aa2037429070a236ab7c430faba",
"url": "https://www.graphql-code-generator.com//index",
"domain": "https://www.graphql-code-generator.com/",
"hierarchy": [],
@@ -1217,7 +1217,7 @@
"objectID": "code-generator-plugins-index",
"headings": [],
"toc": [],
- "content": "d41d8cd98f00b204e9800998ecf8427e",
+ "content": "329d4b572e55accae5af460934690e73",
"url": "https://www.graphql-code-generator.com/plugins/index",
"domain": "https://www.graphql-code-generator.com/",
"hierarchy": ["Plugins"], |
🚀 Website PreviewThe latest changes to the website are available as preview in: https://5f464d5c.graphql-code-generator.pages.dev |
const config: CodegenConfig = { | ||
schema: 'server/src/**/*.graphql', | ||
documents: 'client/src/**/*.graphql' | ||
generates { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing a :
I think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think so. Because :
exisits after generates
in the other file.
graphql-code-generator/website/src/pages/docs/getting-started/esm-typescript-usage.mdx
Line 34 in a87a2f5
generates: { |
Introduces support for TypeScript config file and a new preset lifecycle (required for
client-preset
)