Update graphqlcodegenerator monorepo #113
Merged
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.
This PR contains the following updates:
2.7.0
->2.8.0
2.6.0
->2.7.0
Release Notes
dotansimha/graphql-code-generator (@graphql-codegen/cli)
v2.8.0
Compare Source
Minor Changes
d84afec
: Add bin CLI command for runninggraphql-code-generator
in ESM mode. You can now usegraphql-codegen-esm
instead ofgraphql-codegen
.GraphQL Code Generator will continue supporting both ESM and CommonJS in parallel.
d84afec
: Support TypeScript ESM modules ("module": "node16"
and"moduleResolution": "node16"
).More information on the TypeScript Release Notes.
8e44df5
: Add new config option to not exit with non-zero exit code when there are no documents.You can use this option in your config:
Alternative you can use the CLI to set this option:
Patch Changes
e7870ac
: Fix security vulnerability by removinglatest-version
dependency.dce40ed
: Allow to disable watch mode from CLI to overwrite the config. Now you can do:2e86ecb
: ### Summarylistr2
listr
Why
listr
is not actively maintained and we have to maintain our custom renderer for it to display errors. Migrating tolistr2
it just works out of the almost similar to how it was working in past and is a actively maintained.Dev notes
Big change for us is how errors were collected. In
listr
errors were thrown and were caught in theend
function of our customlistr
Renderer but withlistr2
we don't really getError
inend
function always so instead we use the context to collect errors from all the tasks and then show them after all the tasks are finished.d84afec
]a4fe500
]8e44df5
]dotansimha/graphql-code-generator (@graphql-codegen/typescript)
v2.7.0
Compare Source
Minor Changes
d84afec
: Support TypeScript ESM modules ("module": "node16"
and"moduleResolution": "node16"
).More information on the TypeScript Release Notes.
Patch Changes
68bb30e
]d84afec
]a4fe500
]8e44df5
]Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.