@7nohe/openapi-react-query-codegen 2.1.0 → 2.2.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/dist/generate.mjs CHANGED
@@ -21,7 +21,10 @@ export async function generate(options, version) {
21
21
  const sdkPlugin = formattedOptions.noOperationId
22
22
  ? {
23
23
  name: "@hey-api/sdk",
24
- operationId: false,
24
+ // `operationId: false` was deprecated in favor of `operations.nesting`
25
+ operations: {
26
+ nesting: "id",
27
+ },
25
28
  }
26
29
  : "@hey-api/sdk";
27
30
  const plugins = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@7nohe/openapi-react-query-codegen",
3
- "version": "2.1.0",
3
+ "version": "2.2.0",
4
4
  "description": "OpenAPI React Query Codegen",
5
5
  "bin": {
6
6
  "openapi-rq": "dist/cli.mjs"
@@ -39,7 +39,7 @@
39
39
  "license": "MIT",
40
40
  "author": "Daiki Urata (@7nohe)",
41
41
  "dependencies": {
42
- "@hey-api/openapi-ts": "0.92.3",
42
+ "@hey-api/openapi-ts": "0.99.0",
43
43
  "cross-spawn": "^7.0.3"
44
44
  },
45
45
  "devDependencies": {
@@ -51,17 +51,17 @@
51
51
  "commander": "^12.0.0",
52
52
  "lefthook": "^1.6.10",
53
53
  "rimraf": "^5.0.5",
54
- "ts-morph": "^27.0.2",
55
- "typescript": "^5.9.3",
54
+ "ts-morph": "^28.0.0",
55
+ "typescript": "^6.0.3",
56
56
  "vitest": "^1.5.0"
57
57
  },
58
58
  "peerDependencies": {
59
59
  "commander": "12.x",
60
- "ts-morph": "27.x",
61
- "typescript": "5.x"
60
+ "ts-morph": "28.x",
61
+ "typescript": "5.x || 6.x"
62
62
  },
63
63
  "engines": {
64
- "node": ">=20.19.0",
64
+ "node": ">=22.18.0",
65
65
  "pnpm": ">=9"
66
66
  },
67
67
  "scripts": {