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

refactor: display tanstack apis in status cli table #1198

Merged
merged 4 commits into from
Aug 7, 2024

Conversation

gwansikk
Copy link
Collaborator

@gwansikk gwansikk commented Aug 6, 2024

Overview

closed: #1119 / related: #1113

  • I have modified the logic for displaying the APIs that re-export tanstack/react-query v5.
@tanstack/react-query@4 @tanstack/react-query@5
image image

PR Checklist

  • I did below actions if need
  1. I read the Contributing Guide
  2. I added documents and tests.

@gwansikk gwansikk self-assigned this Aug 6, 2024
@gwansikk gwansikk linked an issue Aug 6, 2024 that may be closed by this pull request
Copy link

changeset-bot bot commented Aug 6, 2024

🦋 Changeset detected

Latest commit: 4672c66

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 10 packages
Name Type
@suspensive/react-query Patch
@suspensive/utils Patch
@suspensive/react Patch
@suspensive/react-query-4 Patch
@suspensive/react-query-5 Patch
@suspensive/cache Patch
@suspensive/jotai Patch
@suspensive/react-dom Patch
@suspensive/react-image Patch
@suspensive/react-native Patch

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

Copy link

vercel bot commented Aug 6, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
suspensive.org ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 7, 2024 1:33am
v1.suspensive.org ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 7, 2024 1:33am
visualization.suspensive.org ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 7, 2024 1:33am

Copy link

github-actions bot commented Aug 6, 2024

Size Change: 0 B

Total Size: 92.9 kB

ℹ️ View Unchanged
Filename Size
packages/cache/dist/Cache.cjs 990 B
packages/cache/dist/Cache.js 158 B
packages/cache/dist/cacheOptions.cjs 539 B
packages/cache/dist/cacheOptions.js 136 B
packages/cache/dist/CacheStore.cjs 1.76 kB
packages/cache/dist/CacheStore.js 134 B
packages/cache/dist/CacheStoreProvider.cjs 660 B
packages/cache/dist/CacheStoreProvider.js 151 B
packages/cache/dist/chunk-6K4XRKNT.js 258 B
packages/cache/dist/chunk-6WOCZ3NQ.js 293 B
packages/cache/dist/chunk-FFFIOY4B.js 258 B
packages/cache/dist/chunk-J4LYH5KM.js 164 B
packages/cache/dist/chunk-JVEIDWQ2.js 249 B
packages/cache/dist/chunk-QETBZSG5.js 521 B
packages/cache/dist/chunk-RN456Z2W.js 145 B
packages/cache/dist/chunk-XLGSBSED.js 1.26 kB
packages/cache/dist/index.cjs 2.27 kB
packages/cache/dist/index.js 240 B
packages/cache/dist/types.cjs 416 B
packages/cache/dist/types.js 66 B
packages/cache/dist/useCache.cjs 739 B
packages/cache/dist/useCache.js 152 B
packages/cache/dist/useCacheStore.cjs 659 B
packages/cache/dist/useCacheStore.js 147 B
packages/jotai/dist/Atom.cjs 656 B
packages/jotai/dist/Atom.js 115 B
packages/jotai/dist/AtomValue.cjs 647 B
packages/jotai/dist/AtomValue.js 120 B
packages/jotai/dist/chunk-AJTKETMA.js 240 B
packages/jotai/dist/chunk-ELUBAXMH.js 256 B
packages/jotai/dist/chunk-VOZRGQVT.js 242 B
packages/jotai/dist/index.cjs 751 B
packages/jotai/dist/index.js 158 B
packages/jotai/dist/SetAtom.cjs 645 B
packages/jotai/dist/SetAtom.js 118 B
packages/react-dom/dist/chunk-YJUMTHWY.js 189 B
packages/react-dom/dist/index.cjs 602 B
packages/react-dom/dist/index.js 122 B
packages/react-dom/dist/TestText.cjs 596 B
packages/react-dom/dist/TestText.js 119 B
packages/react-image/dist/chunk-VVVCPJZH.js 1.11 kB
packages/react-image/dist/chunk-WGTP75MY.js 405 B
packages/react-image/dist/index.cjs 1.54 kB
packages/react-image/dist/index.js 140 B
packages/react-image/dist/Load.cjs 1.32 kB
packages/react-image/dist/Load.js 126 B
packages/react-image/dist/SuspenseImage.cjs 1.53 kB
packages/react-image/dist/SuspenseImage.js 137 B
packages/react-native/dist/chunk-45D2JR5L.js 205 B
packages/react-native/dist/index.cjs 619 B
packages/react-native/dist/index.js 122 B
packages/react-native/dist/TestText.cjs 612 B
packages/react-native/dist/TestText.js 119 B
packages/react-query-4/dist/chunk-2H47PXAH.js 145 B
packages/react-query-4/dist/chunk-4AU4A5TK.js 312 B
packages/react-query-4/dist/chunk-7LC5EH5R.js 308 B
packages/react-query-4/dist/chunk-HJAGY6R3.js 254 B
packages/react-query-4/dist/chunk-JMZC2U4M.js 306 B
packages/react-query-4/dist/chunk-NKKRZH3C.js 269 B
packages/react-query-4/dist/chunk-P5MROV72.js 470 B
packages/react-query-4/dist/chunk-QETBZSG5.js 521 B
packages/react-query-4/dist/chunk-S7L2LUVS.js 277 B
packages/react-query-4/dist/chunk-V5RSZNGB.js 152 B
packages/react-query-4/dist/chunk-W3SOIIM5.js 273 B
packages/react-query-4/dist/index.cjs 1.61 kB
packages/react-query-4/dist/index.js 313 B
packages/react-query-4/dist/infiniteQueryOptions.cjs 548 B
packages/react-query-4/dist/infiniteQueryOptions.js 144 B
packages/react-query-4/dist/Mutation.cjs 821 B
packages/react-query-4/dist/Mutation.js 132 B
packages/react-query-4/dist/QueryErrorBoundary.cjs 1.12 kB
packages/react-query-4/dist/QueryErrorBoundary.js 142 B
packages/react-query-4/dist/queryOptions.cjs 540 B
packages/react-query-4/dist/queryOptions.js 136 B
packages/react-query-4/dist/SuspenseInfiniteQuery.cjs 1.05 kB
packages/react-query-4/dist/SuspenseInfiniteQuery.js 154 B
packages/react-query-4/dist/SuspenseQueries.cjs 923 B
packages/react-query-4/dist/SuspenseQueries.js 149 B
packages/react-query-4/dist/SuspenseQuery.cjs 1.04 kB
packages/react-query-4/dist/SuspenseQuery.js 147 B
packages/react-query-4/dist/useSuspenseInfiniteQuery.cjs 833 B
packages/react-query-4/dist/useSuspenseInfiniteQuery.js 147 B
packages/react-query-4/dist/useSuspenseQueries.cjs 833 B
packages/react-query-4/dist/useSuspenseQueries.js 142 B
packages/react-query-4/dist/useSuspenseQuery.cjs 824 B
packages/react-query-4/dist/useSuspenseQuery.js 140 B
packages/react-query-5/dist/chunk-4MX6YXXC.js 471 B
packages/react-query-5/dist/chunk-FKG24WFN.js 170 B
packages/react-query-5/dist/chunk-G4UWQXSU.js 310 B
packages/react-query-5/dist/chunk-GXSI7FXZ.js 306 B
packages/react-query-5/dist/chunk-KI4RNNHO.js 173 B
packages/react-query-5/dist/chunk-LHMCCR64.js 262 B
packages/react-query-5/dist/chunk-LQDNL5GK.js 172 B
packages/react-query-5/dist/chunk-QETBZSG5.js 521 B
packages/react-query-5/dist/chunk-RX5QN4OH.js 167 B
packages/react-query-5/dist/chunk-XFQQRL67.js 319 B
packages/react-query-5/dist/chunk-XRWCGESR.js 168 B
packages/react-query-5/dist/index.cjs 1.56 kB
packages/react-query-5/dist/index.js 309 B
packages/react-query-5/dist/infiniteQueryOptions.cjs 573 B
packages/react-query-5/dist/infiniteQueryOptions.js 144 B
packages/react-query-5/dist/Mutation.cjs 821 B
packages/react-query-5/dist/Mutation.js 132 B
packages/react-query-5/dist/QueryErrorBoundary.cjs 1.12 kB
packages/react-query-5/dist/QueryErrorBoundary.js 142 B
packages/react-query-5/dist/queryOptions.cjs 563 B
packages/react-query-5/dist/queryOptions.js 136 B
packages/react-query-5/dist/SuspenseInfiniteQuery.cjs 833 B
packages/react-query-5/dist/SuspenseInfiniteQuery.js 145 B
packages/react-query-5/dist/SuspenseQueries.cjs 671 B
packages/react-query-5/dist/SuspenseQueries.js 139 B
packages/react-query-5/dist/SuspenseQuery.cjs 825 B
packages/react-query-5/dist/SuspenseQuery.js 137 B
packages/react-query-5/dist/useSuspenseInfiniteQuery.cjs 577 B
packages/react-query-5/dist/useSuspenseInfiniteQuery.js 148 B
packages/react-query-5/dist/useSuspenseQueries.cjs 571 B
packages/react-query-5/dist/useSuspenseQueries.js 142 B
packages/react-query-5/dist/useSuspenseQuery.cjs 569 B
packages/react-query-5/dist/useSuspenseQuery.js 140 B
packages/react-query/dist/index.cjs 551 B
packages/react-query/dist/index.js 121 B
packages/react-query/dist/v4.cjs 550 B
packages/react-query/dist/v4.js 116 B
packages/react-query/dist/v5.cjs 550 B
packages/react-query/dist/v5.js 116 B
packages/react/dist/chunk-3JGKMCLB.js 415 B
packages/react/dist/chunk-6NAWCGK4.js 596 B
packages/react/dist/chunk-6QHNBDVP.js 1.57 kB
packages/react/dist/chunk-CB36VYEF.js 348 B
packages/react/dist/chunk-HVDFXOFP.js 414 B
packages/react/dist/chunk-INLOGI26.js 282 B
packages/react/dist/chunk-KBH2PMLJ.js 578 B
packages/react/dist/chunk-NDHQ7FSM.js 821 B
packages/react/dist/chunk-NF2UFYHD.js 433 B
packages/react/dist/chunk-TTRGFZ2C.js 136 B
packages/react/dist/chunk-VPAB2GWT.js 247 B
packages/react/dist/chunk-WQJTGHBN.js 517 B
packages/react/dist/chunk-YBVPLMLQ.js 665 B
packages/react/dist/chunk-YZFC5ZRA.js 449 B
packages/react/dist/ClientOnly.cjs 736 B
packages/react/dist/ClientOnly.js 141 B
packages/react/dist/DefaultProps.cjs 1.05 kB
packages/react/dist/DefaultProps.js 167 B
packages/react/dist/Delay.cjs 1.11 kB
packages/react/dist/Delay.js 149 B
packages/react/dist/DevMode.cjs 530 B
packages/react/dist/DevMode.js 131 B
packages/react/dist/ErrorBoundary.cjs 2.67 kB
packages/react/dist/ErrorBoundary.js 208 B
packages/react/dist/ErrorBoundaryGroup.cjs 1.36 kB
packages/react/dist/ErrorBoundaryGroup.js 180 B
packages/react/dist/index.cjs 4.12 kB
packages/react/dist/index.js 368 B
packages/react/dist/Suspense.cjs 1.3 kB
packages/react/dist/Suspense.js 172 B
packages/react/dist/Suspensive.cjs 1.26 kB
packages/react/dist/Suspensive.js 175 B
packages/react/dist/wrap.cjs 3.6 kB
packages/react/dist/wrap.js 210 B
packages/utils/dist/chunk-5XT623M4.js 263 B
packages/utils/dist/chunk-FWXVSCJA.js 125 B
packages/utils/dist/chunk-OSQ3QLKJ.js 276 B
packages/utils/dist/chunk-PKN4LMAV.js 137 B
packages/utils/dist/chunk-TUVDYELP.js 191 B
packages/utils/dist/ConstructorType.cjs 424 B
packages/utils/dist/ConstructorType.js 76 B
packages/utils/dist/increase.cjs 533 B
packages/utils/dist/increase.js 119 B
packages/utils/dist/index.cjs 1.58 kB
packages/utils/dist/index.js 926 B
packages/utils/dist/noop.cjs 522 B
packages/utils/dist/noop.js 115 B
packages/utils/dist/Nullable.cjs 419 B
packages/utils/dist/Nullable.js 69 B
packages/utils/dist/OmitKeyof.cjs 420 B
packages/utils/dist/OmitKeyof.js 70 B
packages/utils/dist/RequiredKeyof.cjs 425 B
packages/utils/dist/RequiredKeyof.js 74 B
packages/utils/dist/useIsomorphicLayoutEffect.cjs 588 B
packages/utils/dist/useIsomorphicLayoutEffect.js 136 B
packages/utils/dist/usePreservedCallback.cjs 697 B
packages/utils/dist/usePreservedCallback.js 144 B
packages/utils/dist/useTimeout.cjs 769 B
packages/utils/dist/useTimeout.js 144 B

compressed-size-action

Copy link

codspeed-hq bot commented Aug 6, 2024

CodSpeed Performance Report

Merging #1198 will create unknown performance changes

Comparing react-query/feature/cli-status-table (4672c66) with main (4252927)

Summary

⚠️ No benchmarks were detected in both the base of the PR and the PR.

@gwansikk gwansikk marked this pull request as ready for review August 6, 2024 14:46
@gwansikk gwansikk requested a review from manudeli as a code owner August 6, 2024 14:46
@codecov-commenter
Copy link

codecov-commenter commented Aug 6, 2024

Codecov Report

Attention: Patch coverage is 63.63636% with 4 lines in your changes missing coverage. Please review.

Project coverage is 77.96%. Comparing base (4252927) to head (4672c66).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1198      +/-   ##
==========================================
+ Coverage   77.94%   77.96%   +0.01%     
==========================================
  Files          65       65              
  Lines         603      599       -4     
  Branches      121      122       +1     
==========================================
- Hits          470      467       -3     
  Misses        123      123              
+ Partials       10        9       -1     
Components Coverage Δ
@suspensive/utils 47.16% <ø> (ø)
@suspensive/react 100.00% <ø> (ø)
@suspensive/react-dom 100.00% <ø> (ø)
@suspensive/react-native 100.00% <ø> (ø)
@suspensive/react-query 72.09% <63.63%> (-0.09%) ⬇️
@suspensive/react-query-4 0.00% <ø> (ø)
@suspensive/react-query-5 0.00% <ø> (ø)
@suspensive/jotai 0.00% <ø> (ø)
@suspensive/cache 98.16% <ø> (ø)
@suspensive/react-image 80.39% <ø> (ø)

gwansikk and others added 2 commits August 7, 2024 10:30
Co-authored-by: Jonghyeon Ko <jonghyeon@toss.im>
Co-authored-by: Jonghyeon Ko <jonghyeon@toss.im>
Copy link
Member

@manudeli manudeli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very clear..! 🥂

@manudeli manudeli merged commit 2dfb918 into main Aug 7, 2024
16 checks passed
@manudeli manudeli deleted the react-query/feature/cli-status-table branch August 7, 2024 02:27
@manudeli manudeli mentioned this pull request Aug 7, 2024
manudeli added a commit that referenced this pull request Aug 7, 2024
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## @suspensive/cache@0.3.6

### Patch Changes

-   Updated dependencies \[]:
    -   @suspensive/utils@2.12.3

## @suspensive/jotai@0.0.13

### Patch Changes

-   Updated dependencies \[]:
    -   @suspensive/utils@2.12.3

## @suspensive/react@2.12.3

### Patch Changes

-   Updated dependencies \[]:
    -   @suspensive/utils@2.12.3

## @suspensive/react-dom@0.0.3

### Patch Changes

-   Updated dependencies \[]:
    -   @suspensive/utils@2.12.3

## @suspensive/react-image@0.0.27

### Patch Changes

-   Updated dependencies \[]:
    -   @suspensive/utils@2.12.3

## @suspensive/react-native@0.0.5

### Patch Changes

-   Updated dependencies \[]:
    -   @suspensive/utils@2.12.3

## @suspensive/react-query@2.12.3

### Patch Changes

- [#1198](#1198)
[`2dfb918`](2dfb918)
Thanks [@gwansikk](https://github.com/gwansikk)! - fix: display tanstack
apis in status cli table

-   Updated dependencies \[]:
    -   @suspensive/utils@2.12.3
    -   @suspensive/react@2.12.3
    -   @suspensive/react-query-4@2.12.3
    -   @suspensive/react-query-5@2.12.3

## @suspensive/react-query-4@2.12.3

### Patch Changes

-   Updated dependencies \[]:
    -   @suspensive/utils@2.12.3
    -   @suspensive/react@2.12.3

## @suspensive/react-query-5@2.12.3

### Patch Changes

-   Updated dependencies \[]:
    -   @suspensive/utils@2.12.3
    -   @suspensive/react@2.12.3

## @suspensive/utils@2.12.3
2-NOW pushed a commit to 2-NOW/suspensive that referenced this pull request Aug 16, 2024
# Overview

closed: toss#1119 / related: toss#1113

- I have modified the logic for displaying the APIs that re-export
tanstack/react-query v5.

| @tanstack/react-query@4 | @tanstack/react-query@5 |
| --- | --- |
|<img width="543" alt="image"
src="https://github.com/user-attachments/assets/04ff703f-fe3b-4d74-9494-0ad6ffaa0da3">|<img
width="548" alt="image"
src="https://github.com/user-attachments/assets/b34cd121-9536-4335-94eb-f5e435001300">|


## PR Checklist

- [x] I did below actions if need

1. I read the [Contributing
Guide](https://github.com/toss/suspensive/blob/main/CONTRIBUTING.md)
2. I added documents and tests.

---------

Co-authored-by: Jonghyeon Ko <jonghyeon@toss.im>
2-NOW pushed a commit to 2-NOW/suspensive that referenced this pull request Aug 16, 2024
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## @suspensive/cache@0.3.6

### Patch Changes

-   Updated dependencies \[]:
    -   @suspensive/utils@2.12.3

## @suspensive/jotai@0.0.13

### Patch Changes

-   Updated dependencies \[]:
    -   @suspensive/utils@2.12.3

## @suspensive/react@2.12.3

### Patch Changes

-   Updated dependencies \[]:
    -   @suspensive/utils@2.12.3

## @suspensive/react-dom@0.0.3

### Patch Changes

-   Updated dependencies \[]:
    -   @suspensive/utils@2.12.3

## @suspensive/react-image@0.0.27

### Patch Changes

-   Updated dependencies \[]:
    -   @suspensive/utils@2.12.3

## @suspensive/react-native@0.0.5

### Patch Changes

-   Updated dependencies \[]:
    -   @suspensive/utils@2.12.3

## @suspensive/react-query@2.12.3

### Patch Changes

- [toss#1198](toss#1198)
[`2dfb918`](toss@2dfb918)
Thanks [@gwansikk](https://github.com/gwansikk)! - fix: display tanstack
apis in status cli table

-   Updated dependencies \[]:
    -   @suspensive/utils@2.12.3
    -   @suspensive/react@2.12.3
    -   @suspensive/react-query-4@2.12.3
    -   @suspensive/react-query-5@2.12.3

## @suspensive/react-query-4@2.12.3

### Patch Changes

-   Updated dependencies \[]:
    -   @suspensive/utils@2.12.3
    -   @suspensive/react@2.12.3

## @suspensive/react-query-5@2.12.3

### Patch Changes

-   Updated dependencies \[]:
    -   @suspensive/utils@2.12.3
    -   @suspensive/react@2.12.3

## @suspensive/utils@2.12.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature]: update react-query doc for status table
3 participants