@hey-api/openapi-ts 0.90.9 → 0.91.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/clients/ky/types.ts +6 -3
- package/dist/index.d.mts +8732 -55
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +2 -3
- package/dist/{openApi-CE_z8tev.mjs → init-kvO44gnv.mjs} +111 -8322
- package/dist/init-kvO44gnv.mjs.map +1 -0
- package/dist/internal.d.mts +2 -68
- package/dist/internal.d.mts.map +1 -0
- package/dist/internal.mjs +2 -2
- package/dist/run.d.mts +0 -1
- package/dist/run.mjs +5 -7
- package/dist/run.mjs.map +1 -1
- package/dist/src-Dmlg6WRV.mjs +228 -0
- package/dist/src-Dmlg6WRV.mjs.map +1 -0
- package/dist/types-Ba27ofyy.d.mts +157 -0
- package/dist/types-Ba27ofyy.d.mts.map +1 -0
- package/package.json +11 -29
- package/dist/index.cjs +0 -30
- package/dist/index.d.cts +0 -990
- package/dist/internal.cjs +0 -6
- package/dist/internal.d.cts +0 -99
- package/dist/openApi-BaGlRfMs.cjs +0 -22004
- package/dist/openApi-BaGlRfMs.cjs.map +0 -1
- package/dist/openApi-CE_z8tev.mjs.map +0 -1
- package/dist/run.cjs +0 -61
- package/dist/run.cjs.map +0 -1
- package/dist/run.d.cts +0 -2
- package/dist/src-CO2t0IHm.cjs +0 -476
- package/dist/src-CO2t0IHm.cjs.map +0 -1
- package/dist/src-DqFHTOrs.mjs +0 -455
- package/dist/src-DqFHTOrs.mjs.map +0 -1
- package/dist/types-CQTciSfa.d.mts +0 -16471
- package/dist/types-WLqvV8HC.d.cts +0 -15599
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hey-api/openapi-ts",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.91.0",
|
|
4
4
|
"description": "🌀 OpenAPI to TypeScript codegen. Production-ready SDKs, Zod schemas, TanStack Query hooks, and 20+ plugins. Used by Vercel, OpenCode, and PayPal.",
|
|
5
5
|
"homepage": "https://heyapi.dev/",
|
|
6
6
|
"repository": {
|
|
@@ -39,29 +39,16 @@
|
|
|
39
39
|
"yaml"
|
|
40
40
|
],
|
|
41
41
|
"type": "module",
|
|
42
|
-
"main": "./dist/index.
|
|
43
|
-
"module": "./dist/index.mjs",
|
|
42
|
+
"main": "./dist/index.mjs",
|
|
44
43
|
"types": "./dist/index.d.mts",
|
|
45
44
|
"exports": {
|
|
46
45
|
".": {
|
|
47
|
-
"
|
|
48
|
-
|
|
49
|
-
"default": "./dist/index.mjs"
|
|
50
|
-
},
|
|
51
|
-
"require": {
|
|
52
|
-
"types": "./dist/index.d.cts",
|
|
53
|
-
"default": "./dist/index.cjs"
|
|
54
|
-
}
|
|
46
|
+
"types": "./dist/index.d.mts",
|
|
47
|
+
"import": "./dist/index.mjs"
|
|
55
48
|
},
|
|
56
49
|
"./internal": {
|
|
57
|
-
"
|
|
58
|
-
|
|
59
|
-
"default": "./dist/internal.mjs"
|
|
60
|
-
},
|
|
61
|
-
"require": {
|
|
62
|
-
"types": "./dist/internal.d.cts",
|
|
63
|
-
"default": "./dist/internal.cjs"
|
|
64
|
-
}
|
|
50
|
+
"types": "./dist/internal.d.mts",
|
|
51
|
+
"import": "./dist/internal.mjs"
|
|
65
52
|
},
|
|
66
53
|
"./package.json": "./package.json"
|
|
67
54
|
},
|
|
@@ -78,14 +65,13 @@
|
|
|
78
65
|
"node": ">=20.19.0"
|
|
79
66
|
},
|
|
80
67
|
"dependencies": {
|
|
81
|
-
"@hey-api/
|
|
82
|
-
"@hey-api/json-schema-ref-parser": "1.2.2",
|
|
68
|
+
"@hey-api/json-schema-ref-parser": "1.2.3",
|
|
83
69
|
"ansi-colors": "4.1.3",
|
|
84
70
|
"color-support": "1.1.3",
|
|
85
71
|
"commander": "14.0.2",
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"@hey-api/
|
|
72
|
+
"@hey-api/codegen-core": "0.6.0",
|
|
73
|
+
"@hey-api/types": "0.1.3",
|
|
74
|
+
"@hey-api/shared": "0.1.0"
|
|
89
75
|
},
|
|
90
76
|
"peerDependencies": {
|
|
91
77
|
"typescript": ">=5.5.3"
|
|
@@ -98,11 +84,7 @@
|
|
|
98
84
|
"@angular/platform-browser": "19.2.17",
|
|
99
85
|
"@angular/platform-browser-dynamic": "19.2.17",
|
|
100
86
|
"@angular/router": "19.2.17",
|
|
101
|
-
"@types/bun": "1.3.5",
|
|
102
|
-
"@types/cross-spawn": "6.0.6",
|
|
103
|
-
"@types/semver": "7.7.1",
|
|
104
87
|
"axios": "1.13.2",
|
|
105
|
-
"cross-spawn": "7.0.6",
|
|
106
88
|
"eslint": "9.39.1",
|
|
107
89
|
"ky": "1.14.2",
|
|
108
90
|
"nuxt": "3.14.1592",
|
|
@@ -117,7 +99,7 @@
|
|
|
117
99
|
},
|
|
118
100
|
"scripts": {
|
|
119
101
|
"build": "tsdown && pnpm check-exports",
|
|
120
|
-
"check-exports": "attw --pack . --profile
|
|
102
|
+
"check-exports": "attw --pack . --profile esm-only --ignore-rules cjs-resolves-to-esm",
|
|
121
103
|
"dev": "tsdown --watch",
|
|
122
104
|
"test:coverage": "vitest run --coverage",
|
|
123
105
|
"test:update": "vitest watch --update",
|
package/dist/index.cjs
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
const require_openApi = require('./openApi-BaGlRfMs.cjs');
|
|
3
|
-
const require_src = require('./src-CO2t0IHm.cjs');
|
|
4
|
-
let _hey_api_codegen_core = require("@hey-api/codegen-core");
|
|
5
|
-
|
|
6
|
-
exports.$ = require_openApi.$;
|
|
7
|
-
Object.defineProperty(exports, 'Logger', {
|
|
8
|
-
enumerable: true,
|
|
9
|
-
get: function () {
|
|
10
|
-
return _hey_api_codegen_core.Logger;
|
|
11
|
-
}
|
|
12
|
-
});
|
|
13
|
-
exports.OperationPath = require_openApi.OperationPath;
|
|
14
|
-
exports.OperationStrategy = require_openApi.OperationStrategy;
|
|
15
|
-
exports.TsDsl = require_openApi.TsDsl;
|
|
16
|
-
exports.TsDslContext = require_openApi.TsDslContext;
|
|
17
|
-
exports.TypeScriptRenderer = require_openApi.TypeScriptRenderer;
|
|
18
|
-
exports.clientDefaultConfig = require_openApi.clientDefaultConfig;
|
|
19
|
-
exports.clientDefaultMeta = require_openApi.clientDefaultMeta;
|
|
20
|
-
exports.clientPluginHandler = require_openApi.clientPluginHandler;
|
|
21
|
-
exports.createClient = require_src.createClient;
|
|
22
|
-
exports.ctx = require_openApi.ctx;
|
|
23
|
-
exports.defaultPaginationKeywords = require_openApi.defaultPaginationKeywords;
|
|
24
|
-
exports.defaultPlugins = require_openApi.defaultPlugins;
|
|
25
|
-
exports.defineConfig = require_src.defineConfig;
|
|
26
|
-
exports.definePluginConfig = require_openApi.definePluginConfig;
|
|
27
|
-
exports.keywords = require_openApi.keywords;
|
|
28
|
-
exports.regexp = require_openApi.regexp;
|
|
29
|
-
exports.reserved = require_openApi.reserved;
|
|
30
|
-
exports.utils = require_src.utils;
|