@kubb/renderer-jsx 5.0.0-alpha.48 → 5.0.0-alpha.49

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/package.json CHANGED
@@ -1,33 +1,62 @@
1
1
  {
2
2
  "name": "@kubb/renderer-jsx",
3
- "version": "5.0.0-alpha.48",
3
+ "version": "5.0.0-alpha.49",
4
4
  "description": "React integration for Kubb - JSX runtime and component-based code generation with React reconciler for building type-safe generators",
5
5
  "keywords": [
6
- "react",
7
- "jsx",
8
- "jsx-runtime",
9
- "react-reconciler",
10
- "component-generation",
11
- "codegen",
12
6
  "code-generator",
13
- "typescript",
7
+ "codegen",
8
+ "component-generation",
14
9
  "file-generation",
10
+ "jsx",
11
+ "jsx-runtime",
12
+ "kubb",
15
13
  "plugin-system",
16
14
  "plugins",
17
- "kubb"
15
+ "react",
16
+ "react-reconciler",
17
+ "typescript"
18
18
  ],
19
+ "license": "MIT",
20
+ "author": "stijnvanhulle",
19
21
  "repository": {
20
22
  "type": "git",
21
23
  "url": "git+https://github.com/kubb-labs/kubb.git",
22
24
  "directory": "packages/renderer-jsx"
23
25
  },
24
- "license": "MIT",
25
- "author": "stijnvanhulle",
26
+ "files": [
27
+ "src",
28
+ "dist",
29
+ "*.d.ts",
30
+ "*.d.cts",
31
+ "!*.map",
32
+ "!/**/**.test.**",
33
+ "!/**/__tests__/**",
34
+ "!/**/__snapshots__/**"
35
+ ],
36
+ "type": "module",
26
37
  "sideEffects": [
27
38
  "./dist/globals.js",
28
39
  "./dist/globals.cjs"
29
40
  ],
30
- "type": "module",
41
+ "main": "./dist/index.cjs",
42
+ "module": "./dist/index.js",
43
+ "types": "./dist/index.d.ts",
44
+ "typesVersions": {
45
+ "*": {
46
+ "globals": [
47
+ "./dist/globals.d.ts"
48
+ ],
49
+ "jsx-dev-runtime": [
50
+ "./dist/jsx-runtime.d.ts"
51
+ ],
52
+ "jsx-runtime": [
53
+ "./dist/jsx-runtime.d.ts"
54
+ ],
55
+ "types": [
56
+ "./dist/types.d.ts"
57
+ ]
58
+ }
59
+ },
31
60
  "exports": {
32
61
  ".": {
33
62
  "import": "./dist/index.js",
@@ -47,44 +76,12 @@
47
76
  },
48
77
  "./package.json": "./package.json"
49
78
  },
50
- "main": "./dist/index.cjs",
51
- "module": "./dist/index.js",
52
- "types": "./dist/index.d.ts",
53
- "typesVersions": {
54
- "*": {
55
- "globals": [
56
- "./dist/globals.d.ts"
57
- ],
58
- "jsx-dev-runtime": [
59
- "./dist/jsx-runtime.d.ts"
60
- ],
61
- "jsx-runtime": [
62
- "./dist/jsx-runtime.d.ts"
63
- ],
64
- "types": [
65
- "./dist/types.d.ts"
66
- ]
67
- }
79
+ "publishConfig": {
80
+ "access": "public",
81
+ "registry": "https://registry.npmjs.org/"
68
82
  },
69
- "files": [
70
- "src",
71
- "dist",
72
- "*.d.ts",
73
- "*.d.cts",
74
- "!*.map",
75
- "!/**/**.test.**",
76
- "!/**/__tests__/**",
77
- "!/**/__snapshots__/**"
78
- ],
79
- "size-limit": [
80
- {
81
- "path": "./dist/*.js",
82
- "limit": "510 KiB",
83
- "gzip": true
84
- }
85
- ],
86
83
  "dependencies": {
87
- "@kubb/ast": "5.0.0-alpha.48"
84
+ "@kubb/ast": "5.0.0-alpha.49"
88
85
  },
89
86
  "devDependencies": {
90
87
  "@types/react": "^19.2.14",
@@ -93,13 +90,16 @@
93
90
  "react-reconciler": "0.33.0",
94
91
  "@internals/utils": "0.0.0"
95
92
  },
93
+ "size-limit": [
94
+ {
95
+ "path": "./dist/*.js",
96
+ "limit": "510 KiB",
97
+ "gzip": true
98
+ }
99
+ ],
96
100
  "engines": {
97
101
  "node": ">=22"
98
102
  },
99
- "publishConfig": {
100
- "access": "public",
101
- "registry": "https://registry.npmjs.org/"
102
- },
103
103
  "inlinedDependencies": {
104
104
  "react": "19.2.5",
105
105
  "react-reconciler": "0.33.0",
@@ -108,8 +108,8 @@
108
108
  "scripts": {
109
109
  "build": "tsdown && size-limit",
110
110
  "clean": "node -e \"require('fs').rmSync('./dist', {recursive:true,force:true})\"",
111
- "lint": "pnpm biome lint .",
112
- "lint:fix": "pnpm biome lint --fix --unsafe .",
111
+ "lint": "oxlint .",
112
+ "lint:fix": "oxlint --fix .",
113
113
  "release": "pnpm publish --no-git-check",
114
114
  "release:canary": "bash ../../.github/canary.sh && node ../../scripts/build.js canary && pnpm publish --no-git-check -tag canary",
115
115
  "start": "tsdown --watch ./src",
@@ -1,4 +1,3 @@
1
- // biome-ignore-all lint/correctness/noUnusedVariables: JSX namespace declarations are consumed by TypeScript's JSX type system, not by user code
2
1
  import type React from 'react'
3
2
 
4
3
  import type {