@openapi-qraft/react 1.0.0-beta.0 → 1.0.0-beta.2
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/CHANGELOG.md +13 -0
- package/README.md +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
ADDED
package/README.md
CHANGED
|
@@ -51,7 +51,7 @@ Next, use `@openapi-qraft/cli` to generate the services and typed Tanstack Query
|
|
|
51
51
|
TypeScript definitions generated in the previous step.
|
|
52
52
|
|
|
53
53
|
```bash
|
|
54
|
-
npx @openapi-qraft/cli https://api.dev.monite.com/openapi.json?version=2023-09-01 --output-dir src/api --openapi-types-import-path '../openapi.d.ts'
|
|
54
|
+
npx @openapi-qraft/cli@beta https://api.dev.monite.com/openapi.json?version=2023-09-01 --output-dir src/api --openapi-types-import-path '../openapi.d.ts'
|
|
55
55
|
```
|
|
56
56
|
|
|
57
57
|
By completing these steps, you will generate `openapi.d.ts`, which serves as a TypeScript representation of the
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openapi-qraft/react",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.2",
|
|
4
4
|
"description": "API client for React, providing type-safe requests and dynamic Tanstack Query React Hooks via a modular, Proxy-based architecture.",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "rimraf dist/ && tsc --project tsconfig.build.json",
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
"type": "module",
|
|
14
14
|
"sideEffects": false,
|
|
15
15
|
"devDependencies": {
|
|
16
|
-
"@openapi-qraft/cli": "~1.0.0-beta.
|
|
17
|
-
"@openapi-qraft/openapi-typescript": "^1.0.0-beta.
|
|
16
|
+
"@openapi-qraft/cli": "~1.0.0-beta.2",
|
|
17
|
+
"@openapi-qraft/openapi-typescript": "^1.0.0-beta.1",
|
|
18
18
|
"@tanstack/react-query": "^5.17.3",
|
|
19
19
|
"@testing-library/jest-dom": "^5.17.0",
|
|
20
20
|
"@testing-library/react": "^13.4.0",
|