listr is not actively maintained and we have to maintain our custom renderer for it to display errors. Migrating to listr2 it just works out of the almost similar to how it was working in past and is a actively maintained.
listr is not actively maintained and we have to maintain our custom renderer for it to display errors. Migrating to listr2 it just works out of the almost similar to how it was working in past and is a actively maintained.
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
$dependabot rebase will rebase this MR
$dependabot recreate will recreate this MR rewriting all the manual changes and resolving conflicts
Bumps [@graphql-codegen/cli](https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/graphql-codegen-cli) from 2.7.0 to 2.8.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/dotansimha/graphql-code-generator/releases"><code>@graphql-codegen/cli</code>'s releases</a>.</em></p>
<blockquote>
<h2><code>@graphql-codegen/cli</code><a href="https://github.com/2"><code>@2</code></a>.8.0</h2>
<h3>Minor Changes</h3>
<ul>
<li>
<p>d84afec09: Add bin CLI command for running <code>graphql-code-generator</code> in ESM mode. You can now use <code>graphql-codegen-esm</code> instead of <code>graphql-codegen</code>.</p>
<p>GraphQL Code Generator will continue supporting both ESM and CommonJS in parallel.</p>
</li>
<li>
<p>d84afec09: Support TypeScript ESM modules (<code>"module": "node16"</code> and <code>"moduleResolution": "node16"</code>).</p>
<p><a href="https://devblogs.microsoft.com/typescript/announcing-typescript-4-7/#ecmascript-module-support-in-node-js">More information on the TypeScript Release Notes.</a></p>
</li>
<li>
<p>8e44df58b: Add new config option to not exit with non-zero exit code when there are no documents.</p>
<p>You can use this option in your config:</p>
<pre lang="yaml"><code>schema: 'schema.graphql'
documents:
- 'src/**/*.graphql'
ignoreNoDocuments: true
</code></pre>
<p>Alternative you can use the CLI to set this option:</p>
<pre lang="bash"><code>$ codegen --config-file=config.yml --ignore-no-documents
</code></pre>
</li>
</ul>
<h3>Patch Changes</h3>
<ul>
<li>
<p>e7870ac28: Fix security vulnerability by removing <code>latest-version</code> dependency.</p>
</li>
<li>
<p>dce40edeb: Allow to disable watch mode from CLI to overwrite the config. Now you can do:</p>
<pre lang="bash"><code>$ graphql-codegen --watch=false
</code></pre>
</li>
<li>
<p>2e86ecb65: ### Summary</p>
<ul>
<li>Migrate to <a href="https://listr2.kilic.dev"><code>listr2</code></a></li>
<li>Remove custom renderer for <code>listr</code></li>
<li>Remove unused dependencies</li>
</ul>
<h3>Why</h3>
<p><a href="https://github.com/SamVerschueren/listr"><code>listr</code></a> is not actively maintained and we have to maintain our custom renderer for it to display errors. Migrating to <code>listr2</code> it just works out of the almost similar to how it was working in past and is a actively maintained.</p>
<h3>Dev notes</h3>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/dotansimha/graphql-code-generator/blob/master/packages/graphql-codegen-cli/CHANGELOG.md"><code>@graphql-codegen/cli</code>'s changelog</a>.</em></p>
<blockquote>
<h2>2.8.0</h2>
<h3>Minor Changes</h3>
<ul>
<li>
<p>d84afec09: Add bin CLI command for running <code>graphql-code-generator</code> in ESM mode. You can now use <code>graphql-codegen-esm</code> instead of <code>graphql-codegen</code>.</p>
<p>GraphQL Code Generator will continue supporting both ESM and CommonJS in parallel.</p>
</li>
<li>
<p>d84afec09: Support TypeScript ESM modules (<code>"module": "node16"</code> and <code>"moduleResolution": "node16"</code>).</p>
<p><a href="https://devblogs.microsoft.com/typescript/announcing-typescript-4-7/#ecmascript-module-support-in-node-js">More information on the TypeScript Release Notes.</a></p>
</li>
<li>
<p>8e44df58b: Add new config option to not exit with non-zero exit code when there are no documents.</p>
<p>You can use this option in your config:</p>
<pre lang="yaml"><code>schema: 'schema.graphql'
documents:
- 'src/**/*.graphql'
ignoreNoDocuments: true
</code></pre>
<p>Alternative you can use the CLI to set this option:</p>
<pre lang="bash"><code>$ codegen --config-file=config.yml --ignore-no-documents
</code></pre>
</li>
</ul>
<h3>Patch Changes</h3>
<ul>
<li>
<p>e7870ac28: Fix security vulnerability by removing <code>latest-version</code> dependency.</p>
</li>
<li>
<p>dce40edeb: Allow to disable watch mode from CLI to overwrite the config. Now you can do:</p>
<pre lang="bash"><code>$ graphql-codegen --watch=false
</code></pre>
</li>
<li>
<p>2e86ecb65: ### Summary</p>
<ul>
<li>Migrate to <a href="https://listr2.kilic.dev"><code>listr2</code></a></li>
<li>Remove custom renderer for <code>listr</code></li>
<li>Remove unused dependencies</li>
</ul>
<h3>Why</h3>
<p><a href="https://github.com/SamVerschueren/listr"><code>listr</code></a> is not actively maintained and we have to maintain our custom renderer for it to display errors. Migrating to <code>listr2</code> it just works out of the almost similar to how it was working in past and is a actively maintained.</p>
<h3>Dev notes</h3>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/dotansimha/graphql-code-generator/commit/b4a8e8bb009a97393ee7e8c18cd491a3d88241c4"><code>b4a8e8b</code></a> chore(release): update monorepo packages versions (<a href="https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/graphql-codegen-cli/issues/8028">#8028</a>)</li>
<li><a href="https://github.com/dotansimha/graphql-code-generator/commit/8e44df58b84c3c641b423c562ee2d7d238117131"><code>8e44df5</code></a> feat: add <code>ignoreNoDocuments</code> flag and config option (<a href="https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/graphql-codegen-cli/issues/8040">#8040</a>)</li>
<li><a href="https://github.com/dotansimha/graphql-code-generator/commit/2578c30d04b50ed806e1ed60f0d60993e94f274e"><code>2578c30</code></a> chore(deps): pin dependency change-case-all to 1.0.14 (<a href="https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/graphql-codegen-cli/issues/8048">#8048</a>)</li>
<li><a href="https://github.com/dotansimha/graphql-code-generator/commit/2e86ecb65a2c6b6d5966d251f900d4d9cb9126b1"><code>2e86ecb</code></a> feat: migrate to listr2 (<a href="https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/graphql-codegen-cli/issues/8005">#8005</a>)</li>
<li><a href="https://github.com/dotansimha/graphql-code-generator/commit/dce40edebe4ffa0f0533f2728b278ee06eeff09d"><code>dce40ed</code></a> Allow disabling watch from cli (<a href="https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/graphql-codegen-cli/issues/7781">#7781</a>)</li>
<li><a href="https://github.com/dotansimha/graphql-code-generator/commit/e7870ac28ce3a4d23a4c8f561382a5679090d3d0"><code>e7870ac</code></a> feat: remove latest-version dependency (<a href="https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/graphql-codegen-cli/issues/8035">#8035</a>)</li>
<li><a href="https://github.com/dotansimha/graphql-code-generator/commit/d84afec0950b234cd716ea76436e3800a978328c"><code>d84afec</code></a> feat: generate TypeScript modules compatible exports map and dist structure (...</li>
<li>See full diff in <a href="https://github.com/dotansimha/graphql-code-generator/commits/@graphql-codegen/cli@2.8.0/packages/graphql-codegen-cli">compare view</a></li>
</ul>
</details>
<br />
---
<details>
<summary>Dependabot commands</summary>
<br />
You can trigger Dependabot actions by commenting on this MR
- `$dependabot rebase` will rebase this MR
- `$dependabot recreate` will recreate this MR rewriting all the manual changes and resolving conflicts
</details>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Bumps @graphql-codegen/cli from 2.7.0 to 2.8.0.
Release notes
Sourced from
@graphql-codegen/cli's releases.... (truncated)
Changelog
Sourced from
@graphql-codegen/cli's changelog.... (truncated)
Commits
b4a8e8bchore(release): update monorepo packages versions (#8028)8e44df5feat: addignoreNoDocumentsflag and config option (#8040)2578c30chore(deps): pin dependency change-case-all to 1.0.14 (#8048)2e86ecbfeat: migrate to listr2 (#8005)dce40edAllow disabling watch from cli (#7781)e7870acfeat: remove latest-version dependency (#8035)d84afecfeat: generate TypeScript modules compatible exports map and dist structure (...Dependabot commands
You can trigger Dependabot actions by commenting on this MR
$dependabot rebasewill rebase this MR$dependabot recreatewill recreate this MR rewriting all the manual changes and resolving conflicts$dependabot recreate
⚠️
dependabotis recreating merge request. All changes will be overwritten! ⚠️✅
dependabotsuccessfuly recreated merge request!added 3 commits
master53372e9b- Build(deps-dev): bump @graphql-codegen/cli from 2.7.0 to 2.8.0Compare with previous version
resolved all threads