Skip to content
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

Change default plugin config values #1273

Merged
merged 3 commits into from Mar 29, 2024
Merged

Conversation

Quramy
Copy link
Owner

@Quramy Quramy commented Mar 29, 2024

ref: #1267

@Quramy Quramy changed the title feat: Set enabledGlobalFragments true by default Change default plugin config values Mar 29, 2024
Copy link

codecov bot commented Mar 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.59%. Comparing base (c814c58) to head (2b4e4b5).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff            @@
##             next    #1273    +/-   ##
========================================
  Coverage   96.59%   96.59%            
========================================
  Files          75       75            
  Lines        5845     5849     +4     
  Branches     1094      885   -209     
========================================
+ Hits         5646     5650     +4     
  Misses        197      197            
  Partials        2        2            
Files Coverage Δ
src/analyzer/analyzer.ts 97.12% <100.00%> (ø)
...c/language-service-plugin/plugin-module-factory.ts 97.75% <100.00%> (ø)
src/transformer/transformer.ts 96.05% <ø> (-0.20%) ⬇️
src/ts-ast-util/tag-utils.ts 97.19% <100.00%> (+0.22%) ⬆️

@Quramy Quramy force-pushed the change_option_default_values branch from 138d492 to ef587c4 Compare March 29, 2024 09:17
@Quramy Quramy changed the base branch from main to next March 29, 2024 09:38
@Quramy Quramy merged commit 0746bec into next Mar 29, 2024
3 checks passed
@Quramy Quramy deleted the change_option_default_values branch March 29, 2024 09:38
ckomop0x pushed a commit to ckomop0x/ckomop0x.me.site that referenced this pull request Mar 30, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [ts-graphql-plugin](https://togithub.com/Quramy/ts-graphql-plugin) |
[`3.2.0` ->
`4.0.0`](https://renovatebot.com/diffs/npm/ts-graphql-plugin/3.2.0/4.0.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/ts-graphql-plugin/4.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/ts-graphql-plugin/4.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/ts-graphql-plugin/3.2.0/4.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/ts-graphql-plugin/3.2.0/4.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>Quramy/ts-graphql-plugin (ts-graphql-plugin)</summary>

###
[`v4.0.0`](https://togithub.com/Quramy/ts-graphql-plugin/releases/tag/v4.0.0)

[Compare
Source](https://togithub.com/Quramy/ts-graphql-plugin/compare/v3.2.0...v4.0.0)

#### Breaking Changes

-   Change plugin default configuration values
    -   Global fragment registry by default
    -   Default `tag` values
-   Set lower supported Node.js version to v18

##### Global fragment registry by default

We introduce "Global Fragment Registry" feature at version 3.1, which
was opt-in. We set this feature enabled by default in version 4.

##### Default `tag` values

In ts-graphql-plugin up to version 3, tag name of template literal
strings for GraphQL document should be set explicitly.
In almost all cases, this is set to `gql` or `graphql`. So we change the
default value of `tag` this value since version 4.

#### What's Changed

- chore: Set --tag value retrieving script by
[@&#8203;Quramy](https://togithub.com/Quramy) in
[Quramy/ts-graphql-plugin#1272
- Change default plugin config values by
[@&#8203;Quramy](https://togithub.com/Quramy) in
[Quramy/ts-graphql-plugin#1273
- feat: Set lower Node.js version to v18 by
[@&#8203;Quramy](https://togithub.com/Quramy) in
[Quramy/ts-graphql-plugin#1275
- docs: Remove `removeDuplicatedFragments` section by
[@&#8203;Quramy](https://togithub.com/Quramy) in
[Quramy/ts-graphql-plugin#1276
- chore: Update Apollo client example by
[@&#8203;Quramy](https://togithub.com/Quramy) in
[Quramy/ts-graphql-plugin#1277
- docs: Update capture GIF image by
[@&#8203;Quramy](https://togithub.com/Quramy) in
[Quramy/ts-graphql-plugin#1278
- fix capture by [@&#8203;Quramy](https://togithub.com/Quramy) in
[Quramy/ts-graphql-plugin#1279

**Full Changelog**:
Quramy/ts-graphql-plugin@v3.2.0...v4.0.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/ckomop0x/ckomop0x.me.site.v2).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant