@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 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
- exports.default = _chunkT5JLEKOFcjs.definePlugin; exports.definePlugin = _chunkT5JLEKOFcjs.definePlugin; exports.pluginKey = _chunkT5JLEKOFcjs.pluginKey; exports.pluginName = _chunkT5JLEKOFcjs.pluginName;
14
+
15
+ exports.default = src_default; exports.definePlugin = _chunkT5JLEKOFcjs.definePlugin; exports.pluginKey = _chunkT5JLEKOFcjs.pluginKey; exports.pluginName = _chunkT5JLEKOFcjs.pluginName;
12
16
  //# sourceMappingURL=index.cjs.map
@@ -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
- export { Options, PluginOptions, definePlugin as default, definePlugin, pluginKey, pluginName };
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
- export { Options, PluginOptions, definePlugin as default, definePlugin, pluginKey, pluginName };
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
- definePlugin as default,
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.0",
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.0",
63
- "@kubb/parser": "2.7.0",
64
- "@kubb/react": "2.7.0",
65
- "@kubb/swagger": "2.7.0",
66
- "@kubb/types": "2.7.0"
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.62",
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.0"
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