@kubb/plugin-ts 5.0.7 → 5.0.9
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 +2 -2
- package/dist/index.cjs +10 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +11 -4
- package/dist/index.js.map +1 -1
- package/docs/guides/customization.md +69 -0
- package/docs/options.md +280 -0
- package/docs/overview.md +37 -0
- package/kubb-extension.json +283 -0
- package/package.json +9 -6
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
[![Node][node-src]][node-href]
|
|
11
11
|
|
|
12
12
|
<h4>
|
|
13
|
-
<a href="https://kubb.dev/
|
|
13
|
+
<a href="https://kubb.dev/extensions/kubb-labs/plugin-ts" target="_blank">Documentation</a>
|
|
14
14
|
<span> · </span>
|
|
15
15
|
<a href="https://github.com/kubb-labs/kubb/issues/" target="_blank">Report Bug</a>
|
|
16
16
|
<span> · </span>
|
|
@@ -38,7 +38,7 @@ npm install @kubb/plugin-ts
|
|
|
38
38
|
|
|
39
39
|
## Documentation
|
|
40
40
|
|
|
41
|
-
See the [full documentation](https://kubb.dev/
|
|
41
|
+
See the [full documentation](https://kubb.dev/extensions/kubb-labs/plugin-ts) for configuration options and examples.
|
|
42
42
|
|
|
43
43
|
## Supporting Kubb
|
|
44
44
|
|
package/dist/index.cjs
CHANGED
|
@@ -1850,8 +1850,14 @@ const typeGenerator = (0, kubb_kit.defineGenerator)({
|
|
|
1850
1850
|
}
|
|
1851
1851
|
});
|
|
1852
1852
|
//#endregion
|
|
1853
|
+
//#region kubb-extension.json
|
|
1854
|
+
var compatibility = {
|
|
1855
|
+
"kubb": ">=5.8.3",
|
|
1856
|
+
"node": ">=22"
|
|
1857
|
+
};
|
|
1858
|
+
//#endregion
|
|
1853
1859
|
//#region package.json
|
|
1854
|
-
var version = "5.0.
|
|
1860
|
+
var version = "5.0.9";
|
|
1855
1861
|
//#endregion
|
|
1856
1862
|
//#region src/resolvers/resolverTs.ts
|
|
1857
1863
|
/**
|
|
@@ -1968,11 +1974,12 @@ function assertEnumLikeOptions({ prefix, options }) {
|
|
|
1968
1974
|
* })
|
|
1969
1975
|
* ```
|
|
1970
1976
|
*/
|
|
1971
|
-
const pluginTs = (0, kubb_kit.
|
|
1977
|
+
const pluginTs = (0, kubb_kit.defineExtension)({
|
|
1978
|
+
kind: "plugin",
|
|
1972
1979
|
meta: {
|
|
1973
1980
|
name: pluginTsName,
|
|
1974
1981
|
version,
|
|
1975
|
-
compatibility
|
|
1982
|
+
compatibility
|
|
1976
1983
|
},
|
|
1977
1984
|
setup(options) {
|
|
1978
1985
|
const { output = {
|