@povio/openapi-codegen-cli 2.0.2-rc.6 → 2.0.3-rc.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/package.json CHANGED
@@ -1,6 +1,29 @@
1
1
  {
2
2
  "name": "@povio/openapi-codegen-cli",
3
- "version": "2.0.2-rc.6",
3
+ "version": "2.0.3-rc.0",
4
+ "keywords": [
5
+ "codegen",
6
+ "openapi",
7
+ "povio",
8
+ "react-query",
9
+ "zod"
10
+ ],
11
+ "homepage": "https://github.com/povio/openapi-codegen-cli",
12
+ "bugs": "https://github.com/povio/openapi-codegen-cli/issues",
13
+ "license": "BSD-3-Clause",
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "git+https://github.com/povio/openapi-codegen-cli.git"
17
+ },
18
+ "bin": {
19
+ "openapi-codegen": "./dist/sh.js"
20
+ },
21
+ "files": [
22
+ "README.md",
23
+ "dist/*",
24
+ "src/assets/**",
25
+ "src/generators/templates/**"
26
+ ],
4
27
  "main": "./dist/index.js",
5
28
  "types": "./dist/index.d.ts",
6
29
  "exports": {
@@ -20,9 +43,6 @@
20
43
  "require": "./dist/acl.js"
21
44
  }
22
45
  },
23
- "bin": {
24
- "openapi-codegen": "./dist/sh.js"
25
- },
26
46
  "scripts": {
27
47
  "start": "node --import tsx ./src/sh.ts",
28
48
  "test": "vitest run",
@@ -32,74 +52,35 @@
32
52
  "build": "yarn build:clean && yarn build:types && node ./esbuild.mjs && chmod +x ./dist/sh.js",
33
53
  "start:dist": "node ./dist/sh.js",
34
54
  "typecheck": "tsc --noEmit",
35
- "lint": "eslint ./src",
55
+ "lint": "oxlint --type-aware --fix",
56
+ "lint:check": "oxlint --type-aware",
57
+ "format": "oxfmt",
58
+ "format:check": "oxfmt --check",
36
59
  "check": "yarn typecheck && yarn lint && yarn test",
37
60
  "push": "yarn exec ./scripts/publish.sh",
38
61
  "dev:generate": "rm -rf ./output && yarn start generate --config ./test/config.ts",
39
62
  "dev:check": "yarn start check --config ./test/config.ts"
40
63
  },
41
- "files": [
42
- "dist/*",
43
- "src/assets/**",
44
- "src/generators/templates/**",
45
- "README.md"
46
- ],
47
- "keywords": [
48
- "povio",
49
- "openapi",
50
- "codegen",
51
- "zod",
52
- "react-query"
53
- ],
54
- "homepage": "https://github.com/povio/openapi-codegen-cli",
55
- "bugs": "https://github.com/povio/openapi-codegen-cli/issues",
56
- "repository": {
57
- "url": "git+https://github.com/povio/openapi-codegen-cli.git",
58
- "type": "git"
59
- },
60
- "license": "BSD-3-Clause",
61
64
  "dependencies": {
62
65
  "i18next": "^25.7.3",
63
66
  "import-fresh": "^3.3.1"
64
67
  },
65
- "peerDependencies": {
66
- "@casl/ability": "^6.7.3",
67
- "@casl/react": "^5.0.0",
68
- "@tanstack/react-query": "^5.89.0",
69
- "axios": "^1.13.1",
70
- "react": "^19.1.0",
71
- "zod": "^4.1.12"
72
- },
73
- "peerDependenciesMeta": {
74
- "@casl/ability": {
75
- "optional": true
76
- },
77
- "@casl/react": {
78
- "optional": true
79
- }
80
- },
81
68
  "devDependencies": {
82
69
  "@apidevtools/swagger-parser": "^10.1.0",
83
70
  "@casl/ability": "^6.7.3",
84
71
  "@casl/react": "^5.0.0",
85
72
  "@tanstack/react-query": "~5.85.9",
86
73
  "@types/node": "^20.12.12",
87
- "@types/prettier": "^3.0.0",
88
74
  "@types/prompt-sync": "^4.2.3",
89
75
  "@types/react": "^19.1.0",
90
76
  "@types/yargs": "^17.0.32",
91
- "@typescript-eslint/eslint-plugin": "^8.40.0",
92
- "@typescript-eslint/parser": "^8.40.0",
93
77
  "axios": "^1.13.1",
94
- "chalk": "^5.3.0",
95
- "esbuild": "^0.21.3",
96
- "eslint": "^8.57.0",
97
- "eslint-config-prettier": "^9.1.0",
98
- "eslint-plugin-no-relative-import-paths": "^1.6.1",
99
- "eslint-plugin-prettier": "^5.1.3",
78
+ "esbuild": "0.25.0",
100
79
  "handlebars": "^4.7.8",
101
80
  "openapi-types": "^12.1.3",
102
- "prettier": "^3.2.5",
81
+ "oxfmt": "^0.27.0",
82
+ "oxlint": "^1.41.0",
83
+ "oxlint-tsgolint": "^0.11.4",
103
84
  "prompt-sync": "^4.2.0",
104
85
  "react": "^19.1.0",
105
86
  "reflect-metadata": "^0.2.2",
@@ -107,15 +88,31 @@
107
88
  "ts-pattern": "^5.3.1",
108
89
  "tsx": "^4.10.5",
109
90
  "type-fest": "^4.26.0",
110
- "typescript": "^5.4.5",
91
+ "typescript": "^5.9.3",
111
92
  "vitest": "^2.0.5",
112
93
  "yargs": "^17.7.2",
113
94
  "zod": "^4.1.12"
114
95
  },
96
+ "peerDependencies": {
97
+ "@casl/ability": "^6.7.3",
98
+ "@casl/react": "^5.0.0",
99
+ "@tanstack/react-query": "^5.85.9",
100
+ "axios": "^1.13.1",
101
+ "react": "^19.1.0",
102
+ "zod": "^4.1.12"
103
+ },
104
+ "peerDependenciesMeta": {
105
+ "@casl/ability": {
106
+ "optional": true
107
+ },
108
+ "@casl/react": {
109
+ "optional": true
110
+ }
111
+ },
115
112
  "engines": {
116
113
  "node": ">= 14",
117
- "yarn": ">= 3.2",
118
- "npm": ">= 8"
114
+ "npm": ">= 8",
115
+ "yarn": ">= 3.2"
119
116
  },
120
117
  "packageManager": "yarn@4.2.2"
121
118
  }
@@ -1,7 +1,8 @@
1
- import { QueryKey, useQueryClient } from "@tanstack/react-query";
2
1
  import { useCallback } from "react";
3
2
 
4
3
  import { OpenApiQueryConfig } from "@povio/openapi-codegen-cli";
4
+ import { QueryKey, useQueryClient } from "@tanstack/react-query";
5
+
5
6
  import { QueryModule } from "./queryModules";
6
7
 
7
8
  export interface MutationEffectsOptions {
@@ -1 +0,0 @@
1
- export declare const chk: import("chalk").ChalkInstance;