openapi-sync 5.0.4 → 5.0.5
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 +42 -25
- package/dist/index.d.mts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +608 -533
- package/dist/index.mjs +532 -457
- package/package.json +94 -94
- /package/dist/{interactive-init-GI3DBKYN.mjs → interactive-init-OITE22SZ.mjs} +0 -0
package/package.json
CHANGED
|
@@ -1,95 +1,95 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
}
|
|
2
|
+
"name": "openapi-sync",
|
|
3
|
+
"version": "5.0.5",
|
|
4
|
+
"description": "A powerful developer tool that automates API documentation synchronization with your codebase using OpenAPI specifications. Generates TypeScript types, fully-typed API clients (Fetch, Axios, React Query, SWR, RTK Query), endpoint definitions, runtime validation schemas (Zod, Yup, Joi), and comprehensive documentation with enterprise-grade reliability",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"bin": {
|
|
8
|
+
"openapi-sync": "./bin/cli.js"
|
|
9
|
+
},
|
|
10
|
+
"keywords": [
|
|
11
|
+
"openapi",
|
|
12
|
+
"rest",
|
|
13
|
+
"api",
|
|
14
|
+
"swagger",
|
|
15
|
+
"typescript",
|
|
16
|
+
"ts",
|
|
17
|
+
"dts",
|
|
18
|
+
"zod",
|
|
19
|
+
"yup",
|
|
20
|
+
"joi",
|
|
21
|
+
"validation schema",
|
|
22
|
+
"validation schema generation",
|
|
23
|
+
"validation schema generator",
|
|
24
|
+
"node",
|
|
25
|
+
"codegen",
|
|
26
|
+
"generation",
|
|
27
|
+
"generator",
|
|
28
|
+
"generate types",
|
|
29
|
+
"api client",
|
|
30
|
+
"fetch",
|
|
31
|
+
"axios",
|
|
32
|
+
"react-query",
|
|
33
|
+
"tanstack query",
|
|
34
|
+
"swr",
|
|
35
|
+
"rtk-query",
|
|
36
|
+
"redux toolkit",
|
|
37
|
+
"type-safe",
|
|
38
|
+
"hooks",
|
|
39
|
+
"client generation"
|
|
40
|
+
],
|
|
41
|
+
"files": [
|
|
42
|
+
"bin",
|
|
43
|
+
"dist/**/*.js",
|
|
44
|
+
"dist/**/*.mjs",
|
|
45
|
+
"dist/**/*.d.ts",
|
|
46
|
+
"dist/**/*.d.mts",
|
|
47
|
+
"!dist/**/*.map",
|
|
48
|
+
"LICENSE",
|
|
49
|
+
"README.md",
|
|
50
|
+
"package.json",
|
|
51
|
+
"!website/**/*"
|
|
52
|
+
],
|
|
53
|
+
"repository": {
|
|
54
|
+
"type": "git",
|
|
55
|
+
"url": "https://github.com/akintomiwa-fisayo/openapi-sync"
|
|
56
|
+
},
|
|
57
|
+
"homepage": "https://openapi-sync.com",
|
|
58
|
+
"bugs": {
|
|
59
|
+
"url": "https://github.com/akintomiwa-fisayo/openapi-sync/issues"
|
|
60
|
+
},
|
|
61
|
+
"scripts": {
|
|
62
|
+
"build": "rm -rf dist db.json && tsup && echo '{}' > db.json",
|
|
63
|
+
"publish-package": "npm run build && npm publish",
|
|
64
|
+
"test": "jest",
|
|
65
|
+
"test:coverage": "jest --coverage"
|
|
66
|
+
},
|
|
67
|
+
"author": "P-Technologies",
|
|
68
|
+
"license": "ISC",
|
|
69
|
+
"devDependencies": {
|
|
70
|
+
"@types/prompts": "^2.4.9",
|
|
71
|
+
"@types/jest": "^30.0.0",
|
|
72
|
+
"@types/js-yaml": "^4.0.9",
|
|
73
|
+
"@types/lodash": "^4.17.7",
|
|
74
|
+
"@types/lodash.get": "^4.4.9",
|
|
75
|
+
"@types/lodash.isequal": "^4.5.8",
|
|
76
|
+
"@types/node": "^22.1.0",
|
|
77
|
+
"jest": "^30.2.0",
|
|
78
|
+
"source-map-explorer": "^2.5.3",
|
|
79
|
+
"ts-jest": "^29.4.4",
|
|
80
|
+
"tsup": "^8.5.0",
|
|
81
|
+
"typescript": "^5.5.4"
|
|
82
|
+
},
|
|
83
|
+
"dependencies": {
|
|
84
|
+
"@apidevtools/swagger-parser": "^12.0.0",
|
|
85
|
+
"axios": "^1.7.3",
|
|
86
|
+
"axios-retry": "^4.5.0",
|
|
87
|
+
"curl-generator": "^0.4.2",
|
|
88
|
+
"esbuild-register": "^3.6.0",
|
|
89
|
+
"js-yaml": "^4.1.0",
|
|
90
|
+
"lodash.get": "^4.4.2",
|
|
91
|
+
"lodash.isequal": "^4.5.0",
|
|
92
|
+
"prompts": "^2.4.2",
|
|
93
|
+
"yargs": "^17.7.2"
|
|
94
|
+
}
|
|
95
|
+
}
|
|
File without changes
|