@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/dist/index.js CHANGED
@@ -2,7 +2,7 @@ import { n as __name, t as __exportAll } from "./rolldown-runtime-CthDji9g.js";
2
2
  import { createRequire } from "node:module";
3
3
  import { parserTs } from "@kubb/parser-ts";
4
4
  import { File, jsxRenderer } from "kubb/jsx";
5
- import { Resolver, addGenerator, assertPluginOption, ast, createResolver, defineGenerator, definePlugin, isStringType, setMacros, setResolver, syncSchemaRef } from "kubb/kit";
5
+ import { Resolver, addGenerator, assertPluginOption, ast, createResolver, defineExtension, defineGenerator, isStringType, setMacros, setResolver, syncSchemaRef } from "kubb/kit";
6
6
  import { Fragment, jsx, jsxs } from "kubb/jsx/jsx-runtime";
7
7
  //#region ../../internals/utils/src/casing.ts
8
8
  /**
@@ -1831,8 +1831,14 @@ const typeGenerator = defineGenerator({
1831
1831
  }
1832
1832
  });
1833
1833
  //#endregion
1834
+ //#region kubb-extension.json
1835
+ var compatibility = {
1836
+ "kubb": ">=5.8.3",
1837
+ "node": ">=22"
1838
+ };
1839
+ //#endregion
1834
1840
  //#region package.json
1835
- var version = "5.0.7";
1841
+ var version = "5.0.9";
1836
1842
  //#endregion
1837
1843
  //#region src/resolvers/resolverTs.ts
1838
1844
  /**
@@ -1949,11 +1955,12 @@ function assertEnumLikeOptions({ prefix, options }) {
1949
1955
  * })
1950
1956
  * ```
1951
1957
  */
1952
- const pluginTs = definePlugin({
1958
+ const pluginTs = defineExtension({
1959
+ kind: "plugin",
1953
1960
  meta: {
1954
1961
  name: pluginTsName,
1955
1962
  version,
1956
- compatibility: { kubb: ">=5.8.0" }
1963
+ compatibility
1957
1964
  },
1958
1965
  setup(options) {
1959
1966
  const { output = {