@geekmidas/client 10.0.0-alpha.155 → 10.0.0-alpha.156
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 +18 -0
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -647,6 +647,24 @@ expect(mockFetch).toHaveBeenCalledWith(
|
|
|
647
647
|
- [@geekmidas/cli](../cli) - Generate OpenAPI specs and React Query hooks
|
|
648
648
|
- [@tanstack/react-query](https://tanstack.com/query) - React Query library
|
|
649
649
|
|
|
650
|
+
## Optional peers
|
|
651
|
+
|
|
652
|
+
<!-- optional-peers:start -->
|
|
653
|
+
|
|
654
|
+
<!-- Generated by `node scripts/check-optional-peers.mjs --write-docs`; CI fails when it drifts. -->
|
|
655
|
+
|
|
656
|
+
Each of these entries imports an optional peer when it loads, so using it means installing that peer:
|
|
657
|
+
|
|
658
|
+
| Entry | Install |
|
|
659
|
+
| --- | --- |
|
|
660
|
+
| `@geekmidas/client/endpoint-hooks` | `@tanstack/react-query`, `react` |
|
|
661
|
+
| `@geekmidas/client/openapi` | `@tanstack/react-query` |
|
|
662
|
+
| `@geekmidas/client/react-query` | `@tanstack/react-query`, `react` |
|
|
663
|
+
|
|
664
|
+
No other entry imports an optional peer when it loads. `@geekmidas/constructs`, `@geekmidas/schema`, `react-dom` are loaded only when a feature that uses one runs (an `import()` inside a `try`, whose error names the package to install), or named only in types.
|
|
665
|
+
|
|
666
|
+
<!-- optional-peers:end -->
|
|
667
|
+
|
|
650
668
|
## License
|
|
651
669
|
|
|
652
670
|
MIT
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@geekmidas/client",
|
|
3
|
-
"version": "10.0.0-alpha.
|
|
3
|
+
"version": "10.0.0-alpha.156",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -123,16 +123,16 @@
|
|
|
123
123
|
"@types/react-dom": "~19.3.0",
|
|
124
124
|
"jsdom": "~26.1.0",
|
|
125
125
|
"msw": "~2.15.0",
|
|
126
|
-
"@geekmidas/constructs": "
|
|
127
|
-
"@geekmidas/schema": "
|
|
126
|
+
"@geekmidas/constructs": ">=10.0.0-alpha.156 <10.0.0",
|
|
127
|
+
"@geekmidas/schema": ">=10.0.0-alpha.156 <10.0.0"
|
|
128
128
|
},
|
|
129
129
|
"peerDependencies": {
|
|
130
130
|
"@tanstack/react-query": ">=5.0.0",
|
|
131
131
|
"react": ">=18.0.0",
|
|
132
132
|
"react-dom": ">=18.0.0",
|
|
133
133
|
"zod": ">=4.6.5",
|
|
134
|
-
"@geekmidas/constructs": "
|
|
135
|
-
"@geekmidas/schema": "
|
|
134
|
+
"@geekmidas/constructs": ">=10.0.0-alpha.156 <10.0.0",
|
|
135
|
+
"@geekmidas/schema": ">=10.0.0-alpha.156 <10.0.0"
|
|
136
136
|
},
|
|
137
137
|
"peerDependenciesMeta": {
|
|
138
138
|
"@geekmidas/constructs": {
|