Skip to content

Commit 5cb9e5b

Browse files
committed
chore: update package.json with license and keywords, and modify repository URL
This commit includes: - Added "license" field with value "MIT" - Introduced "keywords" array for better package discoverability - Updated repository URL to point to the new GitHub location
1 parent 00aea2b commit 5cb9e5b

File tree

2 files changed

+21
-7
lines changed

2 files changed

+21
-7
lines changed

package.json

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,30 @@
11
{
2-
"name": "@lightbase/react-query-codegen",
3-
"version": "2.0.0",
2+
"name": "react-query-lightbase-codegen",
3+
"version": "1.9.0",
4+
"license": "MIT",
45
"description": "Generate Axios API clients and React Query options from OpenAPI specifications",
56
"exports": "./dist/index.js",
67
"files": ["src", "dist"],
78
"author": {
89
"name": "Oliver Winter",
910
"email": "owinter86@gmail.com"
1011
},
12+
"keywords": [
13+
"rest",
14+
"client",
15+
"swagger",
16+
"open-api",
17+
"fetch",
18+
"data fetching",
19+
"code-generation",
20+
"react",
21+
"react-query",
22+
"axios",
23+
"tanstack"
24+
],
1125
"repository": {
1226
"type": "git",
13-
"url": "https://github.com/owinter86/react-query-codegen"
27+
"url": "https://github.com/lightbasenl/react-query-codegen"
1428
},
1529
"scripts": {
1630
"build": "tsc -p tsconfig.json",
@@ -33,7 +47,7 @@
3347
"typescript": "^5.7.3"
3448
},
3549
"peerDependencies": {
36-
"@tanstack/react-query": "^5.0.0",
50+
"@tanstack/react-query": ">= 5.50.0",
3751
"axios": "^1.7.0"
3852
}
3953
}

readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# @lightbase/react-query-codegen
1+
# react-query-lightbase-codegen
22

33
Generate type-safe Axios API clients and React Query hooks from OpenAPI specifications.
44

@@ -15,7 +15,7 @@ Generate type-safe Axios API clients and React Query hooks from OpenAPI specific
1515
## Installation
1616

1717
```bash
18-
npm install @lightbase/react-query-codegen
18+
npm install react-query-lightbase-codegen
1919
```
2020

2121
## Quick Start
@@ -25,7 +25,7 @@ npm install @lightbase/react-query-codegen
2525
Create a script to generate your API code (e.g., `scripts/generate.ts`):
2626

2727
```typescript
28-
import { codegenerate } from '@lightbase/react-query-codegen';
28+
import { codegenerate } from 'react-query-lightbase-codegen';
2929
await codegenerate({
3030
specSource: './specs/api.yaml', // or array of specs
3131
exportDir: './src/generated'

0 commit comments

Comments
 (0)