testeranto 0.62.0 → 0.73.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.
Files changed (186) hide show
  1. package/README.md +38 -26
  2. package/dist/cjs-shim.js +2 -2
  3. package/dist/common/Node.js +14 -51
  4. package/dist/common/PM/index.js +71 -0
  5. package/dist/common/PM/main.js +361 -0
  6. package/dist/common/PM/node.js +176 -0
  7. package/dist/common/PM/web.js +174 -0
  8. package/dist/common/Project.js +121 -266
  9. package/dist/common/Puppeteer.js +109 -0
  10. package/dist/common/Reporter.js +119 -0
  11. package/dist/common/Scheduler.js +1 -0
  12. package/dist/common/SubPackages/puppeteer.js +3 -1
  13. package/dist/common/SubPackages/react-dom/component/web.js +98 -45
  14. package/dist/common/SubPackages/react-dom/jsx/web.js +15 -7
  15. package/dist/common/SubPackages/react-test-renderer/MemoExoticComponent/node.js +1 -1
  16. package/dist/common/SubPackages/react-test-renderer/component/index.js +0 -1
  17. package/dist/common/SubPackages/react-test-renderer/fc/web.js +1 -1
  18. package/dist/common/SubPackages/react-test-renderer/jsx/index.js +1 -3
  19. package/dist/common/SubPackages/react-test-renderer/jsx/web.js +1 -1
  20. package/dist/common/SubPackages/react-test-renderer/jsx-promised/index.js +1 -1
  21. package/dist/common/Types.js +2 -32
  22. package/dist/common/Web.js +25 -37
  23. package/dist/common/esbuildConfigs/index.js +5 -5
  24. package/dist/common/esbuildConfigs/node.js +17 -15
  25. package/dist/common/esbuildConfigs/report.js +12 -47
  26. package/dist/common/esbuildConfigs/tests.js +0 -1
  27. package/dist/common/esbuildConfigs/web.js +17 -12
  28. package/dist/common/lib/abstractBase.js +190 -35
  29. package/dist/common/lib/basebuilder.js +56 -29
  30. package/dist/common/lib/classBuilder.js +8 -5
  31. package/dist/common/lib/core.js +42 -17
  32. package/dist/common/lib/index.js +11 -8
  33. package/dist/common/lib/types.js +2 -0
  34. package/dist/common/preload.js +14 -28
  35. package/dist/common/puppeteerConfiger.js +24 -0
  36. package/dist/common/tsconfig.common.tsbuildinfo +1 -1
  37. package/dist/module/Node.js +14 -51
  38. package/dist/module/PM/index.js +67 -0
  39. package/dist/module/PM/main.js +331 -0
  40. package/dist/module/PM/node.js +168 -0
  41. package/dist/module/PM/web.js +167 -0
  42. package/dist/module/Project.js +122 -267
  43. package/dist/module/Puppeteer.js +104 -0
  44. package/dist/module/Reporter.js +114 -0
  45. package/dist/module/Scheduler.js +1 -0
  46. package/dist/module/SubPackages/puppeteer.js +3 -1
  47. package/dist/module/SubPackages/react/jsx/node.js +1 -1
  48. package/dist/module/SubPackages/react/jsx/web.js +1 -1
  49. package/dist/module/SubPackages/react-dom/component/node.js +2 -2
  50. package/dist/module/SubPackages/react-dom/component/web.js +98 -45
  51. package/dist/module/SubPackages/react-dom/jsx/web.js +17 -9
  52. package/dist/module/SubPackages/react-test-renderer/MemoExoticComponent/node.js +1 -1
  53. package/dist/module/SubPackages/react-test-renderer/component/index.js +0 -1
  54. package/dist/module/SubPackages/react-test-renderer/fc/web.js +1 -1
  55. package/dist/module/SubPackages/react-test-renderer/jsx/index.js +1 -3
  56. package/dist/module/SubPackages/react-test-renderer/jsx/web.js +1 -1
  57. package/dist/module/SubPackages/react-test-renderer/jsx-promised/index.js +1 -1
  58. package/dist/module/Types.js +3 -30
  59. package/dist/module/Web.js +26 -38
  60. package/dist/module/esbuildConfigs/index.js +5 -5
  61. package/dist/module/esbuildConfigs/node.js +17 -15
  62. package/dist/module/esbuildConfigs/report.js +11 -48
  63. package/dist/module/esbuildConfigs/tests.js +0 -1
  64. package/dist/module/esbuildConfigs/web.js +17 -12
  65. package/dist/module/lib/abstractBase.js +190 -35
  66. package/dist/module/lib/basebuilder.js +56 -29
  67. package/dist/module/lib/classBuilder.js +8 -5
  68. package/dist/module/lib/core.js +44 -19
  69. package/dist/module/lib/index.js +11 -8
  70. package/dist/module/preload.js +15 -27
  71. package/dist/module/puppeteerConfiger.js +19 -0
  72. package/dist/module/tsconfig.module.tsbuildinfo +1 -1
  73. package/dist/prebuild/Report.css +1616 -584
  74. package/dist/prebuild/Report.js +2635 -2506
  75. package/dist/types/Node.d.ts +3 -2
  76. package/dist/types/PM/index.d.ts +19 -0
  77. package/dist/types/PM/main.d.ts +28 -0
  78. package/dist/types/PM/node.d.ts +26 -0
  79. package/dist/types/PM/web.d.ts +24 -0
  80. package/dist/types/Project.d.ts +1 -2
  81. package/dist/types/Puppeteer.d.ts +1 -0
  82. package/dist/types/Reporter.d.ts +1 -0
  83. package/dist/types/Scheduler.d.ts +0 -0
  84. package/dist/types/SubPackages/puppeteer.d.ts +3 -3
  85. package/dist/types/SubPackages/react/component/node.d.ts +1 -1
  86. package/dist/types/SubPackages/react/component/web.d.ts +1 -1
  87. package/dist/types/SubPackages/react/jsx/index.d.ts +1 -1
  88. package/dist/types/SubPackages/react/jsx/node.d.ts +1 -1
  89. package/dist/types/SubPackages/react/jsx/web.d.ts +2 -2
  90. package/dist/types/SubPackages/react-dom/component/node.d.ts +2 -2
  91. package/dist/types/SubPackages/react-dom/component/web.d.ts +1 -1
  92. package/dist/types/SubPackages/react-dom/jsx/node.d.ts +1 -1
  93. package/dist/types/SubPackages/react-dom/jsx/web.d.ts +1 -1
  94. package/dist/types/SubPackages/react-test-renderer/MemoExoticComponent/node.d.ts +1 -1
  95. package/dist/types/SubPackages/react-test-renderer/component/index.d.ts +1 -1
  96. package/dist/types/SubPackages/react-test-renderer/component/node.d.ts +1 -1
  97. package/dist/types/SubPackages/react-test-renderer/component/web.d.ts +1 -1
  98. package/dist/types/SubPackages/react-test-renderer/fc/node.d.ts +1 -1
  99. package/dist/types/SubPackages/react-test-renderer/fc/web.d.ts +1 -1
  100. package/dist/types/SubPackages/react-test-renderer/jsx/node.d.ts +1 -1
  101. package/dist/types/SubPackages/react-test-renderer/jsx/web.d.ts +3 -3
  102. package/dist/types/SubPackages/react-test-renderer/jsx-promised/index.d.ts +1 -1
  103. package/dist/types/SubPackages/react-test-renderer/jsx-promised/node.d.ts +1 -1
  104. package/dist/types/SubPackages/react-test-renderer/jsx-promised/web.d.ts +1 -1
  105. package/dist/types/Types.d.ts +19 -100
  106. package/dist/types/Web.d.ts +3 -2
  107. package/dist/types/esbuildConfigs/features.d.ts +1 -1
  108. package/dist/types/esbuildConfigs/index.d.ts +1 -1
  109. package/dist/types/esbuildConfigs/node.d.ts +1 -1
  110. package/dist/types/esbuildConfigs/report.d.ts +4 -0
  111. package/dist/types/esbuildConfigs/tests.d.ts +1 -1
  112. package/dist/types/esbuildConfigs/web.d.ts +1 -1
  113. package/dist/types/lib/abstractBase.d.ts +26 -24
  114. package/dist/types/lib/basebuilder.d.ts +10 -7
  115. package/dist/types/lib/classBuilder.d.ts +4 -3
  116. package/dist/types/lib/core.d.ts +5 -4
  117. package/dist/types/lib/index.d.ts +7 -5
  118. package/dist/types/lib/types.d.ts +62 -0
  119. package/dist/types/preload.d.ts +0 -1
  120. package/dist/types/puppeteerConfiger.d.ts +4 -0
  121. package/dist/types/tsconfig.types.tsbuildinfo +1 -1
  122. package/package.json +6 -7
  123. package/src/Node.ts +30 -85
  124. package/src/PM/index.ts +102 -0
  125. package/src/PM/main.ts +420 -0
  126. package/src/PM/node.ts +515 -0
  127. package/src/PM/web.ts +497 -0
  128. package/src/Project.ts +183 -619
  129. package/src/Puppeteer.ts +131 -0
  130. package/src/Report.tsx +158 -44
  131. package/src/Reporter.ts +134 -0
  132. package/src/Scheduler.ts +0 -0
  133. package/src/SubPackages/puppeteer.ts +19 -14
  134. package/src/SubPackages/react/component/node.ts +20 -32
  135. package/src/SubPackages/react/component/web.ts +20 -30
  136. package/src/SubPackages/react/jsx/index.ts +13 -24
  137. package/src/SubPackages/react/jsx/node.ts +5 -8
  138. package/src/SubPackages/react/jsx/web.ts +10 -8
  139. package/src/SubPackages/react-dom/component/node.ts +17 -23
  140. package/src/SubPackages/react-dom/component/web.ts +134 -95
  141. package/src/SubPackages/react-dom/jsx/web.ts +41 -48
  142. package/src/SubPackages/react-test-renderer/MemoExoticComponent/node.ts +27 -37
  143. package/src/SubPackages/react-test-renderer/component/index.ts +16 -30
  144. package/src/SubPackages/react-test-renderer/component/node.ts +5 -11
  145. package/src/SubPackages/react-test-renderer/component/web.ts +5 -11
  146. package/src/SubPackages/react-test-renderer/fc/node.ts +36 -50
  147. package/src/SubPackages/react-test-renderer/fc/web.ts +37 -50
  148. package/src/SubPackages/react-test-renderer/jsx/index.ts +15 -21
  149. package/src/SubPackages/react-test-renderer/jsx/node.ts +6 -10
  150. package/src/SubPackages/react-test-renderer/jsx/web.ts +7 -7
  151. package/src/SubPackages/react-test-renderer/jsx-promised/index.ts +13 -16
  152. package/src/Types.ts +73 -307
  153. package/src/Web.ts +40 -81
  154. package/src/cjs-shim.js +2 -2
  155. package/src/esbuildConfigs/features.ts +3 -4
  156. package/src/esbuildConfigs/index.ts +8 -8
  157. package/src/esbuildConfigs/node.ts +21 -20
  158. package/src/esbuildConfigs/report.ts +15 -51
  159. package/src/esbuildConfigs/tests.ts +3 -9
  160. package/src/esbuildConfigs/web.ts +22 -20
  161. package/src/lib/abstractBase.ts +312 -164
  162. package/src/lib/basebuilder.ts +123 -127
  163. package/src/lib/classBuilder.ts +30 -48
  164. package/src/lib/core.ts +115 -84
  165. package/src/lib/index.ts +58 -56
  166. package/src/lib/types.ts +197 -0
  167. package/src/preload.ts +14 -30
  168. package/src/puppeteerConfiger.ts +26 -0
  169. package/src/web.html.ts +1 -1
  170. package/dist/common/NodeWriter.js +0 -56
  171. package/dist/common/electron.js +0 -196
  172. package/dist/common/lib/browser.js +0 -26
  173. package/dist/common/nodeWriterElectron.js +0 -55
  174. package/dist/module/NodeWriter.js +0 -50
  175. package/dist/module/electron.js +0 -191
  176. package/dist/module/lib/browser.js +0 -22
  177. package/dist/module/nodeWriterElectron.js +0 -52
  178. package/dist/types/NodeWriter.d.ts +0 -2
  179. package/dist/types/lib/browser.d.ts +0 -6
  180. package/dist/types/nodeWriterElectron.d.ts +0 -2
  181. package/src/NodeWriter.ts +0 -69
  182. package/src/electron.ts +0 -250
  183. package/src/lib/browser.ts +0 -34
  184. package/src/nodeWriterElectron.ts +0 -71
  185. package/yarn-error.log +0 -3144
  186. /package/dist/{types/electron.d.ts → module/lib/types.js} +0 -0
@@ -1,5 +1,6 @@
1
1
  import Testeranto from "./lib/core.js";
2
2
  import { ITTestResourceRequest } from "./lib/index.js";
3
- import type { IBaseTest, INodeTestInterface, ITestImplementation, ITestSpecification } from "./Types.js";
4
- declare const _default: <ITestShape extends IBaseTest>(input: ITestShape["iinput"], testSpecification: ITestSpecification<ITestShape>, testImplementation: ITestImplementation<ITestShape, object>, testInterface: Partial<INodeTestInterface<ITestShape>>, testResourceRequirement?: ITTestResourceRequest) => Promise<Testeranto<ITestShape>>;
3
+ import type { IBaseTest, ITestImplementation, ITestSpecification } from "./Types.js";
4
+ import { INodeTestInterface } from "./lib/types.js";
5
+ declare const _default: <ITestShape extends IBaseTest<any, any>>(input: ITestShape["iinput"], testSpecification: ITestSpecification<ITestShape>, testImplementation: ITestImplementation<ITestShape, object>, testInterface: Partial<INodeTestInterface<ITestShape>>, testResourceRequirement?: ITTestResourceRequest) => Promise<Testeranto<ITestShape>>;
5
6
  export default _default;
@@ -0,0 +1,19 @@
1
+ import { Browser } from "puppeteer-core/lib/esm/puppeteer/puppeteer-core-browser";
2
+ import { ITLog, ITTestResourceConfiguration } from "../lib";
3
+ export declare abstract class PM {
4
+ server: any;
5
+ browser: Browser;
6
+ testResourceConfiguration: ITTestResourceConfiguration;
7
+ abstract startPuppeteer(options: any, destfolder: string): Promise<Browser>;
8
+ abstract testArtiFactoryfileWriter(tLog: ITLog, callback: (Promise: any) => void): any;
9
+ abstract createWriteStream(filepath: string): any;
10
+ abstract writeFileSync(fp: string, contents: string): any;
11
+ abstract mkdirSync(): any;
12
+ abstract existsSync(fp: string): boolean;
13
+ abstract write(accessObject: {
14
+ uid: number;
15
+ }, contents: string): boolean;
16
+ abstract end(accessObject: {
17
+ uid: number;
18
+ }): boolean;
19
+ }
@@ -0,0 +1,28 @@
1
+ /// <reference types="node" />
2
+ /// <reference types="node" />
3
+ /// <reference types="node" />
4
+ import fs from "fs";
5
+ import { PassThrough } from "stream";
6
+ import { ITLog } from "../lib";
7
+ import { IBuiltConfig } from "../lib/types";
8
+ import { PM } from "./index.js";
9
+ export declare class PM_Main extends PM {
10
+ configs: IBuiltConfig;
11
+ ports: Record<number, boolean>;
12
+ queue: any[];
13
+ constructor(configs: IBuiltConfig);
14
+ startPuppeteer(options: any, destfolder: string): Promise<any>;
15
+ launchNode: (src: string, dest: string) => Promise<void>;
16
+ launchWeb: (t: string, dest: string) => void;
17
+ end(accessObject: {
18
+ uid: number;
19
+ }): boolean;
20
+ existsSync(destFolder: string): boolean;
21
+ mkdirSync(fp: string): Promise<string | false | undefined>;
22
+ writeFileSync(fp: string, contents: string): void;
23
+ createWriteStream(filepath: string): fs.WriteStream;
24
+ testArtiFactoryfileWriter(tLog: ITLog, callback: (Promise: any) => void): (fPath: any, value: string | Buffer | PassThrough) => void;
25
+ write(accessObject: {
26
+ uid: number;
27
+ }, contents: string): boolean;
28
+ }
@@ -0,0 +1,26 @@
1
+ /// <reference types="node" />
2
+ /// <reference types="node" />
3
+ import { PassThrough } from "stream";
4
+ import { ITLog, ITTestResourceConfiguration } from "../lib";
5
+ import { PM } from "./index.js";
6
+ declare type PuppetMasterServer = Record<string, Promise<any>>;
7
+ export declare function addPageBinding(type: string, name: string, prefix: string): void;
8
+ export declare class PM_Node extends PM {
9
+ server: PuppetMasterServer;
10
+ testResourceConfiguration: ITTestResourceConfiguration;
11
+ constructor(t: ITTestResourceConfiguration);
12
+ existsSync(destFolder: string): boolean;
13
+ mkdirSync(): any;
14
+ write(writeObject: {
15
+ uid: number;
16
+ }, contents: string): any;
17
+ writeFileSync(filepath: string, contents: string): any;
18
+ createWriteStream(filepath: string): any;
19
+ end(writeObject: {
20
+ uid: number;
21
+ }): any;
22
+ customclose(): void;
23
+ testArtiFactoryfileWriter(tLog: ITLog, callback: (Promise: any) => void): (fPath: any, value: string | Buffer | PassThrough) => void;
24
+ startPuppeteer(options?: any): Promise<any>;
25
+ }
26
+ export {};
@@ -0,0 +1,24 @@
1
+ /// <reference types="node" />
2
+ /// <reference types="node" />
3
+ import { PassThrough } from "stream";
4
+ import { ITLog, ITTestResourceConfiguration } from "../lib";
5
+ import { PM } from "./index.js";
6
+ declare type PuppetMasterServer = Record<string, Promise<any>>;
7
+ export declare class PM_Web extends PM {
8
+ server: PuppetMasterServer;
9
+ constructor(t: ITTestResourceConfiguration);
10
+ existsSync(destFolder: string): boolean;
11
+ mkdirSync(): any;
12
+ write(writeObject: {
13
+ uid: number;
14
+ }, contents: string): any;
15
+ writeFileSync(filepath: string, contents: string): any;
16
+ createWriteStream(filepath: string): any;
17
+ end(writeObject: {
18
+ uid: number;
19
+ }): any;
20
+ customclose(): void;
21
+ testArtiFactoryfileWriter(tLog: ITLog, callback: (Promise: any) => void): (fPath: any, value: string | Buffer | PassThrough) => void;
22
+ startPuppeteer(options: any, destFolder: string): Promise<any>;
23
+ }
24
+ export {};
@@ -1,8 +1,7 @@
1
- import { IBaseConfig, IRunTime } from "./Types";
1
+ import { IBaseConfig, IRunTime } from "./lib/types.js";
2
2
  export declare class ITProject {
3
3
  config: IBaseConfig;
4
4
  mode: `up` | `down`;
5
5
  constructor(config: IBaseConfig);
6
6
  getSecondaryEndpointsPoints(runtime?: IRunTime): string[];
7
- initiateShutdown(reason: string): void;
8
7
  }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
File without changes
@@ -1,6 +1,6 @@
1
- import { IBaseTest, IPartialInterface, ITestImplementation, ITestSpecification } from "../Types";
1
+ import { IBaseTest, IPartialNodeInterface, ITestImplementation, ITestSpecification } from "../Types";
2
2
  declare type IInput = string;
3
- export declare type IImpl<ISpec extends IBaseTest> = ITestImplementation<ISpec, object>;
3
+ export declare type IImpl<ISpec extends IBaseTest> = ITestImplementation<ISpec>;
4
4
  export declare type ISpec<T extends IBaseTest> = ITestSpecification<T>;
5
- declare const _default: <ITestShape extends IBaseTest>(testInput: IInput, testSpecifications: ISpec<ITestShape>, testImplementations: ITestImplementation<ITestShape, object>, testInterface?: Partial<import("../Types").ITestInterface<ITestShape>> | undefined) => Promise<import("../lib/core.js").default<ITestShape>>;
5
+ declare const _default: <ITestShape extends IBaseTest<any, any>>(testInput: IInput, testSpecifications: ISpec<ITestShape>, testImplementations: ITestImplementation<ITestShape, object>, testInterface?: Partial<import("../lib/types.js").INodeTestInterface<ITestShape>> | undefined) => Promise<import("../lib/core.js").default<ITestShape>>;
6
6
  export default _default;
@@ -3,5 +3,5 @@ import { IBaseTest, ITestImplementation, ITestSpecification } from "../../../Typ
3
3
  declare type IInput = typeof React.Component;
4
4
  export declare type IImpl<ISpec extends IBaseTest, IState> = ITestImplementation<ISpec, object>;
5
5
  export declare type ISpec<T extends IBaseTest> = ITestSpecification<T>;
6
- declare const _default: <ITestShape extends IBaseTest, IState>(testImplementations: ITestImplementation<ITestShape, object>, testSpecifications: ISpec<ITestShape>, testInput: IInput) => Promise<import("../../../lib/core.js").default<ITestShape>>;
6
+ declare const _default: <ITestShape extends IBaseTest<any, any>, IState>(testImplementations: ITestImplementation<ITestShape, object>, testSpecifications: ISpec<ITestShape>, testInput: IInput) => Promise<import("../../../lib/core.js").default<ITestShape>>;
7
7
  export default _default;
@@ -3,5 +3,5 @@ import { IBaseTest, ITestImplementation, ITestSpecification } from "../../../Typ
3
3
  declare type IInput = typeof React.Component;
4
4
  export declare type IImpl<ISpec extends IBaseTest, IState> = ITestImplementation<ISpec, object>;
5
5
  export declare type ISpec<T extends IBaseTest> = ITestSpecification<T>;
6
- declare const _default: <ITestShape extends IBaseTest>(testImplementations: ITestImplementation<ITestShape, object>, testSpecifications: ISpec<ITestShape>, testInput: IInput) => Promise<import("../../../lib/core.js").default<ITestShape>>;
6
+ declare const _default: <ITestShape extends IBaseTest<any, any>>(testImplementations: ITestImplementation<ITestShape, object>, testSpecifications: ISpec<ITestShape>, testInput: IInput) => Promise<import("../../../lib/core.js").default<ITestShape>>;
7
7
  export default _default;
@@ -7,7 +7,7 @@ export declare type IInput = () => JSX.Element;
7
7
  export declare type ISelection = CElement<any, any>;
8
8
  export declare type IStore = CElement<any, any>;
9
9
  export declare type ISubject = CElement<any, any>;
10
- export declare type ITestImpl<ITestShape extends IBaseTest> = ITestImplementation<ITestShape, object>;
10
+ export declare type ITestImpl<ITestShape extends IBaseTest> = ITestImplementation<ITestShape>;
11
11
  export declare type ITestSpec<ITestShape extends IBaseTest> = ITestSpecification<ITestShape>;
12
12
  export declare const testInterface: {
13
13
  beforeEach: (x: any, ndx: any, testRsource: any, artificer: any) => Promise<IStore>;
@@ -1,4 +1,4 @@
1
1
  import { IBaseTest, IPartialInterface } from "../../../Types";
2
2
  import { ITestImpl, ITestSpec, IInput } from "./index.js";
3
- declare const _default: <ITestShape extends IBaseTest>(testImplementations: ITestImpl<ITestShape>, testSpecifications: ITestSpec<ITestShape>, testInput: IInput, testInterface: Partial<import("../../../Types").ITestInterface<ITestShape>>) => Promise<import("../../../lib/core.js").default<ITestShape>>;
3
+ declare const _default: <ITestShape extends IBaseTest<any, any>>(testImplementations: ITestImpl<ITestShape>, testSpecifications: ITestSpec<ITestShape>, testInput: IInput, testInterface: Partial<import("../../../lib/types.js").ITestInterface<ITestShape>>) => Promise<import("../../../lib/core.js").default<ITestShape>>;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- import { IBaseTest, IPartialInterface } from "../../../Types";
1
+ import { IBaseTest, IPartialWebInterface } from "../../../Types";
2
2
  import { ITestImpl, ITestSpec, IInput } from "./index.js";
3
- declare const _default: <ITestShape extends IBaseTest>(testImplementations: ITestImpl<ITestShape>, testSpecifications: ITestSpec<ITestShape>, testInput: IInput, testInterface: Partial<import("../../../Types").ITestInterface<ITestShape>>) => Promise<import("../../../lib/core").default<ITestShape>>;
3
+ declare const _default: <ITestShape extends IBaseTest<any, any>>(testImplementations: ITestImpl<ITestShape>, testSpecifications: ITestSpec<ITestShape>, testInput: IInput, testInterface: Partial<import("../../../lib/types").IWebTestInterface<ITestShape>>) => Promise<import("../../../lib/core").default<ITestShape>>;
4
4
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import React, { ReactNode } from "react";
2
2
  import { renderToStaticMarkup, renderToStaticNodeStream } from "react-dom/server";
3
- import Stream from 'stream';
3
+ import Stream from "stream";
4
4
  import { IBaseTest, ITestImplementation, ITestSpecification } from "../../../Types";
5
5
  declare type IInput = typeof React.Component;
6
6
  export declare type IThenShape = any;
@@ -8,5 +8,5 @@ export declare type ISelection = ReactNode;
8
8
  export declare type IStore = ReactNode;
9
9
  export declare type ISubject = ReactNode;
10
10
  export { renderToStaticMarkup, renderToStaticNodeStream, Stream };
11
- declare const _default: <ITestShape extends IBaseTest>(testImplementations: ITestImplementation<ITestShape, object>, testSpecifications: ITestSpecification<ITestShape>, testInput: IInput) => Promise<import("../../../lib/core.js").default<ITestShape>>;
11
+ declare const _default: <ITestShape extends IBaseTest<any, any>>(testImplementations: ITestImplementation<ITestShape, object>, testSpecifications: ITestSpecification<ITestShape>, testInput: IInput) => Promise<import("../../../lib/core.js").default<ITestShape>>;
12
12
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
2
  import { IBaseTest, ITestImplementation, ITestSpecification } from "../../../Types";
3
3
  declare type IInput = typeof React.Component;
4
- declare const _default: <ITestShape extends IBaseTest, IWhen, IGiven>(testInput: IInput, testSpecifications: ITestSpecification<ITestShape>, testImplementations: any) => void;
4
+ declare const _default: <ITestShape extends IBaseTest<any, any>, IWhen, IGiven>(testInput: IInput, testSpecifications: ITestSpecification<ITestShape>, testImplementations: any) => Promise<import("../../../lib/core.js").default<ITestShape>>;
5
5
  export default _default;
@@ -2,5 +2,5 @@ import { renderToStaticMarkup, renderToStaticNodeStream } from "react-dom/server
2
2
  import Stream from 'stream';
3
3
  import { IBaseTest, ITestImplementation, ITestSpecification } from "../../../Types";
4
4
  export { renderToStaticMarkup, renderToStaticNodeStream, Stream };
5
- declare const _default: <ITestShape extends IBaseTest>(testImplementations: any, testSpecifications: ITestSpecification<ITestShape>, testInput: ITestShape["iinput"]) => Promise<import("../../../lib/core.js").default<ITestShape>>;
5
+ declare const _default: <ITestShape extends IBaseTest<any, any>>(testImplementations: any, testSpecifications: ITestSpecification<ITestShape>, testInput: ITestShape["iinput"]) => Promise<import("../../../lib/core.js").default<ITestShape>>;
6
6
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { IBaseTest, ITestImplementation, ITestSpecification } from "../../../Types";
2
2
  import type { IInput } from "./index";
3
3
  export declare type ISubject = HTMLElement;
4
- declare const _default: <ITestShape extends IBaseTest>(testImplementations: ITestImplementation<ITestShape, object>, testSpecifications: ITestSpecification<ITestShape>, testInput: IInput) => void;
4
+ declare const _default: <ITestShape extends IBaseTest<any, any>>(testImplementations: ITestImplementation<ITestShape, object>, testSpecifications: ITestSpecification<ITestShape>, testInput: IInput) => void;
5
5
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
2
  import { IBaseTest, ITestImplementation, ITestSpecification } from "../../../Types";
3
3
  declare type IInput = React.MemoExoticComponent<() => JSX.Element>;
4
- declare const _default: <ITestShape extends IBaseTest, PropShape>(testImplementations: ITestImplementation<ITestShape, object>, testSpecifications: ITestSpecification<ITestShape>, testInput: IInput) => Promise<import("../../../lib/core").default<ITestShape>>;
4
+ declare const _default: <ITestShape extends IBaseTest<any, any>, PropShape>(testImplementations: ITestImplementation<ITestShape, object>, testSpecifications: ITestSpecification<ITestShape>, testInput: IInput) => Promise<import("../../../lib/core").default<ITestShape>>;
5
5
  export default _default;
@@ -9,7 +9,7 @@ export declare type IThenShape = any;
9
9
  export declare type ISelection = renderer.ReactTestRenderer;
10
10
  export declare type IStore = renderer.ReactTestRenderer;
11
11
  export declare type ISubject = renderer.ReactTestRenderer;
12
- export declare type IImpl<ITestShape extends IBaseTest, IProps> = ITestImplementation<ITestShape, object>;
12
+ export declare type IImpl<ITestShape extends IBaseTest> = ITestImplementation<ITestShape>;
13
13
  export declare type ISpec<ITestShape extends IBaseTest> = ITestSpecification<ITestShape>;
14
14
  export declare const testInterface: {
15
15
  beforeEach: (CComponent: any, propsAndChildren: any) => Promise<renderer.ReactTestRenderer>;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import type { IBaseTest } from "../../../Types";
3
3
  import { IImpl, ISpec, IInput } from "./index.js";
4
- declare const _default: <ITestShape extends IBaseTest, IProps, IState>(testImplementations: IImpl<ITestShape, object>, testSpecifications: ISpec<ITestShape>, testInput: {
4
+ declare const _default: <ITestShape extends IBaseTest<any, any>, IProps, IState>(testImplementations: IImpl<ITestShape>, testSpecifications: ISpec<ITestShape>, testInput: {
5
5
  new (props: IProps | Readonly<IProps>): import("react").Component<IProps, IState, any>;
6
6
  new (props: IProps, context: any): import("react").Component<IProps, IState, any>;
7
7
  contextType?: import("react").Context<any> | undefined;
@@ -1,4 +1,4 @@
1
1
  import { IBaseTest } from "../../../Types";
2
2
  import { IImpl, ISpec, IInput } from "./index.js";
3
- declare const _default: <ITestShape extends IBaseTest, IProps, IState>(testImplementations: IImpl<ITestShape, object>, testSpecifications: ISpec<ITestShape>, testInput: IInput<any, any>) => Promise<import("../../../lib/core").default<ITestShape>>;
3
+ declare const _default: <ITestShape extends IBaseTest<any, any>, IProps, IState>(testImplementations: IImpl<ITestShape>, testSpecifications: ISpec<ITestShape>, testInput: IInput<any, any>) => Promise<import("../../../lib/core").default<ITestShape>>;
4
4
  export default _default;
@@ -4,5 +4,5 @@ export declare type IInput = React.FC;
4
4
  export declare type IWhenShape = unknown;
5
5
  export declare type IThenShape = unknown;
6
6
  export declare type ISpec<ITestShape extends IBaseTest> = ITestSpecification<ITestShape>;
7
- declare const _default: <ITestShape extends IBaseTest>(testImplementations: ITestImplementation<ITestShape, object>, testSpecifications: ISpec<ITestShape>, testInput: IInput) => Promise<import("../../../lib/core.js").default<ITestShape>>;
7
+ declare const _default: <ITestShape extends IBaseTest<any, any>>(testImplementations: ITestImplementation<ITestShape, object>, testSpecifications: ISpec<ITestShape>, testInput: IInput) => Promise<import("../../../lib/core.js").default<ITestShape>>;
8
8
  export default _default;
@@ -4,5 +4,5 @@ export declare type IInput = React.FC;
4
4
  export declare type IWhenShape = unknown;
5
5
  export declare type IThenShape = unknown;
6
6
  export declare type ISpec<ITestShape extends IBaseTest> = ITestSpecification<ITestShape>;
7
- declare const _default: <ITestShape extends IBaseTest, IPropShape>(testImplementations: ITestImplementation<ITestShape, object>, testSpecifications: ISpec<ITestShape>, testInput: IInput) => Promise<import("../../../lib/core.js").default<ITestShape>>;
7
+ declare const _default: <ITestShape extends IBaseTest<any, any>, IPropShape>(testImplementations: ITestImplementation<ITestShape, object>, testSpecifications: ISpec<ITestShape>, testInput: IInput) => Promise<import("../../../lib/core").default<ITestShape>>;
8
8
  export default _default;
@@ -1,7 +1,7 @@
1
1
  import { IBaseTest } from "../../../Types";
2
2
  import type { ITestImpl, ITestSpec } from "../jsx-promised";
3
3
  import { IInput } from "./index.js";
4
- declare const _default: <ITestShape extends IBaseTest>(testImplementations: ITestImpl<ITestShape>, testSpecifications: ITestSpec<ITestShape>, testInput: IInput, testInterface2?: {
4
+ declare const _default: <ITestShape extends IBaseTest<any, any>>(testImplementations: ITestImpl<ITestShape>, testSpecifications: ITestSpec<ITestShape>, testInput: IInput, testInterface2?: {
5
5
  butThen: (s: import("react-test-renderer").ReactTestRenderer, thenCB: any, tr: any) => Promise<import("react-test-renderer").ReactTestRenderer>;
6
6
  beforeEach: (CComponent: any, props: any) => Promise<import("react-test-renderer").ReactTestRenderer>;
7
7
  andWhen: (renderer: import("react-test-renderer").ReactTestRenderer, whenCB: (any: any) => any) => Promise<import("react-test-renderer").ReactTestRenderer>;
@@ -1,9 +1,9 @@
1
- import { IInput } from "./index.js";
2
1
  import { IBaseTest } from "../../../Types";
3
2
  import { ITestImpl, ITestSpec } from "../jsx-promised";
4
- declare const _default: <ITestShape extends IBaseTest>(testImplementations: ITestImpl<ITestShape>, testSpecifications: ITestSpec<ITestShape>, testInput: IInput, testInterface2?: {
3
+ import { IInput } from "./index.js";
4
+ declare const _default: <ITestShape extends IBaseTest<any, any>>(testImplementations: ITestImpl<ITestShape>, testSpecifications: ITestSpec<ITestShape>, testInput: IInput, testInterface2?: {
5
5
  butThen: (s: import("react-test-renderer").ReactTestRenderer, thenCB: any, tr: any) => Promise<import("react-test-renderer").ReactTestRenderer>;
6
6
  beforeEach: (CComponent: any, props: any) => Promise<import("react-test-renderer").ReactTestRenderer>;
7
7
  andWhen: (renderer: import("react-test-renderer").ReactTestRenderer, whenCB: (any: any) => any) => Promise<import("react-test-renderer").ReactTestRenderer>;
8
- }) => Promise<import("../../../lib/core.js").default<ITestShape>>;
8
+ }) => Promise<import("../../../lib/core").default<ITestShape>>;
9
9
  export default _default;
@@ -7,7 +7,7 @@ export declare type IInput = Promise<JSX.Element>;
7
7
  export declare type ISelection = renderer.ReactTestRenderer;
8
8
  export declare type IStore = renderer.ReactTestRenderer;
9
9
  export declare type ISubject = renderer.ReactTestRenderer;
10
- export declare type ITestImpl<ITestShape extends IBaseTest> = ITestImplementation<ITestShape, object>;
10
+ export declare type ITestImpl<ITestShape extends IBaseTest> = ITestImplementation<ITestShape>;
11
11
  export declare type ITestSpec<ITestShape extends IBaseTest> = ITestSpecification<ITestShape>;
12
12
  export declare const testInterface: {
13
13
  beforeEach: (CComponent: any) => Promise<renderer.ReactTestRenderer>;
@@ -1,5 +1,5 @@
1
1
  import { IInput } from ".";
2
2
  import { IBaseTest } from "../../../Types";
3
3
  import { ITestImpl, ITestSpec } from "../../react/jsx";
4
- declare const _default: <ITestShape extends IBaseTest>(testImplementations: ITestImpl<ITestShape>, testSpecifications: ITestSpec<ITestShape>, testInput: IInput) => Promise<import("../../../lib/core").default<ITestShape>>;
4
+ declare const _default: <ITestShape extends IBaseTest<any, any>>(testImplementations: ITestImpl<ITestShape>, testSpecifications: ITestSpec<ITestShape>, testInput: IInput) => Promise<import("../../../lib/core").default<ITestShape>>;
5
5
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { IBaseTest } from "../../../Types";
2
2
  import { ITestImpl, ITestSpec } from "../../react/jsx";
3
3
  import { IInput } from "./index";
4
- declare const _default: <ITestShape extends IBaseTest>(testImplementations: ITestImpl<ITestShape>, testSpecifications: ITestSpec<ITestShape>, testInput: IInput) => Promise<import("../../../lib/core").default<ITestShape>>;
4
+ declare const _default: <ITestShape extends IBaseTest<any, any>>(testImplementations: ITestImpl<ITestShape>, testSpecifications: ITestSpec<ITestShape>, testInput: IInput) => Promise<import("../../../lib/core").default<ITestShape>>;
5
5
  export default _default;
@@ -1,64 +1,11 @@
1
- import { BrowserWindow } from "electron";
2
- import { Page, Browser } from "puppeteer-core";
3
- import { ITTestResourceConfiguration, ITTestResourceRequest, ITestArtificer, ITestCheckCallback } from "./lib/index.js";
1
+ import { ITTestResourceRequest, ITestCheckCallback } from "./lib/index.js";
4
2
  import { IGivens, BaseCheck, BaseSuite, BaseWhen, BaseThen, BaseGiven } from "./lib/abstractBase.js";
5
3
  import Testeranto from "./lib/core.js";
6
- export declare type IBuiltConfig = {
7
- buildDir: string;
8
- modules: {
9
- module: unknown;
10
- test: string;
11
- runtime: IRunTime;
12
- }[];
13
- };
14
- export declare type INodeUtils = TBrowser;
15
- export declare type IWebUtils = BrowserWindow;
16
- export declare type IUtils = INodeUtils | IWebUtils;
17
- export declare type ISuiteKlasser<ITestShape extends IBaseTest> = (name: string, index: number, givens: IGivens<ITestShape>, checks: BaseCheck<ITestShape>[]) => BaseSuite<ITestShape>;
18
- export declare type IGivenKlasser<ITestShape extends IBaseTest> = (name: any, features: any, whens: any, thens: any, givenCB: any) => BaseGiven<ITestShape>;
19
- export declare type IWhenKlasser<ITestShape extends IBaseTest> = (s: any, o: any) => BaseWhen<ITestShape>;
20
- export declare type IThenKlasser<ITestShape extends IBaseTest> = (s: any, o: any) => BaseThen<ITestShape>;
21
- export declare type ICheckKlasser<ITestShape extends IBaseTest> = (n: any, f: any, cb: any, w: any, t: any) => BaseCheck<ITestShape>;
22
- export declare class TBrowser {
23
- browser: Browser;
24
- constructor(browser: Browser);
25
- pages(): Promise<Page[]>;
26
- }
27
- export declare type ITTestShape = {
28
- suites: any;
29
- givens: any;
30
- whens: any;
31
- thens: any;
32
- checks: any;
33
- };
34
- export declare type IJsonConfig = {
35
- outdir: string;
36
- tests: ITestTypes[];
37
- features: string;
38
- };
39
- export declare type IBaseConfig = {
40
- outdir: string;
41
- tests: ITestTypes[];
42
- features: string;
43
- externals: string[];
44
- clearScreen: boolean;
45
- devMode: boolean;
46
- webPlugins: any[];
47
- nodePlugins: any[];
48
- minify: boolean;
49
- outbase: string;
50
- ports: string[];
51
- debugger: boolean;
52
- };
4
+ import { INodeTestInterface, ITestInterface, IWebTestInterface } from "./lib/types.js";
53
5
  export declare type IPartialInterface<I extends IBaseTest> = Partial<ITestInterface<I>>;
54
6
  export declare type IPartialNodeInterface<I extends IBaseTest> = Partial<INodeTestInterface<I>>;
55
- export declare type IEntry<ITestShape extends IBaseTest> = (input: ITestShape['iinput'], testSpecification: ITestSpecification<ITestShape>, testImplementation: ITestImplementation<ITestShape, object>, testInterface: IPartialInterface<ITestShape>, testResourceRequirement: ITTestResourceRequest) => Promise<Testeranto<ITestShape>>;
56
- export declare type IRunTime = `node` | `web`;
57
- export declare type ITestTypes = [
58
- string,
59
- IRunTime,
60
- ITestTypes[]
61
- ];
7
+ export declare type IPartialWebInterface<I extends IBaseTest> = Partial<IWebTestInterface<I>>;
8
+ export declare type IEntry<ITestShape extends IBaseTest> = (input: ITestShape["iinput"], testSpecification: ITestSpecification<ITestShape>, testImplementation: ITestImplementation<ITestShape, object>, testInterface: IPartialInterface<ITestShape>, testResourceRequirement: ITTestResourceRequest) => Promise<Testeranto<ITestShape>>;
62
9
  export declare type ITestSpecification<ITestShape extends IBaseTest> = (Suite: {
63
10
  [K in keyof ITestShape["suites"]]: (name: string, givens: IGivens<ITestShape>, checks: BaseCheck<ITestShape>[]) => BaseSuite<ITestShape>;
64
11
  }, Given: {
@@ -68,64 +15,36 @@ export declare type ITestSpecification<ITestShape extends IBaseTest> = (Suite: {
68
15
  }, Then: {
69
16
  [K in keyof ITestShape["thens"]]: (...xtrasD: ITestShape["thens"][K]) => BaseThen<ITestShape>;
70
17
  }, Check: ITestCheckCallback<ITestShape>) => any[];
71
- export declare type ITestImplementation<ITestShape extends IBaseTest, IMod> = Modify<{
18
+ export declare type ITestImplementation<ITestShape extends IBaseTest, IMod = object> = Modify<{
72
19
  suites: {
73
20
  [K in keyof ITestShape["suites"]]: string;
74
21
  };
75
22
  givens: {
76
- [K in keyof ITestShape["givens"]]: (...Ig: ITestShape["givens"][K]) => ITestShape['given'];
23
+ [K in keyof ITestShape["givens"]]: (...Ig: ITestShape["givens"][K]) => ITestShape["given"];
77
24
  };
78
25
  whens: {
79
- [K in keyof ITestShape["whens"]]: (...Iw: ITestShape["whens"][K]) => (zel: ITestShape['iselection']) => ITestShape['when'];
26
+ [K in keyof ITestShape["whens"]]: (...Iw: ITestShape["whens"][K]) => (zel: ITestShape["iselection"]) => ITestShape["when"];
80
27
  };
81
28
  thens: {
82
- [K in keyof ITestShape["thens"]]: (...It: ITestShape["thens"][K]) => (ssel: ITestShape['iselection']) => ITestShape['then'];
29
+ [K in keyof ITestShape["thens"]]: (...It: ITestShape["thens"][K]) => (ssel: ITestShape["iselection"]) => ITestShape["then"];
83
30
  };
84
31
  checks: {
85
- [K in keyof ITestShape["checks"]]: (...Ic: ITestShape["checks"][K]) => ITestShape['given'];
32
+ [K in keyof ITestShape["checks"]]: (...Ic: ITestShape["checks"][K]) => ITestShape["given"];
86
33
  };
87
34
  }, IMod>;
88
- export declare type ITestInterface<ITestShape extends IBaseTest> = {
89
- assertThis: (x: ITestShape['then']) => void;
90
- andWhen: (store: ITestShape['istore'], whenCB: ITestShape['when'], testResource: ITTestResourceConfiguration) => Promise<ITestShape['istore']>;
91
- butThen: (store: ITestShape['istore'], thenCB: any, testResource: ITTestResourceConfiguration) => Promise<ITestShape['iselection']>;
92
- afterAll: (store: ITestShape['istore'], artificer: ITestArtificer, utils: IUtils) => any;
93
- afterEach: (store: ITestShape['istore'], key: string, artificer: ITestArtificer) => Promise<unknown>;
94
- beforeAll: (input: ITestShape['iinput'], testResource: ITTestResourceConfiguration, artificer: ITestArtificer) => Promise<ITestShape['isubject']>;
95
- beforeEach: (subject: ITestShape['isubject'], initializer: (c?: any) => ITestShape['given'], artificer: ITestArtificer, testResource: ITTestResourceConfiguration, initialValues: any) => Promise<ITestShape['istore']>;
96
- };
97
- export declare type INodeTestInterface<ITestShape extends IBaseTest> = {
98
- assertThis: (x: ITestShape['then']) => void;
99
- andWhen: (store: ITestShape['istore'], whenCB: ITestShape['when'], testResource: ITTestResourceConfiguration) => Promise<ITestShape['istore']>;
100
- butThen: (store: ITestShape['istore'], thenCB: any, testResource: ITTestResourceConfiguration) => Promise<ITestShape['iselection']>;
101
- afterAll: (store: ITestShape['istore'], artificer: ITestArtificer, browser: INodeUtils) => any;
102
- afterEach: (store: ITestShape['istore'], key: string, artificer: ITestArtificer) => Promise<unknown>;
103
- beforeAll: (input: ITestShape['iinput'], testResource: ITTestResourceConfiguration, artificer: ITestArtificer) => Promise<ITestShape['isubject']>;
104
- beforeEach: (subject: ITestShape['isubject'], initializer: (c?: any) => ITestShape['given'], artificer: ITestArtificer, testResource: ITTestResourceConfiguration, initialValues: any) => Promise<ITestShape['istore']>;
105
- } & ITestInterface<ITestShape>;
106
35
  declare type Modify<T, R> = Omit<T, keyof R> & R;
107
- export declare type IBaseTest = {
108
- iinput: any;
109
- isubject: any;
110
- istore: any;
111
- iselection: any;
112
- given: any;
113
- when: any;
114
- then: any;
115
- suites: Record<string, any[]>;
116
- givens: Record<string, any[]>;
117
- whens: Record<string, any[]>;
118
- thens: Record<string, any[]>;
119
- checks: Record<string, any[]>;
120
- };
121
- export declare type ITestShaper<T extends IBaseTest, modifier> = {
36
+ export declare type IBaseTest<Shape = any, II = Shape> = {
37
+ iinput: II;
38
+ isubject: Shape;
39
+ istore: Shape;
40
+ iselection: Shape;
122
41
  given: any;
123
42
  when: any;
124
43
  then: any;
125
- suites: any;
126
- givens: any;
127
- whens: any;
128
- thens: any;
129
- checks: any;
44
+ suites: Record<string, any>;
45
+ givens: Record<string, any>;
46
+ whens: Record<string, any>;
47
+ thens: Record<string, any>;
48
+ checks: Record<string, any>;
130
49
  };
131
50
  export {};
@@ -1,5 +1,6 @@
1
- import type { IBaseTest, ITestImplementation, ITestInterface, ITestSpecification } from "./Types";
1
+ import type { IBaseTest, ITestImplementation, ITestSpecification } from "./Types";
2
2
  import Testeranto from "./lib/core.js";
3
3
  import { ITTestResourceRequest } from "./lib/index.js";
4
- declare const _default: <ITestShape extends IBaseTest>(input: ITestShape["iinput"], testSpecification: ITestSpecification<ITestShape>, testImplementation: ITestImplementation<ITestShape, object>, testInterface: Partial<ITestInterface<ITestShape>>, testResourceRequirement?: ITTestResourceRequest) => Promise<Testeranto<ITestShape>>;
4
+ import { IWebTestInterface } from "./lib/types";
5
+ declare const _default: <ITestShape extends IBaseTest<any, any>>(input: ITestShape["iinput"], testSpecification: ITestSpecification<ITestShape>, testImplementation: ITestImplementation<ITestShape, object>, testInterface: Partial<IWebTestInterface<ITestShape>>, testResourceRequirement?: ITTestResourceRequest) => Promise<Testeranto<ITestShape>>;
5
6
  export default _default;
@@ -1,4 +1,4 @@
1
- import { IBaseConfig } from "../Types";
2
1
  import { BuildOptions } from "esbuild";
2
+ import { IBaseConfig } from "../lib/types";
3
3
  declare const _default: (config: IBaseConfig) => BuildOptions;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
1
  import { BuildOptions } from "esbuild";
2
- import { IBaseConfig } from "../Types";
2
+ import { IBaseConfig } from "../lib/types";
3
3
  declare const _default: (config: IBaseConfig) => BuildOptions;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
1
  import { BuildOptions } from "esbuild";
2
- import { IBaseConfig } from "../Types";
2
+ import { IBaseConfig } from "../lib/types";
3
3
  declare const _default: (config: IBaseConfig, entryPoints: Set<string> | string[]) => BuildOptions;
4
4
  export default _default;
@@ -0,0 +1,4 @@
1
+ import { BuildOptions } from "esbuild";
2
+ import { IBaseConfig } from "../lib/types";
3
+ declare const _default: (config: IBaseConfig) => BuildOptions;
4
+ export default _default;
@@ -1,4 +1,4 @@
1
- import { IBaseConfig } from "../Types";
2
1
  import { BuildOptions } from "esbuild";
2
+ import { IBaseConfig } from "../lib/types";
3
3
  declare const _default: (config: IBaseConfig) => BuildOptions;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
1
  import { BuildOptions } from "esbuild";
2
- import { IBaseConfig } from "../Types";
2
+ import { IBaseConfig } from "../lib/types.js";
3
3
  declare const _default: (config: IBaseConfig, entryPoints: Set<string> | string[]) => BuildOptions;
4
4
  export default _default;