@kubb/react-fabric 0.1.0 → 0.1.1
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.cts +10 -8
- package/dist/index.d.ts +10 -8
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -4,11 +4,14 @@ import * as react1 from "react";
|
|
|
4
4
|
import React, { ReactNode } from "react";
|
|
5
5
|
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
6
6
|
|
|
7
|
-
//#region ../fabric-core/src/
|
|
8
|
-
|
|
7
|
+
//#region ../fabric-core/src/FileProcessor.d.ts
|
|
8
|
+
|
|
9
|
+
type ProcessFilesProps = {
|
|
9
10
|
extension?: Record<Extname, Extname | ''>;
|
|
10
11
|
dryRun?: boolean;
|
|
11
12
|
};
|
|
13
|
+
//#endregion
|
|
14
|
+
//#region ../fabric-core/src/FileManager.d.ts
|
|
12
15
|
declare class FileManager {
|
|
13
16
|
#private;
|
|
14
17
|
constructor();
|
|
@@ -17,11 +20,10 @@ declare class FileManager {
|
|
|
17
20
|
getByPath(path: Path): ResolvedFile | null;
|
|
18
21
|
deleteByPath(path: Path): void;
|
|
19
22
|
clear(): void;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}: WriteFilesProps): Promise<Array<ResolvedFile>>;
|
|
23
|
+
get files(): Array<ResolvedFile>;
|
|
24
|
+
get processor(): {
|
|
25
|
+
run(options: ProcessFilesProps): Promise<ResolvedFile<object>[]>;
|
|
26
|
+
};
|
|
25
27
|
}
|
|
26
28
|
//#endregion
|
|
27
29
|
//#region ../fabric-core/src/defineApp.d.ts
|
|
@@ -47,7 +49,7 @@ interface App$1 {
|
|
|
47
49
|
_component: Component;
|
|
48
50
|
render(): Promise<void>;
|
|
49
51
|
renderToString(): Promise<string>;
|
|
50
|
-
|
|
52
|
+
files: Array<ResolvedFile>;
|
|
51
53
|
use<Options>(plugin: Plugin<Options>, options: NoInfer<Options>): this;
|
|
52
54
|
write(options?: WriteOptions): Promise<void>;
|
|
53
55
|
addFile(...files: Array<File$1>): Promise<void>;
|
package/dist/index.d.ts
CHANGED
|
@@ -4,11 +4,14 @@ import * as react1 from "react";
|
|
|
4
4
|
import React, { ReactNode } from "react";
|
|
5
5
|
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
6
6
|
|
|
7
|
-
//#region ../fabric-core/src/
|
|
8
|
-
|
|
7
|
+
//#region ../fabric-core/src/FileProcessor.d.ts
|
|
8
|
+
|
|
9
|
+
type ProcessFilesProps = {
|
|
9
10
|
extension?: Record<Extname, Extname | ''>;
|
|
10
11
|
dryRun?: boolean;
|
|
11
12
|
};
|
|
13
|
+
//#endregion
|
|
14
|
+
//#region ../fabric-core/src/FileManager.d.ts
|
|
12
15
|
declare class FileManager {
|
|
13
16
|
#private;
|
|
14
17
|
constructor();
|
|
@@ -17,11 +20,10 @@ declare class FileManager {
|
|
|
17
20
|
getByPath(path: Path): ResolvedFile | null;
|
|
18
21
|
deleteByPath(path: Path): void;
|
|
19
22
|
clear(): void;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}: WriteFilesProps): Promise<Array<ResolvedFile>>;
|
|
23
|
+
get files(): Array<ResolvedFile>;
|
|
24
|
+
get processor(): {
|
|
25
|
+
run(options: ProcessFilesProps): Promise<ResolvedFile<object>[]>;
|
|
26
|
+
};
|
|
25
27
|
}
|
|
26
28
|
//#endregion
|
|
27
29
|
//#region ../fabric-core/src/defineApp.d.ts
|
|
@@ -47,7 +49,7 @@ interface App$1 {
|
|
|
47
49
|
_component: Component;
|
|
48
50
|
render(): Promise<void>;
|
|
49
51
|
renderToString(): Promise<string>;
|
|
50
|
-
|
|
52
|
+
files: Array<ResolvedFile>;
|
|
51
53
|
use<Options>(plugin: Plugin<Options>, options: NoInfer<Options>): this;
|
|
52
54
|
write(options?: WriteOptions): Promise<void>;
|
|
53
55
|
addFile(...files: Array<File$1>): Promise<void>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/react-fabric",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "React integration for Kubb, providing JSX runtime support and React component generation capabilities for code generation plugins.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"react-reconciler": "0.32.0",
|
|
86
86
|
"signal-exit": "^4.1.0",
|
|
87
87
|
"ws": "^8.18.3",
|
|
88
|
-
"@kubb/fabric-core": "0.1.
|
|
88
|
+
"@kubb/fabric-core": "0.1.1"
|
|
89
89
|
},
|
|
90
90
|
"devDependencies": {
|
|
91
91
|
"@types/react": "^19.2.2",
|