@kubb/renderer-jsx 5.0.0-beta.6 → 5.0.0-beta.61

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.
Files changed (45) hide show
  1. package/LICENSE +17 -10
  2. package/README.md +134 -0
  3. package/dist/chunk-C0LytTxp.js +8 -0
  4. package/dist/index.cjs +386 -17922
  5. package/dist/index.d.ts +232 -147
  6. package/dist/index.js +370 -17903
  7. package/dist/jsx-dev-runtime.cjs +3 -10
  8. package/dist/jsx-dev-runtime.d.ts +4 -8
  9. package/dist/jsx-dev-runtime.js +1 -9
  10. package/dist/jsx-runtime-3ncySO6L.cjs +89 -0
  11. package/dist/jsx-runtime.cjs +5 -14
  12. package/dist/jsx-runtime.d.ts +60 -10
  13. package/dist/jsx-runtime.js +24 -7
  14. package/dist/types-UI1cZVah.d.ts +115 -0
  15. package/dist/types.d.ts +2 -2
  16. package/package.json +6 -29
  17. package/src/SyncRuntime.tsx +298 -0
  18. package/src/components/Callout.tsx +59 -0
  19. package/src/components/Const.tsx +4 -4
  20. package/src/components/File.tsx +7 -5
  21. package/src/components/Frontmatter.tsx +38 -0
  22. package/src/components/Function.tsx +8 -8
  23. package/src/components/Heading.tsx +34 -0
  24. package/src/components/Jsx.tsx +1 -1
  25. package/src/components/List.tsx +40 -0
  26. package/src/components/Paragraph.tsx +28 -0
  27. package/src/components/Type.tsx +3 -3
  28. package/src/constants.ts +9 -28
  29. package/src/createRenderer.tsx +38 -75
  30. package/src/globals.ts +14 -6
  31. package/src/index.ts +6 -3
  32. package/src/jsx-dev-runtime.ts +1 -3
  33. package/src/jsx-namespace.d.ts +21 -13
  34. package/src/jsx-runtime.ts +22 -6
  35. package/src/types.ts +16 -100
  36. package/dist/chunk-Bb7HlUDG.js +0 -28
  37. package/dist/jsx-namespace-CNp0arTN.d.ts +0 -39
  38. package/dist/jsx-runtime-Cvu_ZYgL.js +0 -1448
  39. package/dist/jsx-runtime-DdmO3p0U.cjs +0 -1503
  40. package/dist/types-nAFMiWFw.d.ts +0 -168
  41. package/src/Renderer.ts +0 -184
  42. package/src/Runtime.tsx +0 -170
  43. package/src/components/Root.tsx +0 -70
  44. package/src/dom.ts +0 -105
  45. package/src/utils.ts +0 -267
@@ -1,11 +1,4 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_jsx_runtime$1 = require("./jsx-runtime-DdmO3p0U.cjs");
3
- //#region src/jsx-dev-runtime.ts
4
- var import_jsx_runtime = /* @__PURE__ */ require_jsx_runtime$1.__toESM(require_jsx_runtime$1.require_jsx_runtime(), 1);
5
- const Fragment = import_jsx_runtime.Fragment;
6
- const jsxDEV = import_jsx_runtime.jsx;
7
- //#endregion
8
- exports.Fragment = Fragment;
9
- exports.jsxDEV = jsxDEV;
10
-
11
- //# sourceMappingURL=jsx-dev-runtime.cjs.map
2
+ const require_jsx_runtime = require("./jsx-runtime-3ncySO6L.cjs");
3
+ exports.Fragment = require_jsx_runtime.Fragment;
4
+ exports.jsxDEV = require_jsx_runtime.jsxDEV;
@@ -1,14 +1,10 @@
1
- import { n as __name } from "./chunk-Bb7HlUDG.js";
2
- import { h as KubbReactNode, m as KubbReactElement } from "./types-nAFMiWFw.js";
3
- import { t as JSX } from "./jsx-namespace-CNp0arTN.js";
4
- import * as _$react from "react";
5
- import * as React$1 from "react/jsx-runtime";
1
+ import { t as __name } from "./chunk-C0LytTxp.js";
2
+ import { d as KubbReactNode, u as KubbReactElement } from "./types-UI1cZVah.js";
3
+ import { Fragment, JSX, jsxDEV } from "./jsx-runtime.js";
6
4
 
7
5
  //#region src/jsx-dev-runtime.d.ts
8
- declare const Fragment: _$react.ExoticComponent<_$react.FragmentProps>;
9
- declare const jsxDEV: typeof React$1.jsx;
10
6
  type JSXElement = KubbReactElement;
11
7
  type ReactNode = KubbReactNode;
12
8
  //#endregion
13
- export { Fragment, JSX, JSXElement, ReactNode, jsxDEV };
9
+ export { Fragment, type JSX, JSXElement, ReactNode, jsxDEV };
14
10
  //# sourceMappingURL=jsx-dev-runtime.d.ts.map
@@ -1,10 +1,2 @@
1
- import { r as __toESM } from "./chunk-Bb7HlUDG.js";
2
- import { t as require_jsx_runtime } from "./jsx-runtime-Cvu_ZYgL.js";
3
- //#region src/jsx-dev-runtime.ts
4
- var import_jsx_runtime = /* @__PURE__ */ __toESM(require_jsx_runtime(), 1);
5
- const Fragment = import_jsx_runtime.Fragment;
6
- const jsxDEV = import_jsx_runtime.jsx;
7
- //#endregion
1
+ import { Fragment, jsxDEV } from "./jsx-runtime.js";
8
2
  export { Fragment, jsxDEV };
9
-
10
- //# sourceMappingURL=jsx-dev-runtime.js.map
@@ -0,0 +1,89 @@
1
+ //#region \0rolldown/runtime.js
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __name = (target, value) => __defProp(target, "name", {
5
+ value,
6
+ configurable: true
7
+ });
8
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
9
+ var __getOwnPropNames = Object.getOwnPropertyNames;
10
+ var __getProtoOf = Object.getPrototypeOf;
11
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
14
+ key = keys[i];
15
+ if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
16
+ get: ((k) => from[k]).bind(null, key),
17
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
18
+ });
19
+ }
20
+ return to;
21
+ };
22
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
23
+ value: mod,
24
+ enumerable: true
25
+ }) : target, mod));
26
+ //#endregion
27
+ //#region src/jsx-runtime.ts
28
+ const KUBB_ELEMENT = Symbol.for("kubb.element");
29
+ /**
30
+ * Fragment marker. A `<>…</>` compiles to `jsx(Fragment, …)`, and the renderer
31
+ * unwraps it while walking the tree.
32
+ */
33
+ const Fragment = Symbol.for("kubb.fragment");
34
+ /**
35
+ * Create a Kubb JSX element. The automatic JSX runtime calls this for every tag,
36
+ * so the renderer never depends on React at runtime. The `type` is a host
37
+ * string, a function component, or `Fragment`, and children are folded into
38
+ * `props`.
39
+ */
40
+ function createElement(type, props, key) {
41
+ return {
42
+ $$typeof: KUBB_ELEMENT,
43
+ type,
44
+ key: key ?? null,
45
+ props: props ?? {}
46
+ };
47
+ }
48
+ const jsx = createElement;
49
+ const jsxs = createElement;
50
+ const jsxDEV = createElement;
51
+ //#endregion
52
+ Object.defineProperty(exports, "Fragment", {
53
+ enumerable: true,
54
+ get: function() {
55
+ return Fragment;
56
+ }
57
+ });
58
+ Object.defineProperty(exports, "__name", {
59
+ enumerable: true,
60
+ get: function() {
61
+ return __name;
62
+ }
63
+ });
64
+ Object.defineProperty(exports, "__toESM", {
65
+ enumerable: true,
66
+ get: function() {
67
+ return __toESM;
68
+ }
69
+ });
70
+ Object.defineProperty(exports, "jsx", {
71
+ enumerable: true,
72
+ get: function() {
73
+ return jsx;
74
+ }
75
+ });
76
+ Object.defineProperty(exports, "jsxDEV", {
77
+ enumerable: true,
78
+ get: function() {
79
+ return jsxDEV;
80
+ }
81
+ });
82
+ Object.defineProperty(exports, "jsxs", {
83
+ enumerable: true,
84
+ get: function() {
85
+ return jsxs;
86
+ }
87
+ });
88
+
89
+ //# sourceMappingURL=jsx-runtime-3ncySO6L.cjs.map
@@ -1,15 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_jsx_runtime$1 = require("./jsx-runtime-DdmO3p0U.cjs");
3
- //#region src/jsx-runtime.ts
4
- var import_jsx_runtime = /* @__PURE__ */ require_jsx_runtime$1.__toESM(require_jsx_runtime$1.require_jsx_runtime(), 1);
5
- const Fragment = import_jsx_runtime.Fragment;
6
- const jsx = import_jsx_runtime.jsx;
7
- const jsxDEV = import_jsx_runtime.jsx;
8
- const jsxs = import_jsx_runtime.jsxs;
9
- //#endregion
10
- exports.Fragment = Fragment;
11
- exports.jsx = jsx;
12
- exports.jsxDEV = jsxDEV;
13
- exports.jsxs = jsxs;
14
-
15
- //# sourceMappingURL=jsx-runtime.cjs.map
2
+ const require_jsx_runtime = require("./jsx-runtime-3ncySO6L.cjs");
3
+ exports.Fragment = require_jsx_runtime.Fragment;
4
+ exports.jsx = require_jsx_runtime.jsx;
5
+ exports.jsxDEV = require_jsx_runtime.jsxDEV;
6
+ exports.jsxs = require_jsx_runtime.jsxs;
@@ -1,16 +1,66 @@
1
- import { n as __name } from "./chunk-Bb7HlUDG.js";
2
- import { h as KubbReactNode, m as KubbReactElement } from "./types-nAFMiWFw.js";
3
- import { t as JSX } from "./jsx-namespace-CNp0arTN.js";
4
- import * as _$react from "react";
5
- import * as React$1 from "react/jsx-runtime";
1
+ import { t as __name } from "./chunk-C0LytTxp.js";
2
+ import { a as KubbExportProps, c as KubbImportProps, d as KubbReactNode, f as KubbSourceProps, i as KubbConstProps, l as KubbJsxProps, m as LineBreakProps, n as Key, o as KubbFileProps, p as KubbTypeProps, r as KubbArrowFunctionProps, s as KubbFunctionProps, u as KubbReactElement } from "./types-UI1cZVah.js";
6
3
 
4
+ //#region src/jsx-namespace.d.ts
5
+ /**
6
+ * JSX contract for `@kubb/renderer-jsx`, resolved through `jsxImportSource`.
7
+ *
8
+ * It is self-contained and does not extend `React.JSX`. The renderer only emits
9
+ * the custom `kubb-*` hosts plus `br`, `indent`, and `dedent`, and supports
10
+ * pure function components, so the HTML element and class-component machinery
11
+ * from `@types/react` is not needed.
12
+ */
13
+ declare namespace JSX {
14
+ type ElementType = string | ((props: any) => KubbReactNode);
15
+ type Element = KubbReactElement;
16
+ interface ElementClass {
17
+ render(): KubbReactNode;
18
+ }
19
+ interface ElementAttributesProperty {
20
+ props: {};
21
+ }
22
+ interface ElementChildrenAttribute {
23
+ children: {};
24
+ }
25
+ interface IntrinsicAttributes {
26
+ key?: Key | null;
27
+ }
28
+ interface IntrinsicClassAttributes<T> {
29
+ key?: Key | null;
30
+ }
31
+ interface IntrinsicElements {
32
+ 'kubb-jsx': KubbJsxProps;
33
+ 'kubb-file': KubbFileProps;
34
+ 'kubb-source': KubbSourceProps;
35
+ 'kubb-import': KubbImportProps;
36
+ 'kubb-export': KubbExportProps;
37
+ 'kubb-function': KubbFunctionProps;
38
+ 'kubb-arrow-function': KubbArrowFunctionProps;
39
+ 'kubb-const': KubbConstProps;
40
+ 'kubb-type': KubbTypeProps;
41
+ br: LineBreakProps;
42
+ }
43
+ type LibraryManagedAttributes<C, P> = P;
44
+ }
45
+ //#endregion
7
46
  //#region src/jsx-runtime.d.ts
8
- declare const Fragment: _$react.ExoticComponent<_$react.FragmentProps>;
9
- declare const jsx: typeof React$1.jsx;
10
- declare const jsxDEV: typeof React$1.jsx;
11
- declare const jsxs: typeof React$1.jsxs;
47
+ /**
48
+ * Fragment marker. A `<>…</>` compiles to `jsx(Fragment, …)`, and the renderer
49
+ * unwraps it while walking the tree.
50
+ */
51
+ declare const Fragment: unique symbol;
52
+ /**
53
+ * Create a Kubb JSX element. The automatic JSX runtime calls this for every tag,
54
+ * so the renderer never depends on React at runtime. The `type` is a host
55
+ * string, a function component, or `Fragment`, and children are folded into
56
+ * `props`.
57
+ */
58
+ declare function createElement(type: unknown, props: Record<string, unknown> | null, key?: Key | null): KubbReactElement;
59
+ declare const jsx: typeof createElement;
60
+ declare const jsxs: typeof createElement;
61
+ declare const jsxDEV: typeof createElement;
12
62
  type JSXElement = KubbReactElement;
13
63
  type ReactNode = KubbReactNode;
14
64
  //#endregion
15
- export { Fragment, JSX, JSXElement, ReactNode, jsx, jsxDEV, jsxs };
65
+ export { Fragment, type JSX, JSXElement, ReactNode, jsx, jsxDEV, jsxs };
16
66
  //# sourceMappingURL=jsx-runtime.d.ts.map
@@ -1,11 +1,28 @@
1
- import { r as __toESM } from "./chunk-Bb7HlUDG.js";
2
- import { t as require_jsx_runtime } from "./jsx-runtime-Cvu_ZYgL.js";
1
+ import "./chunk-C0LytTxp.js";
3
2
  //#region src/jsx-runtime.ts
4
- var import_jsx_runtime = /* @__PURE__ */ __toESM(require_jsx_runtime(), 1);
5
- const Fragment = import_jsx_runtime.Fragment;
6
- const jsx = import_jsx_runtime.jsx;
7
- const jsxDEV = import_jsx_runtime.jsx;
8
- const jsxs = import_jsx_runtime.jsxs;
3
+ const KUBB_ELEMENT = Symbol.for("kubb.element");
4
+ /**
5
+ * Fragment marker. A `<>…</>` compiles to `jsx(Fragment, …)`, and the renderer
6
+ * unwraps it while walking the tree.
7
+ */
8
+ const Fragment = Symbol.for("kubb.fragment");
9
+ /**
10
+ * Create a Kubb JSX element. The automatic JSX runtime calls this for every tag,
11
+ * so the renderer never depends on React at runtime. The `type` is a host
12
+ * string, a function component, or `Fragment`, and children are folded into
13
+ * `props`.
14
+ */
15
+ function createElement(type, props, key) {
16
+ return {
17
+ $$typeof: KUBB_ELEMENT,
18
+ type,
19
+ key: key ?? null,
20
+ props: props ?? {}
21
+ };
22
+ }
23
+ const jsx = createElement;
24
+ const jsxs = createElement;
25
+ const jsxDEV = createElement;
9
26
  //#endregion
10
27
  export { Fragment, jsx, jsxDEV, jsxs };
11
28
 
@@ -0,0 +1,115 @@
1
+ import { t as __name } from "./chunk-C0LytTxp.js";
2
+ import { ArrowFunctionNode, ConstNode, ExportNode, FileNode, FunctionNode, ImportNode, SourceNode, TypeNode } from "@kubb/ast";
3
+
4
+ //#region src/types.d.ts
5
+ /**
6
+ * Unique key for a Kubb JSX element in lists or conditional renders.
7
+ */
8
+ type Key = string | number | bigint;
9
+ /**
10
+ * Element produced by a Kubb JSX component. The renderer walks these at runtime,
11
+ * so the fields stay opaque to type-checking.
12
+ */
13
+ type KubbReactElement = {
14
+ type: unknown;
15
+ props: unknown;
16
+ key: Key | null;
17
+ };
18
+ /**
19
+ * Anything a Kubb JSX component accepts as children: an element, a primitive
20
+ * rendered as text, a nullish value that is skipped, or an iterable of nodes.
21
+ */
22
+ type KubbReactNode = KubbReactElement | string | number | bigint | boolean | null | undefined | Iterable<KubbReactNode>;
23
+ /**
24
+ * Props for the `<kubb-jsx>` element.
25
+ * Embeds a raw JSX string verbatim in generated output.
26
+ */
27
+ type KubbJsxProps = {
28
+ children?: string;
29
+ };
30
+ /**
31
+ * Props for the `<kubb-file>` element.
32
+ * Represents a generated file.
33
+ */
34
+ type KubbFileProps = {
35
+ id?: string | null;
36
+ children?: KubbReactNode;
37
+ baseName: string;
38
+ path: string;
39
+ override?: boolean | null;
40
+ meta?: FileNode['meta'] | null;
41
+ };
42
+ /**
43
+ * Props for the `<kubb-source>` element.
44
+ * Marks a block of source text associated with a file.
45
+ */
46
+ type KubbSourceProps = Omit<SourceNode, 'kind'> & {
47
+ children?: KubbReactNode;
48
+ };
49
+ /**
50
+ * Props for the `<kubb-import>` element.
51
+ * Declares an import statement in the generated file.
52
+ */
53
+ type KubbImportProps = Omit<ImportNode, 'kind'> & {};
54
+ /**
55
+ * Props for the `<kubb-export>` element.
56
+ * Declares an export statement in the generated file.
57
+ */
58
+ type KubbExportProps = Omit<ExportNode, 'kind'> & {};
59
+ /**
60
+ * Props for the `<kubb-function>` element.
61
+ * Generates a function declaration.
62
+ */
63
+ type KubbFunctionProps = Omit<FunctionNode, 'kind'> & {
64
+ children?: KubbReactNode;
65
+ };
66
+ /**
67
+ * Props for the `<kubb-arrow-function>` element.
68
+ * Generates an arrow function declaration.
69
+ */
70
+ type KubbArrowFunctionProps = Omit<ArrowFunctionNode, 'kind'> & {
71
+ children?: KubbReactNode;
72
+ };
73
+ /**
74
+ * Props for the `<kubb-const>` element.
75
+ * Generates a constant declaration.
76
+ */
77
+ type KubbConstProps = Omit<ConstNode, 'kind'> & {
78
+ children?: KubbReactNode;
79
+ };
80
+ /**
81
+ * Props for the `<kubb-type>` element.
82
+ * Generates a TypeScript type alias declaration.
83
+ */
84
+ type KubbTypeProps = Omit<TypeNode, 'kind'> & {
85
+ children?: KubbReactNode;
86
+ };
87
+ /**
88
+ * Props for the `<br>` element. It emits a single line break and takes no
89
+ * attributes of its own.
90
+ */
91
+ type LineBreakProps = {};
92
+ /**
93
+ * JSDoc comment block to attach to a generated declaration.
94
+ * Each string in `comments` becomes one line inside the `/** … *\/` block.
95
+ *
96
+ * @example
97
+ * ```ts
98
+ * { comments: ['@description A pet object.', '@deprecated Use PetV2 instead.'] }
99
+ * // Emits:
100
+ * // /**
101
+ * // * @description A pet object.
102
+ * // * @deprecated Use PetV2 instead.
103
+ * // *\/
104
+ * ```
105
+ */
106
+ type JSDoc = {
107
+ /**
108
+ * Lines to emit inside the JSDoc block, in source order.
109
+ * Use standard JSDoc tags such as `@description`, `@deprecated`, `@see`, etc.
110
+ */
111
+ comments: Array<string>;
112
+ };
113
+ //#endregion
114
+ export { KubbExportProps as a, KubbImportProps as c, KubbReactNode as d, KubbSourceProps as f, KubbConstProps as i, KubbJsxProps as l, LineBreakProps as m, Key as n, KubbFileProps as o, KubbTypeProps as p, KubbArrowFunctionProps as r, KubbFunctionProps as s, JSDoc as t, KubbReactElement as u };
115
+ //# sourceMappingURL=types-UI1cZVah.d.ts.map
package/dist/types.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { _ as KubbTextProps, a as JSDoc, b as TextNode, c as KubbConstProps, d as KubbFunctionProps, f as KubbImportProps, g as KubbSourceProps, h as KubbReactNode, i as ElementNames, l as KubbExportProps, m as KubbReactElement, n as DOMNode, o as Key, p as KubbJsxProps, r as DOMNodeAttribute, s as KubbArrowFunctionProps, t as DOMElement, u as KubbFileProps, v as KubbTypeProps, y as LineBreakProps } from "./types-nAFMiWFw.js";
2
- export { DOMElement, DOMNode, DOMNodeAttribute, ElementNames, JSDoc, Key, KubbArrowFunctionProps, KubbConstProps, KubbExportProps, KubbFileProps, KubbFunctionProps, KubbImportProps, KubbJsxProps, KubbReactElement, KubbReactNode, KubbSourceProps, KubbTextProps, KubbTypeProps, LineBreakProps, TextNode };
1
+ import { a as KubbExportProps, c as KubbImportProps, d as KubbReactNode, f as KubbSourceProps, i as KubbConstProps, l as KubbJsxProps, m as LineBreakProps, n as Key, o as KubbFileProps, p as KubbTypeProps, r as KubbArrowFunctionProps, s as KubbFunctionProps, t as JSDoc, u as KubbReactElement } from "./types-UI1cZVah.js";
2
+ export { JSDoc, Key, KubbArrowFunctionProps, KubbConstProps, KubbExportProps, KubbFileProps, KubbFunctionProps, KubbImportProps, KubbJsxProps, KubbReactElement, KubbReactNode, KubbSourceProps, KubbTypeProps, LineBreakProps };
package/package.json CHANGED
@@ -1,19 +1,12 @@
1
1
  {
2
2
  "name": "@kubb/renderer-jsx",
3
- "version": "5.0.0-beta.6",
4
- "description": "React integration for Kubb - JSX runtime and component-based code generation with React reconciler for building type-safe generators",
3
+ "version": "5.0.0-beta.61",
4
+ "description": "Self-contained synchronous JSX renderer for Kubb. Turns JSX into FileNodes with built-in components (File, Function, Type, Const) for component-based, type-safe code generation. No React dependency.",
5
5
  "keywords": [
6
- "code-generator",
7
6
  "codegen",
8
- "component-generation",
9
- "file-generation",
10
7
  "jsx",
11
8
  "jsx-runtime",
12
9
  "kubb",
13
- "plugin-system",
14
- "plugins",
15
- "react",
16
- "react-reconciler",
17
10
  "typescript"
18
11
  ],
19
12
  "license": "MIT",
@@ -81,41 +74,25 @@
81
74
  "registry": "https://registry.npmjs.org/"
82
75
  },
83
76
  "dependencies": {
84
- "@kubb/ast": "5.0.0-beta.6"
77
+ "yaml": "^2.9.0",
78
+ "@kubb/ast": "5.0.0-beta.61"
85
79
  },
86
80
  "devDependencies": {
87
- "@types/react": "^19.2.14",
88
- "@types/react-reconciler": "0.33.0",
89
- "react": "19.2.5",
90
- "react-reconciler": "0.33.0",
91
81
  "@internals/utils": "0.0.0"
92
82
  },
93
- "size-limit": [
94
- {
95
- "path": "./dist/*.js",
96
- "limit": "510 KiB",
97
- "gzip": true
98
- }
99
- ],
100
83
  "engines": {
101
84
  "node": ">=22"
102
85
  },
103
- "inlinedDependencies": {
104
- "react": "19.2.5",
105
- "react-reconciler": "0.33.0",
106
- "scheduler": "0.27.0"
107
- },
108
86
  "scripts": {
109
- "build": "tsdown && size-limit",
87
+ "build": "tsdown",
110
88
  "clean": "node -e \"require('fs').rmSync('./dist', {recursive:true,force:true})\"",
111
89
  "lint": "oxlint .",
112
90
  "lint:fix": "oxlint --fix .",
113
91
  "release": "pnpm publish --no-git-check",
114
92
  "release:canary": "bash ../../.github/canary.sh && node ../../scripts/build.js canary && pnpm publish --no-git-check -tag canary",
93
+ "release:stage": "pnpm stage publish --no-git-check",
115
94
  "start": "tsdown --watch ./src",
116
- "start:devtools": "npx react-devtools",
117
95
  "test": "vitest --passWithNoTests",
118
- "test:devtools": "node ./dist/runner.cjs",
119
96
  "typecheck": "tsc -p ./tsconfig.json --noEmit --emitDeclarationOnly false"
120
97
  }
121
98
  }