2cbcbb371: Add new flag to emit legacy common js imports. Default it will be true this way it ensure that generated code works with non-compliant bundlers.
32c1560f1: getPluginByName fails unexpectedly when plugin is not prefixed with @graphq-codegen in ESM context
MODULE_NOT_FOUND is the error code you receive in a CommonJS context when you require() a module and it does not exist.
ERR_MODULE_NOT_FOUND is the error code you receive in an ESM context when you import or import() ad module that does not exist.
2cbcbb371: Add new flag to emit legacy common js imports. Default it will be true this way it ensure that generated code works with non-compliant bundlers.
32c1560f1: getPluginByName fails unexpectedly when plugin is not prefixed with @graphq-codegen in ESM context
MODULE_NOT_FOUND is the error code you receive in a CommonJS context when you require() a module and it does not exist.
ERR_MODULE_NOT_FOUND is the error code you receive in an ESM context when you import or import() ad module that does not exist.
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.8.1 to 2.9.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>.9.0</h2>
<h3>Minor Changes</h3>
<ul>
<li>
<p>2cbcbb371: Add new flag to emit legacy common js imports. Default it will be <code>true</code> this way it ensure that generated code works with <a href="https://github.com/dotansimha/graphql-code-generator/issues/8065">non-compliant bundlers</a>.</p>
<p>You can use the option in your config:</p>
<pre lang="yaml"><code>schema: 'schema.graphql'
documents:
- 'src/**/*.graphql'
emitLegacyCommonJSImports: true
</code></pre>
<p>Alternative you can use the CLI to set this option:</p>
<pre lang="bash"><code>$ codegen --config-file=config.yml --emit-legacy-common-js-imports
</code></pre>
</li>
</ul>
<h3>Patch Changes</h3>
<ul>
<li>
<p>32c1560f1: getPluginByName fails unexpectedly when plugin is not prefixed with <a href="https://github.com/graphq-codegen"><code>@graphq-codegen</code></a> in ESM context</p>
<p>MODULE_NOT_FOUND is the error code you receive in a CommonJS context when you require() a module and it does not exist.
ERR_MODULE_NOT_FOUND is the error code you receive in an ESM context when you import or import() ad module that does not exist.</p>
</li>
<li>
<p>Updated dependencies [2cbcbb371]</p>
<ul>
<li><code>@graphql-codegen/plugin-helpers</code><a href="https://github.com/2"><code>@2</code></a>.6.0</li>
</ul>
</li>
</ul>
</blockquote>
</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.9.0</h2>
<h3>Minor Changes</h3>
<ul>
<li>
<p>2cbcbb371: Add new flag to emit legacy common js imports. Default it will be <code>true</code> this way it ensure that generated code works with <a href="https://github.com/dotansimha/graphql-code-generator/issues/8065">non-compliant bundlers</a>.</p>
<p>You can use the option in your config:</p>
<pre lang="yaml"><code>schema: 'schema.graphql'
documents:
- 'src/**/*.graphql'
emitLegacyCommonJSImports: true
</code></pre>
<p>Alternative you can use the CLI to set this option:</p>
<pre lang="bash"><code>$ codegen --config-file=config.yml --emit-legacy-common-js-imports
</code></pre>
</li>
</ul>
<h3>Patch Changes</h3>
<ul>
<li>
<p>32c1560f1: getPluginByName fails unexpectedly when plugin is not prefixed with <a href="https://github.com/graphq-codegen"><code>@graphq-codegen</code></a> in ESM context</p>
<p>MODULE_NOT_FOUND is the error code you receive in a CommonJS context when you require() a module and it does not exist.
ERR_MODULE_NOT_FOUND is the error code you receive in an ESM context when you import or import() ad module that does not exist.</p>
</li>
<li>
<p>Updated dependencies [2cbcbb371]</p>
<ul>
<li><code>@graphql-codegen/plugin-helpers</code><a href="https://github.com/2"><code>@2</code></a>.6.0</li>
</ul>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/dotansimha/graphql-code-generator/commit/4d9725a91082f41fd3ca01a2ba0309c36699ab4b"><code>4d9725a</code></a> chore(release): update monorepo packages versions (<a href="https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/graphql-codegen-cli/issues/8096">#8096</a>)</li>
<li><a href="https://github.com/dotansimha/graphql-code-generator/commit/32c1560f1669f6726008226c0e467a7fcc90aa84"><code>32c1560</code></a> getPluginByName fails unexpectedly when plugin is not prefixed with @… (<a href="https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/graphql-codegen-cli/issues/8097">#8097</a>)</li>
<li><a href="https://github.com/dotansimha/graphql-code-generator/commit/2cbcbb37101708705ab94cec747997c8063f698d"><code>2cbcbb3</code></a> feat: add <code>emitLegacyCommonJSImports</code> flag (<a href="https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/graphql-codegen-cli/issues/8077">#8077</a>)</li>
<li>See full diff in <a href="https://github.com/dotansimha/graphql-code-generator/commits/@graphql-codegen/cli@2.9.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.8.1 to 2.9.0.
Release notes
Sourced from
@graphql-codegen/cli's releases.Changelog
Sourced from
@graphql-codegen/cli's changelog.Commits
4d9725achore(release): update monorepo packages versions (#8096)32c1560getPluginByName fails unexpectedly when plugin is not prefixed with @… (#8097)2cbcbb3feat: addemitLegacyCommonJSImportsflag (#8077)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 conflictsadded 2 commits
6e099ede- 1 commit from branchmasterCompare with previous version
added 2 commits
7475d7c4- 1 commit from branchmasterCompare with previous version
added 2 commits
7bce1ece- 1 commit from branchmasterCompare with previous version
added 2 commits
e5335af8- 1 commit from branchmasterc8e48c09- Build(deps-dev): bump @graphql-codegen/cli from 2.8.1 to 2.9.0Compare with previous version