@kubb/swagger-ts 2.7.0 → 2.7.1
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/index.cjs +5 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/package.json +8 -8
- package/src/index.ts +9 -1
package/dist/index.cjs
CHANGED
@@ -4,9 +4,13 @@
|
|
4
4
|
|
5
5
|
var _chunkT5JLEKOFcjs = require('./chunk-T5JLEKOF.cjs');
|
6
6
|
|
7
|
+
// src/index.ts
|
8
|
+
var definePluginDefault = _chunkT5JLEKOFcjs.definePlugin;
|
9
|
+
var src_default = definePluginDefault;
|
7
10
|
|
8
11
|
|
9
12
|
|
10
13
|
|
11
|
-
|
14
|
+
|
15
|
+
exports.default = src_default; exports.definePlugin = _chunkT5JLEKOFcjs.definePlugin; exports.pluginKey = _chunkT5JLEKOFcjs.pluginKey; exports.pluginName = _chunkT5JLEKOFcjs.pluginName;
|
12
16
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":""}
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;AAQA,IAAM,sBAAsB;AAE5B,IAAO,cAAQ","sourcesContent":["import { definePlugin } from './plugin.ts'\n\nexport { definePlugin, pluginKey, pluginName } from './plugin.ts'\nexport type * from './types.ts'\n\n/**\n * @deprecated Use `import { definePlugin } from '@kubb/swagger-ts'`\n */\nconst definePluginDefault = definePlugin\n\nexport default definePluginDefault\n"]}
|
package/dist/index.d.cts
CHANGED
@@ -13,4 +13,9 @@ declare const pluginName = "swagger-ts";
|
|
13
13
|
declare const pluginKey: PluginOptions['key'];
|
14
14
|
declare const definePlugin: (options: Options) => _kubb_core.UserPluginWithLifeCycle<PluginOptions>;
|
15
15
|
|
16
|
-
|
16
|
+
/**
|
17
|
+
* @deprecated Use `import { definePlugin } from '@kubb/swagger-ts'`
|
18
|
+
*/
|
19
|
+
declare const definePluginDefault: (options: Options) => _kubb_core.UserPluginWithLifeCycle<PluginOptions>;
|
20
|
+
|
21
|
+
export { Options, PluginOptions, definePluginDefault as default, definePlugin, pluginKey, pluginName };
|
package/dist/index.d.ts
CHANGED
@@ -13,4 +13,9 @@ declare const pluginName = "swagger-ts";
|
|
13
13
|
declare const pluginKey: PluginOptions['key'];
|
14
14
|
declare const definePlugin: (options: Options) => _kubb_core.UserPluginWithLifeCycle<PluginOptions>;
|
15
15
|
|
16
|
-
|
16
|
+
/**
|
17
|
+
* @deprecated Use `import { definePlugin } from '@kubb/swagger-ts'`
|
18
|
+
*/
|
19
|
+
declare const definePluginDefault: (options: Options) => _kubb_core.UserPluginWithLifeCycle<PluginOptions>;
|
20
|
+
|
21
|
+
export { Options, PluginOptions, definePluginDefault as default, definePlugin, pluginKey, pluginName };
|
package/dist/index.js
CHANGED
@@ -3,8 +3,12 @@ import {
|
|
3
3
|
pluginKey,
|
4
4
|
pluginName
|
5
5
|
} from "./chunk-AXUXMMYD.js";
|
6
|
+
|
7
|
+
// src/index.ts
|
8
|
+
var definePluginDefault = definePlugin;
|
9
|
+
var src_default = definePluginDefault;
|
6
10
|
export {
|
7
|
-
|
11
|
+
src_default as default,
|
8
12
|
definePlugin,
|
9
13
|
pluginKey,
|
10
14
|
pluginName
|
package/dist/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["import { definePlugin } from './plugin.ts'\n\nexport { definePlugin, pluginKey, pluginName } from './plugin.ts'\nexport type * from './types.ts'\n\n/**\n * @deprecated Use `import { definePlugin } from '@kubb/swagger-ts'`\n */\nconst definePluginDefault = definePlugin\n\nexport default definePluginDefault\n"],"mappings":";;;;;;;AAQA,IAAM,sBAAsB;AAE5B,IAAO,cAAQ;","names":[]}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@kubb/swagger-ts",
|
3
|
-
"version": "2.7.
|
3
|
+
"version": "2.7.1",
|
4
4
|
"description": "Generator swagger-ts",
|
5
5
|
"keywords": [
|
6
6
|
"typescript",
|
@@ -59,14 +59,14 @@
|
|
59
59
|
"hotscript": "^1.0.13",
|
60
60
|
"json-schema-to-ts": "^3.0.0",
|
61
61
|
"ts-toolbelt": "^9.6.0",
|
62
|
-
"@kubb/core": "2.7.
|
63
|
-
"@kubb/parser": "2.7.
|
64
|
-
"@kubb/react": "2.7.
|
65
|
-
"@kubb/swagger": "2.7.
|
66
|
-
"@kubb/types": "2.7.
|
62
|
+
"@kubb/core": "2.7.1",
|
63
|
+
"@kubb/parser": "2.7.1",
|
64
|
+
"@kubb/react": "2.7.1",
|
65
|
+
"@kubb/swagger": "2.7.1",
|
66
|
+
"@kubb/types": "2.7.1"
|
67
67
|
},
|
68
68
|
"devDependencies": {
|
69
|
-
"@types/react": "^18.2.
|
69
|
+
"@types/react": "^18.2.63",
|
70
70
|
"eslint": "^8.57.0",
|
71
71
|
"expect-type": "^0.17.3",
|
72
72
|
"react": "^18.2.0",
|
@@ -76,7 +76,7 @@
|
|
76
76
|
"@kubb/tsup-config": "1.1.8"
|
77
77
|
},
|
78
78
|
"peerDependencies": {
|
79
|
-
"@kubb/react": "2.7.
|
79
|
+
"@kubb/react": "2.7.1"
|
80
80
|
},
|
81
81
|
"packageManager": "pnpm@8.3.0",
|
82
82
|
"engines": {
|
package/src/index.ts
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
import { definePlugin } from './plugin.ts'
|
2
|
+
|
1
3
|
export { definePlugin, pluginKey, pluginName } from './plugin.ts'
|
2
|
-
export { definePlugin as default } from './plugin.ts'
|
3
4
|
export type * from './types.ts'
|
5
|
+
|
6
|
+
/**
|
7
|
+
* @deprecated Use `import { definePlugin } from '@kubb/swagger-ts'`
|
8
|
+
*/
|
9
|
+
const definePluginDefault = definePlugin
|
10
|
+
|
11
|
+
export default definePluginDefault
|