@uiwwsw/react-query-helper 0.1.4 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +130 -123
- package/dist/utils/query.d.ts +3 -3
- package/dist/utils/query.d.ts.map +1 -1
- package/package.json +22 -1
package/README.md
CHANGED
|
@@ -1,178 +1,185 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
-
|
|
15
|
-
-
|
|
16
|
-
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="./assets/logo.svg" alt="React Query Helper Logo" width="160" />
|
|
3
|
+
</p>
|
|
4
|
+
|
|
5
|
+
<h1 align="center">React Query Helper</h1>
|
|
6
|
+
|
|
7
|
+
<p align="center">
|
|
8
|
+
<a href="README_EN.md">🇺🇸 English</a> · <strong>🇰🇷 한국어</strong>
|
|
9
|
+
</p>
|
|
10
|
+
|
|
11
|
+
<p align="center">
|
|
12
|
+
<a href="https://www.npmjs.com/package/@uiwwsw/react-query-helper"><img src="https://img.shields.io/npm/v/@uiwwsw/react-query-helper.svg?color=2563eb" alt="npm version" /></a>
|
|
13
|
+
<a href="https://www.npmjs.com/package/@uiwwsw/react-query-helper"><img src="https://img.shields.io/npm/dm/@uiwwsw/react-query-helper.svg?color=9333ea" alt="npm downloads" /></a>
|
|
14
|
+
<a href="https://bundlephobia.com/package/@uiwwsw/react-query-helper"><img src="https://img.shields.io/bundlephobia/minzip/@uiwwsw/react-query-helper.svg?color=10b981" alt="bundle size" /></a>
|
|
15
|
+
<a href="https://github.com/uiwwsw/react-query-helper/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-MIT-10b981.svg" alt="license" /></a>
|
|
16
|
+
<a href="https://www.npmjs.com/package/@uiwwsw/react-query-helper"><img src="https://img.shields.io/npm/types/@uiwwsw/react-query-helper.svg?color=3178c6" alt="types" /></a>
|
|
17
|
+
</p>
|
|
18
|
+
<p align="center">
|
|
19
|
+
<a href="https://github.com/uiwwsw/react-query-helper"><img src="https://img.shields.io/github/stars/uiwwsw/react-query-helper?style=social" alt="github stars" /></a>
|
|
20
|
+
</p>
|
|
21
|
+
<p align="center">
|
|
22
|
+
<img src="https://img.shields.io/badge/Node.js-%3E%3D18.0-000000.svg?logo=node.js" alt="node version" />
|
|
23
|
+
<img src="https://img.shields.io/badge/Bun-ready-f97316.svg?logo=bun" alt="bun ready" />
|
|
24
|
+
</p>
|
|
25
|
+
|
|
26
|
+
> React Query Helper는 TypeScript API 함수로부터 React Query 훅과 옵션 객체를 자동 생성해 주는 CLI 도구입니다. 설정만 해두면 반복적인 훅 작성 시간을 절약하고 프로젝트 전체에 걸쳐 일관된 데이터 패칭 규칙을 유지할 수 있습니다.
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
## 목차
|
|
31
|
+
|
|
32
|
+
- [주요 특징](#주요-특징)
|
|
33
|
+
- [빠른 시작](#빠른-시작)
|
|
34
|
+
- [설치](#설치)
|
|
35
|
+
- [설정 파일 만들기](#설정-파일-만들기)
|
|
36
|
+
- [코드 생성 실행](#코드-생성-실행)
|
|
37
|
+
- [CLI 명령어](#cli-명령어)
|
|
38
|
+
- [설정 옵션](#설정-옵션)
|
|
39
|
+
- [생성 결과 예시](#생성-결과-예시)
|
|
40
|
+
- [템플릿 커스터마이징](#템플릿-커스터마이징)
|
|
41
|
+
- [베스트 프랙티스](#베스트-프랙티스)
|
|
42
|
+
- [스타 히스토리](#스타-히스토리)
|
|
43
|
+
- [기여](#기여)
|
|
44
|
+
- [라이선스](#라이선스)
|
|
45
|
+
|
|
46
|
+
## 주요 특징
|
|
47
|
+
|
|
48
|
+
- **설정 기반 자동화**: `rqh.config.ts`만 구성하면 API 디렉토리 감지부터 출력 디렉토리 지정까지 모두 자동화됩니다.
|
|
49
|
+
- **Watch & Generate 모드**: 개발 중 실시간 감시(`--watch`), 초기 세팅이나 재생성 시 일괄 생성(`--generate`)을 모두 지원합니다.
|
|
50
|
+
- **일관된 옵션 관리**: `queryOption`, `mutationOption`, `infiniteOption` 유틸리티로 전역 캐싱 전략과 에러 핸들링을 통일할 수 있습니다.
|
|
51
|
+
- **Prettier 통합**: 생성된 파일은 자동으로 포맷팅되어 코드 리뷰 시 불필요한 변경을 줄입니다.
|
|
52
|
+
- **템플릿 확장성**: 기본 템플릿 대신 사용자 정의 템플릿을 지정해 조직의 코딩 규칙을 쉽게 반영할 수 있습니다.
|
|
53
|
+
|
|
54
|
+
## 빠른 시작
|
|
55
|
+
|
|
56
|
+
### 설치
|
|
20
57
|
|
|
21
58
|
```bash
|
|
22
59
|
bun add @uiwwsw/react-query-helper
|
|
60
|
+
# 또는
|
|
61
|
+
npm install --save-dev @uiwwsw/react-query-helper
|
|
23
62
|
```
|
|
24
63
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
`React Query Helper`를 사용하기 위한 핵심 단계는 다음과 같습니다:
|
|
64
|
+
### 설정 파일 만들기
|
|
28
65
|
|
|
29
|
-
|
|
66
|
+
루트에 `rqh.config.ts` 파일을 생성하고 다음과 같이 채워주세요.
|
|
30
67
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
```typescript
|
|
68
|
+
```ts
|
|
34
69
|
// rqh.config.ts
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
//
|
|
70
|
+
import type { AutoQueryConfig } from "./src/config";
|
|
71
|
+
|
|
72
|
+
const config: AutoQueryConfig = {
|
|
73
|
+
sourceDir: "./libs", // API 함수들이 위치한 경로
|
|
74
|
+
outputDir: "./src/options", // 생성된 코드가 저장될 경로
|
|
75
|
+
// ignoredFiles: ["types.ts"],
|
|
76
|
+
// templateDir: "./custom-templates",
|
|
41
77
|
};
|
|
42
78
|
|
|
43
79
|
export default config;
|
|
44
80
|
```
|
|
45
81
|
|
|
46
|
-
###
|
|
47
|
-
|
|
48
|
-
`rqh.config.ts` 설정이 완료되면, 다음 명령어를 통해 React Query 코드를 생성할 수 있습니다.
|
|
49
|
-
|
|
50
|
-
#### 실시간 변경 감지 모드 (`--watch`)
|
|
82
|
+
### 코드 생성 실행
|
|
51
83
|
|
|
52
|
-
`
|
|
53
|
-
|
|
54
|
-
> ⚠️ `react-query-helper --watch` 명령을 바로 실행하면, 프로젝트 로컬에 설치된 바이너리를 찾지 못해 동작하지 않을 수 있습니다. `package.json`에 스크립트를 정의해 두면 항상 동일한 명령으로 실행할 수 있어 안전합니다.
|
|
55
|
-
|
|
56
|
-
프로젝트의 `package.json`에 다음과 같이 스크립트를 추가한 뒤, `bun run watch` (또는 `bun watch`) 명령으로 실행하는 방법을 권장합니다.
|
|
84
|
+
`package.json`에 스크립트를 추가한 뒤 CLI를 실행하면 됩니다.
|
|
57
85
|
|
|
58
86
|
```jsonc
|
|
59
87
|
// package.json
|
|
60
88
|
{
|
|
61
89
|
"scripts": {
|
|
62
|
-
"dev": "bun --hot src/index.tsx",
|
|
63
90
|
"watch": "react-query-helper --watch",
|
|
64
|
-
"
|
|
65
|
-
"build": "bun run build.ts"
|
|
91
|
+
"generate": "react-query-helper --generate"
|
|
66
92
|
}
|
|
67
93
|
}
|
|
68
94
|
```
|
|
69
95
|
|
|
70
|
-
이제 아래 명령만 입력하면 됩니다.
|
|
71
|
-
|
|
72
96
|
```bash
|
|
73
|
-
bun run watch
|
|
97
|
+
bun run watch # 실시간 변경 감지
|
|
98
|
+
bun run generate # 전체 파일 일괄 생성
|
|
74
99
|
```
|
|
75
100
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
`rqh.config.ts`에 설정된 `sourceDir` 내의 모든 API 파일에 대해 React Query 코드를 한 번에 생성합니다. 주로 초기 설정 시 또는 전체 코드 재생성이 필요할 때 사용합니다.
|
|
101
|
+
## CLI 명령어
|
|
79
102
|
|
|
80
|
-
|
|
103
|
+
| 명령어 | 설명 |
|
|
104
|
+
| --- | --- |
|
|
105
|
+
| `react-query-helper --watch` | `sourceDir`를 감시하여 변경될 때마다 코드를 갱신합니다. |
|
|
106
|
+
| `react-query-helper --generate` | `sourceDir` 내 모든 API 파일을 분석하고 한 번에 코드를 생성합니다. |
|
|
107
|
+
| `react-query-helper --help` | 사용 가능한 모든 옵션을 확인합니다. |
|
|
81
108
|
|
|
82
|
-
|
|
83
|
-
bun run generate
|
|
84
|
-
```
|
|
109
|
+
## 설정 옵션
|
|
85
110
|
|
|
86
|
-
|
|
111
|
+
| 옵션 | 필수 | 설명 |
|
|
112
|
+
| --- | --- | --- |
|
|
113
|
+
| `sourceDir` | ✅ | API 함수가 포함된 TypeScript 디렉토리 (루트 기준 경로) |
|
|
114
|
+
| `outputDir` | ✅ | 생성된 훅과 옵션 파일이 저장될 디렉토리 |
|
|
115
|
+
| `ignoredFiles` | ❌ | 코드 생성에서 제외할 파일 이름 배열 |
|
|
116
|
+
| `templateDir` | ❌ | 사용자 정의 템플릿이 위치한 디렉토리 |
|
|
87
117
|
|
|
88
|
-
|
|
118
|
+
## 생성 결과 예시
|
|
89
119
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
```typescript
|
|
120
|
+
```ts
|
|
93
121
|
// libs/users/api.ts
|
|
94
122
|
export const getUser = async (id: string) => {
|
|
95
123
|
return { id, name: `User ${id}` };
|
|
96
124
|
};
|
|
97
125
|
|
|
98
|
-
export const createUser = (name: string) => {
|
|
126
|
+
export const createUser = async (name: string) => {
|
|
99
127
|
return { id: Date.now().toString(), name };
|
|
100
128
|
};
|
|
101
|
-
|
|
102
|
-
export function deleteUser(id: string) {
|
|
103
|
-
return { success: true, id };
|
|
104
|
-
}
|
|
105
129
|
```
|
|
106
130
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
131
|
+
```ts
|
|
132
|
+
// src/options/users/apiOptions.ts (자동 생성)
|
|
133
|
+
import { createUser, getUser } from "../../../libs/users/api";
|
|
134
|
+
import {
|
|
135
|
+
infiniteOption,
|
|
136
|
+
mutationOption,
|
|
137
|
+
queryOption,
|
|
138
|
+
} from "@uiwwsw/react-query-helper";
|
|
139
|
+
|
|
140
|
+
export const getUserKey = ["users", "getUser"] as const;
|
|
141
|
+
export const getUserQueryOption = queryOption(getUserKey, getUser);
|
|
142
|
+
export const getUserMutationOption = mutationOption(getUserKey, getUser);
|
|
143
|
+
export const getUserInfiniteQueryOption = infiniteOption(getUserKey, getUser);
|
|
144
|
+
|
|
145
|
+
export const createUserKey = ["users", "createUser"] as const;
|
|
146
|
+
export const createUserQueryOption = queryOption(createUserKey, createUser);
|
|
147
|
+
export const createUserMutationOption = mutationOption(createUserKey, createUser);
|
|
148
|
+
export const createUserInfiniteQueryOption = infiniteOption(
|
|
149
|
+
createUserKey,
|
|
150
|
+
createUser
|
|
151
|
+
);
|
|
152
|
+
```
|
|
114
153
|
|
|
115
|
-
|
|
116
|
-
export const useGetUserQuery = (id: string, options?: any) => {
|
|
117
|
-
return useQuery(queryOption(["users", id], () => getUser(id))(id));
|
|
118
|
-
};
|
|
154
|
+
## 템플릿 커스터마이징
|
|
119
155
|
|
|
120
|
-
|
|
121
|
-
export const useCreateUserMutation = (options?: any) => {
|
|
122
|
-
return useMutation(mutationOption(["users"], createUser)());
|
|
123
|
-
};
|
|
156
|
+
조직 맞춤 코딩 스타일이 필요하다면 템플릿 디렉토리를 지정하세요.
|
|
124
157
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
158
|
+
```ts
|
|
159
|
+
const config: AutoQueryConfig = {
|
|
160
|
+
sourceDir: "./libs",
|
|
161
|
+
outputDir: "./src/options",
|
|
162
|
+
templateDir: "./custom-templates", // EJS 템플릿 디렉토리
|
|
128
163
|
};
|
|
129
164
|
```
|
|
130
165
|
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
위 예시에서 볼 수 있듯이, `queryOption`, `mutationOption`, `infiniteOption`과 같은 유틸리티 함수들을 활용하여 React Query 훅의 기본 설정을 중앙에서 관리하고 재사용할 수 있습니다. 예를 들어, 모든 쿼리에 `staleTime: Infinity`나 `refetchOnWindowFocus: false`와 같은 공통 옵션을 적용하고 싶다면, `src/utils/query.ts` 파일 내의 해당 유틸리티 함수를 수정하는 것만으로 모든 생성된 훅에 반영됩니다. 이는 일관된 캐싱 전략, 에러 처리, 재시도 로직 등을 쉽게 적용할 수 있게 하여 개발 효율성을 크게 높여줍니다.
|
|
134
|
-
|
|
135
|
-
이제 애플리케이션에서 이 훅들을 가져와 사용할 수 있습니다. **가져오는 경로 또한 `rqh.config.ts`의 `outputDir` 설정에 따라 달라집니다.**
|
|
136
|
-
|
|
137
|
-
```typescript
|
|
138
|
-
// YourComponent.tsx
|
|
139
|
-
import { useGetUserQuery, useCreateUserMutation } from "../options/users/apiOptions"; // 경로는 rqh.config.ts 설정에 따라 달라짐
|
|
166
|
+
템플릿 파일에서 React Query 옵션, 에러 핸들링, import 경로 등을 마음껏 수정할 수 있습니다. 변경 사항은 다음 실행 시 바로 반영됩니다.
|
|
140
167
|
|
|
141
|
-
|
|
142
|
-
const { data: user, isLoading } = useGetUserQuery(userId);
|
|
143
|
-
const createUserMutation = useCreateUserMutation({
|
|
144
|
-
onSuccess: () => {
|
|
145
|
-
console.log("User created!");
|
|
146
|
-
},
|
|
147
|
-
});
|
|
148
|
-
|
|
149
|
-
if (isLoading) return <div>Loading...</div>;
|
|
150
|
-
if (!user) return <div>User not found.</div>;
|
|
151
|
-
|
|
152
|
-
return (
|
|
153
|
-
<div>
|
|
154
|
-
<h1>{user.name}</h1>
|
|
155
|
-
<button onClick={() => createUserMutation.mutate("New User")}>
|
|
156
|
-
Create New User
|
|
157
|
-
</button>
|
|
158
|
-
</div>
|
|
159
|
-
);
|
|
160
|
-
}
|
|
161
|
-
```
|
|
168
|
+
## 베스트 프랙티스
|
|
162
169
|
|
|
163
|
-
|
|
170
|
+
- **하나의 API = 하나의 훅** 구조를 유지하면 캐시 키 관리가 쉬워집니다.
|
|
171
|
+
- 생성된 파일은 버전 관리 시스템(Git)에 커밋하여 배포 시 자동 생성 과정을 피하세요.
|
|
172
|
+
- `queryOption` 유틸 함수에서 글로벌 옵션(`staleTime`, `retry`, `refetchOnWindowFocus`)을 정의하면 팀 전체 규칙을 손쉽게 통일할 수 있습니다.
|
|
173
|
+
- Watch 모드 사용 시 IDE 저장 포맷터와 충돌이 없도록 저장 시점 포맷팅을 맞춰 주세요.
|
|
164
174
|
|
|
165
|
-
|
|
175
|
+
## 스타 히스토리
|
|
166
176
|
|
|
167
|
-
|
|
168
|
-
- `outputDir`: (필수) 생성된 React Query 훅 및 옵션 파일이 저장될 디렉토리의 경로입니다. 프로젝트 루트를 기준으로 한 상대 경로를 사용합니다.
|
|
169
|
-
- `ignoredFiles`: (선택 사항) 코드 생성 과정에서 무시할 파일 이름들의 배열입니다. (예: `["utils.ts", "types.ts"]`) 이 목록에 있는 파일은 `sourceDir` 내에 있더라도 코드가 생성되지 않습니다.
|
|
170
|
-
- `templateDir`: (선택 사항) `React Query Helper`가 훅을 생성할 때 사용할 사용자 정의 템플릿 파일들이 있는 디렉토리의 경로입니다. 이 옵션을 설정하면 기본 템플릿 대신 지정된 템플릿을 사용하여 훅을 생성할 수 있습니다. 이를 통해 `queryOption`, `mutationOption` 등과 같은 사용자 정의 유틸리티 함수를 활용하여 생성되는 훅의 동작을 세밀하게 제어할 수 있습니다. 프로젝트 루트를 기준으로 한 상대 경로를 사용합니다. (예: `templateDir: "./custom-templates"`)
|
|
177
|
+
[](https://star-history.com/#uiwwsw/react-query-helper&Date)
|
|
171
178
|
|
|
172
|
-
##
|
|
179
|
+
## 기여
|
|
173
180
|
|
|
174
|
-
버그
|
|
181
|
+
버그 제보, 기능 제안, 문서 개선 등 모든 기여를 환영합니다. 이슈를 등록하거나 Pull Request를 보내 주세요.
|
|
175
182
|
|
|
176
|
-
##
|
|
183
|
+
## 라이선스
|
|
177
184
|
|
|
178
|
-
이 프로젝트는 [
|
|
185
|
+
이 프로젝트는 [MIT 라이선스](LICENSE)를 따릅니다.
|
package/dist/utils/query.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { MutationFunction, UseInfiniteQueryOptions, UseMutationOptions, UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
-
type QueryOptionType = <T extends unknown[], J>(key:
|
|
3
|
-
type MutationOptionType = <T, K>(key:
|
|
4
|
-
type InfiniteOptionType = <T extends unknown[], K>(key:
|
|
2
|
+
type QueryOptionType = <T extends unknown[], J>(key: readonly unknown[], fn: (...payload: T) => Promise<J>) => (...payload: T) => UseQueryOptions<J>;
|
|
3
|
+
type MutationOptionType = <T, K>(key: readonly unknown[], fn: MutationFunction<T, K>) => () => UseMutationOptions<T, unknown, K>;
|
|
4
|
+
type InfiniteOptionType = <T extends unknown[], K>(key: readonly unknown[], fn: (...payload: T) => Promise<K>) => (...payload: T) => UseInfiniteQueryOptions<K, unknown, K>;
|
|
5
5
|
export declare const queryOption: QueryOptionType;
|
|
6
6
|
export declare const mutationOption: MutationOptionType;
|
|
7
7
|
export declare const infiniteOption: InfiniteOptionType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query.d.ts","sourceRoot":"","sources":["../../src/utils/query.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,gBAAgB,EAChB,uBAAuB,EACvB,kBAAkB,EAClB,eAAe,EAChB,MAAM,uBAAuB,CAAC;AAE/B,KAAK,eAAe,GAAG,CAAC,CAAC,SAAS,OAAO,EAAE,EAAE,CAAC,EAC5C,GAAG,EAAE,
|
|
1
|
+
{"version":3,"file":"query.d.ts","sourceRoot":"","sources":["../../src/utils/query.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,gBAAgB,EAChB,uBAAuB,EACvB,kBAAkB,EAClB,eAAe,EAChB,MAAM,uBAAuB,CAAC;AAE/B,KAAK,eAAe,GAAG,CAAC,CAAC,SAAS,OAAO,EAAE,EAAE,CAAC,EAC5C,GAAG,EAAE,SAAS,OAAO,EAAE,EACvB,EAAE,EAAE,CAAC,GAAG,OAAO,EAAE,CAAC,KAAK,OAAO,CAAC,CAAC,CAAC,KAC9B,CAAC,GAAG,OAAO,EAAE,CAAC,KAAK,eAAe,CAAC,CAAC,CAAC,CAAC;AAC3C,KAAK,kBAAkB,GAAG,CAAC,CAAC,EAAE,CAAC,EAC7B,GAAG,EAAE,SAAS,OAAO,EAAE,EACvB,EAAE,EAAE,gBAAgB,CAAC,CAAC,EAAE,CAAC,CAAC,KACvB,MAAM,kBAAkB,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC;AAC7C,KAAK,kBAAkB,GAAG,CAAC,CAAC,SAAS,OAAO,EAAE,EAAE,CAAC,EAC/C,GAAG,EAAE,SAAS,OAAO,EAAE,EACvB,EAAE,EAAE,CAAC,GAAG,OAAO,EAAE,CAAC,KAAK,OAAO,CAAC,CAAC,CAAC,KAC9B,CAAC,GAAG,OAAO,EAAE,CAAC,KAAK,uBAAuB,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC;AAE/D,eAAO,MAAM,WAAW,EAAE,eAYzB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,kBAS5B,CAAC;AACF,eAAO,MAAM,cAAc,EAAE,kBAwB5B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,11 +1,32 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uiwwsw/react-query-helper",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"module": "dist/index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"license": "MIT",
|
|
9
|
+
"description": "React Query Helper is a CLI tool that automatically generates React Query hooks and option objects from TypeScript API functions.",
|
|
10
|
+
"keywords": [
|
|
11
|
+
"react",
|
|
12
|
+
"react-query",
|
|
13
|
+
"tanstack-query",
|
|
14
|
+
"codegen",
|
|
15
|
+
"generator",
|
|
16
|
+
"cli",
|
|
17
|
+
"typescript",
|
|
18
|
+
"automation",
|
|
19
|
+
"hooks"
|
|
20
|
+
],
|
|
21
|
+
"homepage": "https://github.com/uiwwsw/react-query-helper#readme",
|
|
22
|
+
"bugs": {
|
|
23
|
+
"url": "https://github.com/uiwwsw/react-query-helper/issues"
|
|
24
|
+
},
|
|
25
|
+
"repository": {
|
|
26
|
+
"type": "git",
|
|
27
|
+
"url": "git+https://github.com/uiwwsw/react-query-helper.git"
|
|
28
|
+
},
|
|
29
|
+
"author": "uiwwsw",
|
|
9
30
|
"files": [
|
|
10
31
|
"dist"
|
|
11
32
|
],
|