@kubb/renderer-jsx 5.3.14 → 5.3.15

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.d.ts CHANGED
@@ -156,10 +156,9 @@ type Props$6<TMeta> = BaseProps & {
156
156
  */
157
157
  footer?: string | null;
158
158
  /**
159
- * Absolute on-disk path to copy verbatim into the output, bypassing the parser. Use to emit a
160
- * real source file shipped inside a package (a template) into the generated folder. Only
161
- * `banner`/`footer` are applied around the copied content; child source blocks are ignored for
162
- * output but still drive barrel generation.
159
+ * Absolute on-disk path to copy into the output, through the parser's `copy` hook when it has
160
+ * one. Use to emit a real source file shipped inside a package (a template) into the generated
161
+ * folder. Child source blocks are ignored for output but still drive barrel generation.
163
162
  */
164
163
  copy?: string | null;
165
164
  /**
@@ -1087,13 +1086,12 @@ type FileNode<TMeta extends object = object> = BaseNode & {
1087
1086
  */
1088
1087
  footer?: string | null;
1089
1088
  /**
1090
- * Absolute on-disk path to copy verbatim into the output, bypassing the parser.
1089
+ * Absolute on-disk path to copy into the output, through the parser's `copy` hook when it has one.
1091
1090
  *
1092
1091
  * Use to emit a real source file shipped inside a package (a template) into the generated
1093
- * folder without reformatting or import reordering. Only `banner` and `footer` are applied
1094
- * around the copied content. When set, `copy` provides the file content and any `sources`
1095
- * nodes are ignored for output; `sources` may still carry `name`/`isExportable`/`isIndexable`
1096
- * so barrel generation treats the file the same as a rendered one.
1092
+ * folder. When set, `copy` provides the file content and any `sources` nodes are ignored for
1093
+ * output; `sources` may still carry `name`/`isExportable`/`isIndexable` so barrel generation
1094
+ * treats the file the same as a rendered one.
1097
1095
  */
1098
1096
  copy?: string | null;
1099
1097
  };
@@ -37,8 +37,8 @@ declare namespace JSX {
37
37
  baseName: string;
38
38
  path: string;
39
39
  /**
40
- * Absolute on-disk path to copy verbatim into the output, bypassing the parser. Use to emit a
41
- * real source file shipped inside a package (a template) into the generated folder.
40
+ * Absolute on-disk path to copy into the output, through the parser's `copy` hook when it has
41
+ * one. Use to emit a real source file shipped inside a package (a template) into the generated folder.
42
42
  */
43
43
  copy?: string | null;
44
44
  meta?: FileNode['meta'] | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubb/renderer-jsx",
3
- "version": "5.3.14",
3
+ "version": "5.3.15",
4
4
  "description": "Self-contained synchronous JSX renderer for Kubb. Turns JSX into FileNodes with built-in components (File, Function, Type, Const). An alternative for the ast.factory syntax.",
5
5
  "keywords": [
6
6
  "codegen",
@@ -87,7 +87,7 @@
87
87
  "registry": "https://registry.npmjs.org/"
88
88
  },
89
89
  "dependencies": {
90
- "@kubb/kit": "5.3.14",
90
+ "@kubb/kit": "5.3.15",
91
91
  "yaml": "^2.9.1"
92
92
  },
93
93
  "engines": {