@kubb/plugin-ts 5.4.0-canary.20261029T124214 → 5.4.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.
@@ -43,7 +43,7 @@ pluginTs({
43
43
  })
44
44
  ```
45
45
 
46
- Handlers that return TypeScript compiler nodes still work when your project installs `typescript` 5 or 6, or `@typescript/typescript6` next to TypeScript 7. Both are optional peer dependencies. That form is deprecated and is removed in the next major.
46
+ Handlers that return TypeScript compiler nodes still work when your project installs `@kubb/parser-ts`, plus `typescript` 5 or 6 or `@typescript/typescript6` next to TypeScript 7. All are optional peer dependencies. If `@kubb/parser-ts` is missing, the build stops with an error that tells you to install it. That form is deprecated and is removed in the next major.
47
47
 
48
48
  This maps `date` fields to `Date` and `int32` integers to `bigint`. The separate `bigint` handler controls `int64` fields, which already use `bigint` by default. A `date-time` field uses the `datetime` handler.
49
49
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubb/plugin-ts",
3
- "version": "5.4.0-canary.20261029T124214",
3
+ "version": "5.4.0",
4
4
  "description": "Generate TypeScript types, interfaces, and enums with Kubb. The base plugin other Kubb plugins build on for type safety.",
5
5
  "keywords": [
6
6
  "code-generation",
@@ -67,21 +67,25 @@
67
67
  "registry": "https://registry.npmjs.org/"
68
68
  },
69
69
  "dependencies": {
70
- "@kubb/parser-ts": "^5.15.1",
70
+ "@kubb/kit": "^5.15.2",
71
+ "@kubb/renderer-jsx": "^5.15.2",
71
72
  "yuku-codegen": "^0.19.0"
72
73
  },
73
74
  "devDependencies": {
74
- "@internals/shared": "0.1.0-canary.20261029T124214",
75
- "@internals/utils": "0.1.0-canary.20261029T124214",
76
- "kubb": "^5.15.1",
75
+ "@internals/shared": "0.0.0",
76
+ "@internals/utils": "0.0.0",
77
+ "@kubb/parser-ts": "^5.15.2",
77
78
  "typescript": "^7.0.2"
78
79
  },
79
80
  "peerDependencies": {
81
+ "@kubb/parser-ts": "^5.15.2",
80
82
  "@typescript/typescript6": "^6.0.2",
81
- "kubb": "^5.15.1",
82
83
  "typescript": ">=5.0.0"
83
84
  },
84
85
  "peerDependenciesMeta": {
86
+ "@kubb/parser-ts": {
87
+ "optional": true
88
+ },
85
89
  "@typescript/typescript6": {
86
90
  "optional": true
87
91
  },