testeranto 0.79.69 → 0.81.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.
- package/.aider.chat.history.md +980 -0
- package/.aider.input.history +87 -0
- package/.aider.tags.cache.v3/1c/30/af1de2ad7a137afeddb1b01e0c27.val +0 -0
- package/.aider.tags.cache.v3/1d/63/88318b65ce58b6bb0487e8ce2656.val +0 -0
- package/.aider.tags.cache.v3/2e/67/16ae65530b40038e48e00d666c63.val +0 -0
- package/.aider.tags.cache.v3/6f/94/80488a232866fcce7ee657da488b.val +0 -0
- package/.aider.tags.cache.v3/cache.db +0 -0
- package/.eslintrc.js +5 -2
- package/README.md +10 -107
- package/build-tests.ts +16 -0
- package/dist/common/build-tests.js +38 -0
- package/dist/common/init-docs.js +8 -0
- package/dist/common/run-tests.js +34 -0
- package/dist/common/src/Aider.js +143 -0
- package/dist/common/src/Init.js +10 -0
- package/dist/common/{PM → src/PM}/main.js +58 -49
- package/dist/common/{PM → src/PM}/node.js +1 -1
- package/dist/common/{Project.js → src/Project.js} +46 -38
- package/dist/common/{Puppeteer.js → src/Puppeteer.js} +51 -40
- package/dist/common/{SubPackages → src/SubPackages}/react-dom/jsx/web.js +37 -38
- package/dist/common/{SubPackages → src/SubPackages}/react-test-renderer/jsx/index.js +17 -2
- package/dist/common/src/esbuildConfigs/inputFilesPlugin.js +79 -0
- package/dist/common/{esbuildConfigs → src/esbuildConfigs}/node.js +5 -3
- package/dist/common/{esbuildConfigs → src/esbuildConfigs}/web.js +4 -4
- package/dist/common/{lib → src/lib}/abstractBase.js +80 -24
- package/dist/common/{lib → src/lib}/basebuilder.js +14 -3
- package/dist/common/{lib → src/lib}/core.js +47 -3
- package/dist/common/testeranto.js +15 -0
- package/dist/common/tsconfig.common.tsbuildinfo +1 -1
- package/dist/module/build-tests.js +10 -0
- package/dist/module/init-docs.js +3 -0
- package/dist/module/run-tests.js +6 -0
- package/dist/module/src/Aider.js +136 -0
- package/dist/module/src/Init.js +5 -0
- package/dist/module/{PM → src/PM}/main.js +58 -49
- package/dist/module/{PM → src/PM}/node.js +1 -1
- package/dist/module/{Project.js → src/Project.js} +46 -38
- package/dist/module/{Puppeteer.js → src/Puppeteer.js} +51 -40
- package/dist/module/{SubPackages → src/SubPackages}/react-dom/jsx/web.js +37 -38
- package/dist/module/src/SubPackages/react-test-renderer/jsx/index.js +34 -0
- package/dist/module/src/esbuildConfigs/inputFilesPlugin.js +74 -0
- package/dist/module/{esbuildConfigs → src/esbuildConfigs}/node.js +4 -2
- package/dist/module/{esbuildConfigs → src/esbuildConfigs}/web.js +4 -4
- package/dist/module/{lib → src/lib}/abstractBase.js +80 -24
- package/dist/module/{lib → src/lib}/basebuilder.js +14 -3
- package/dist/module/{lib → src/lib}/core.js +47 -3
- package/dist/module/testeranto.js +13 -0
- package/dist/module/tsconfig.module.tsbuildinfo +1 -1
- package/dist/types/build-tests.d.ts +3 -0
- package/dist/types/init-docs.d.ts +2 -0
- package/dist/types/run-tests.d.ts +2 -0
- package/dist/types/src/Aider.d.ts +1 -0
- package/dist/types/{PM → src/PM}/index.d.ts +1 -1
- package/dist/types/{PM → src/PM}/main.d.ts +7 -1
- package/dist/types/{Project.d.ts → src/Project.d.ts} +6 -1
- package/dist/types/{Types.d.ts → src/Types.d.ts} +3 -2
- package/dist/types/{lib → src/lib}/abstractBase.d.ts +1 -0
- package/dist/types/testeranto.d.ts +16 -0
- package/dist/types/tsconfig.types.tsbuildinfo +1 -1
- package/init-docs.ts +5 -0
- package/package.json +54 -29
- package/run-tests.ts +9 -0
- package/secret +1 -0
- package/secret.env +2 -0
- package/src/Aider.ts +168 -0
- package/src/Init.ts +0 -31
- package/src/PM/index.ts +1 -1
- package/src/PM/main.ts +71 -61
- package/src/PM/node.ts +1 -1
- package/src/Project.ts +55 -48
- package/src/Puppeteer.ts +66 -52
- package/src/SubPackages/react-dom/jsx/web.ts +46 -49
- package/src/SubPackages/react-test-renderer/jsx/index.ts +25 -2
- package/src/Types.ts +3 -1
- package/src/esbuildConfigs/inputFilesPlugin.ts +78 -31
- package/src/esbuildConfigs/node.ts +2 -2
- package/src/esbuildConfigs/web.ts +4 -4
- package/src/lib/abstractBase.ts +88 -30
- package/src/lib/basebuilder.ts +17 -3
- package/src/lib/core.ts +55 -13
- package/testeranto.ts +13 -0
- package/tsconfig.common.json +12 -4
- package/tsconfig.json +9 -2
- package/tsconfig.module.json +2 -2
- package/tsconfig.types.json +1 -1
- package/Report.Dockerfile +0 -44
- package/dist/common/Features.js +0 -51
- package/dist/common/Init.js +0 -30
- package/dist/common/Reporter.js +0 -112
- package/dist/common/Scheduler.js +0 -1
- package/dist/common/TaskManBackEnd.js +0 -167
- package/dist/common/esbuildConfigs/inputFilesPlugin.js +0 -49
- package/dist/common/mongooseSchemas.js +0 -56
- package/dist/common/preload.js +0 -15
- package/dist/common/report.html.js +0 -31
- package/dist/module/ExampleTab.js +0 -112
- package/dist/module/Features.js +0 -41
- package/dist/module/Init.js +0 -25
- package/dist/module/Reporter.js +0 -107
- package/dist/module/Scheduler.js +0 -1
- package/dist/module/SubPackages/react-test-renderer/jsx/index.js +0 -19
- package/dist/module/TaskManBackEnd.js +0 -162
- package/dist/module/TaskManFrontEnd.js +0 -605
- package/dist/module/esbuildConfigs/inputFilesPlugin.js +0 -44
- package/dist/module/mongooseSchemas.js +0 -50
- package/dist/module/preload.js +0 -15
- package/dist/module/report.html.js +0 -29
- package/dist/prebuild/TaskManBackEnd.mjs +0 -170
- package/dist/prebuild/TaskManFrontEnd.css +0 -12301
- package/dist/prebuild/TaskManFrontEnd.js +0 -81262
- package/dist/types/Features.d.ts +0 -35
- package/dist/types/Reporter.d.ts +0 -1
- package/dist/types/Scheduler.d.ts +0 -0
- package/dist/types/TaskManBackEnd.d.ts +0 -3
- package/dist/types/mongooseSchemas.d.ts +0 -124
- package/dist/types/preload.d.ts +0 -0
- package/dist/types/report.html.d.ts +0 -2
- package/src/ExampleTab.tsx +0 -219
- package/src/Features.ts +0 -64
- package/src/Reporter.ts +0 -126
- package/src/Scheduler.ts +0 -0
- package/src/TaskManBackEnd.ts +0 -226
- package/src/TaskManFrontEnd.tsx +0 -1254
- package/src/mongooseSchemas.ts +0 -105
- package/src/preload.ts +0 -17
- package/src/report.html.ts +0 -29
- package/tests/Rectangle.test.ts +0 -189
- package/trash/TaskMan.Dockerfile +0 -23
- package/trash/TaskMan1.Dockerfile +0 -43
- package/trash/devBot.dockerfile +0 -12
- package/trash/docker-compose-dev.yml +0 -9
- package/trash/docker-compose-prod.yml +0 -18
- package/trash/electronBuild.ts +0 -32
- /package/dist/common/{Node.js → src/Node.js} +0 -0
- /package/dist/common/{PM → src/PM}/index.js +0 -0
- /package/dist/common/{PM → src/PM}/web.js +0 -0
- /package/dist/common/{SubPackages → src/SubPackages}/puppeteer.js +0 -0
- /package/dist/common/{SubPackages → src/SubPackages}/react/component/node.js +0 -0
- /package/dist/common/{SubPackages → src/SubPackages}/react/component/web.js +0 -0
- /package/dist/common/{SubPackages → src/SubPackages}/react/jsx/index.js +0 -0
- /package/dist/common/{SubPackages → src/SubPackages}/react/jsx/node.js +0 -0
- /package/dist/common/{SubPackages → src/SubPackages}/react/jsx/web.js +0 -0
- /package/dist/common/{SubPackages → src/SubPackages}/react-dom/component/node.js +0 -0
- /package/dist/common/{SubPackages → src/SubPackages}/react-dom/component/web.js +0 -0
- /package/dist/common/{SubPackages → src/SubPackages}/react-dom/jsx/index.js +0 -0
- /package/dist/common/{SubPackages → src/SubPackages}/react-dom/jsx/node.js +0 -0
- /package/dist/common/{SubPackages → src/SubPackages}/react-test-renderer/MemoExoticComponent/node.js +0 -0
- /package/dist/common/{SubPackages → src/SubPackages}/react-test-renderer/component/index.js +0 -0
- /package/dist/common/{SubPackages → src/SubPackages}/react-test-renderer/component/interface.js +0 -0
- /package/dist/common/{SubPackages → src/SubPackages}/react-test-renderer/component/node.js +0 -0
- /package/dist/common/{SubPackages → src/SubPackages}/react-test-renderer/component/web.js +0 -0
- /package/dist/common/{SubPackages → src/SubPackages}/react-test-renderer/fc/node.js +0 -0
- /package/dist/common/{SubPackages → src/SubPackages}/react-test-renderer/fc/web.js +0 -0
- /package/dist/common/{SubPackages → src/SubPackages}/react-test-renderer/jsx/node.js +0 -0
- /package/dist/common/{SubPackages → src/SubPackages}/react-test-renderer/jsx/web.js +0 -0
- /package/dist/common/{SubPackages → src/SubPackages}/react-test-renderer/jsx-promised/index.js +0 -0
- /package/dist/common/{SubPackages → src/SubPackages}/react-test-renderer/jsx-promised/node.js +0 -0
- /package/dist/common/{SubPackages → src/SubPackages}/react-test-renderer/jsx-promised/web.js +0 -0
- /package/dist/common/{Types.js → src/Types.js} +0 -0
- /package/dist/common/{Web.js → src/Web.js} +0 -0
- /package/dist/common/{esbuildConfigs → src/esbuildConfigs}/features.js +0 -0
- /package/dist/common/{esbuildConfigs → src/esbuildConfigs}/index.js +0 -0
- /package/dist/common/{esbuildConfigs → src/esbuildConfigs}/report.js +0 -0
- /package/dist/common/{esbuildConfigs → src/esbuildConfigs}/tests.js +0 -0
- /package/dist/common/{lib → src/lib}/classBuilder.js +0 -0
- /package/dist/common/{lib → src/lib}/index.js +0 -0
- /package/dist/common/{lib → src/lib}/types.js +0 -0
- /package/dist/common/{puppeteerConfiger.js → src/puppeteerConfiger.js} +0 -0
- /package/dist/common/{utils.js → src/utils.js} +0 -0
- /package/dist/common/{web.html.js → src/web.html.js} +0 -0
- /package/dist/module/{Node.js → src/Node.js} +0 -0
- /package/dist/module/{PM → src/PM}/index.js +0 -0
- /package/dist/module/{PM → src/PM}/web.js +0 -0
- /package/dist/module/{SubPackages → src/SubPackages}/puppeteer.js +0 -0
- /package/dist/module/{SubPackages → src/SubPackages}/react/component/node.js +0 -0
- /package/dist/module/{SubPackages → src/SubPackages}/react/component/web.js +0 -0
- /package/dist/module/{SubPackages → src/SubPackages}/react/jsx/index.js +0 -0
- /package/dist/module/{SubPackages → src/SubPackages}/react/jsx/node.js +0 -0
- /package/dist/module/{SubPackages → src/SubPackages}/react/jsx/web.js +0 -0
- /package/dist/module/{SubPackages → src/SubPackages}/react-dom/component/node.js +0 -0
- /package/dist/module/{SubPackages → src/SubPackages}/react-dom/component/web.js +0 -0
- /package/dist/module/{SubPackages → src/SubPackages}/react-dom/jsx/index.js +0 -0
- /package/dist/module/{SubPackages → src/SubPackages}/react-dom/jsx/node.js +0 -0
- /package/dist/module/{SubPackages → src/SubPackages}/react-test-renderer/MemoExoticComponent/node.js +0 -0
- /package/dist/module/{SubPackages → src/SubPackages}/react-test-renderer/component/index.js +0 -0
- /package/dist/module/{SubPackages → src/SubPackages}/react-test-renderer/component/interface.js +0 -0
- /package/dist/module/{SubPackages → src/SubPackages}/react-test-renderer/component/node.js +0 -0
- /package/dist/module/{SubPackages → src/SubPackages}/react-test-renderer/component/web.js +0 -0
- /package/dist/module/{SubPackages → src/SubPackages}/react-test-renderer/fc/node.js +0 -0
- /package/dist/module/{SubPackages → src/SubPackages}/react-test-renderer/fc/web.js +0 -0
- /package/dist/module/{SubPackages → src/SubPackages}/react-test-renderer/jsx/node.js +0 -0
- /package/dist/module/{SubPackages → src/SubPackages}/react-test-renderer/jsx/web.js +0 -0
- /package/dist/module/{SubPackages → src/SubPackages}/react-test-renderer/jsx-promised/index.js +0 -0
- /package/dist/module/{SubPackages → src/SubPackages}/react-test-renderer/jsx-promised/node.js +0 -0
- /package/dist/module/{SubPackages → src/SubPackages}/react-test-renderer/jsx-promised/web.js +0 -0
- /package/dist/module/{Types.js → src/Types.js} +0 -0
- /package/dist/module/{Web.js → src/Web.js} +0 -0
- /package/dist/module/{esbuildConfigs → src/esbuildConfigs}/features.js +0 -0
- /package/dist/module/{esbuildConfigs → src/esbuildConfigs}/index.js +0 -0
- /package/dist/module/{esbuildConfigs → src/esbuildConfigs}/report.js +0 -0
- /package/dist/module/{esbuildConfigs → src/esbuildConfigs}/tests.js +0 -0
- /package/dist/module/{lib → src/lib}/classBuilder.js +0 -0
- /package/dist/module/{lib → src/lib}/index.js +0 -0
- /package/dist/module/{lib → src/lib}/types.js +0 -0
- /package/dist/module/{puppeteerConfiger.js → src/puppeteerConfiger.js} +0 -0
- /package/dist/module/{utils.js → src/utils.js} +0 -0
- /package/dist/module/{web.html.js → src/web.html.js} +0 -0
- /package/dist/types/{Init.d.ts → src/Init.d.ts} +0 -0
- /package/dist/types/{Node.d.ts → src/Node.d.ts} +0 -0
- /package/dist/types/{PM → src/PM}/node.d.ts +0 -0
- /package/dist/types/{PM → src/PM}/web.d.ts +0 -0
- /package/dist/types/{Puppeteer.d.ts → src/Puppeteer.d.ts} +0 -0
- /package/dist/types/{SubPackages → src/SubPackages}/puppeteer.d.ts +0 -0
- /package/dist/types/{SubPackages → src/SubPackages}/react/component/node.d.ts +0 -0
- /package/dist/types/{SubPackages → src/SubPackages}/react/component/web.d.ts +0 -0
- /package/dist/types/{SubPackages → src/SubPackages}/react/jsx/index.d.ts +0 -0
- /package/dist/types/{SubPackages → src/SubPackages}/react/jsx/node.d.ts +0 -0
- /package/dist/types/{SubPackages → src/SubPackages}/react/jsx/web.d.ts +0 -0
- /package/dist/types/{SubPackages → src/SubPackages}/react-dom/component/node.d.ts +0 -0
- /package/dist/types/{SubPackages → src/SubPackages}/react-dom/component/web.d.ts +0 -0
- /package/dist/types/{SubPackages → src/SubPackages}/react-dom/jsx/index.d.ts +0 -0
- /package/dist/types/{SubPackages → src/SubPackages}/react-dom/jsx/node.d.ts +0 -0
- /package/dist/types/{SubPackages → src/SubPackages}/react-dom/jsx/web.d.ts +0 -0
- /package/dist/types/{SubPackages → src/SubPackages}/react-test-renderer/MemoExoticComponent/node.d.ts +0 -0
- /package/dist/types/{SubPackages → src/SubPackages}/react-test-renderer/component/index.d.ts +0 -0
- /package/dist/types/{SubPackages → src/SubPackages}/react-test-renderer/component/interface.d.ts +0 -0
- /package/dist/types/{SubPackages → src/SubPackages}/react-test-renderer/component/node.d.ts +0 -0
- /package/dist/types/{SubPackages → src/SubPackages}/react-test-renderer/component/web.d.ts +0 -0
- /package/dist/types/{SubPackages → src/SubPackages}/react-test-renderer/fc/node.d.ts +0 -0
- /package/dist/types/{SubPackages → src/SubPackages}/react-test-renderer/fc/web.d.ts +0 -0
- /package/dist/types/{SubPackages → src/SubPackages}/react-test-renderer/jsx/index.d.ts +0 -0
- /package/dist/types/{SubPackages → src/SubPackages}/react-test-renderer/jsx/node.d.ts +0 -0
- /package/dist/types/{SubPackages → src/SubPackages}/react-test-renderer/jsx/web.d.ts +0 -0
- /package/dist/types/{SubPackages → src/SubPackages}/react-test-renderer/jsx-promised/index.d.ts +0 -0
- /package/dist/types/{SubPackages → src/SubPackages}/react-test-renderer/jsx-promised/node.d.ts +0 -0
- /package/dist/types/{SubPackages → src/SubPackages}/react-test-renderer/jsx-promised/web.d.ts +0 -0
- /package/dist/types/{Web.d.ts → src/Web.d.ts} +0 -0
- /package/dist/types/{esbuildConfigs → src/esbuildConfigs}/features.d.ts +0 -0
- /package/dist/types/{esbuildConfigs → src/esbuildConfigs}/index.d.ts +0 -0
- /package/dist/types/{esbuildConfigs → src/esbuildConfigs}/inputFilesPlugin.d.ts +0 -0
- /package/dist/types/{esbuildConfigs → src/esbuildConfigs}/node.d.ts +0 -0
- /package/dist/types/{esbuildConfigs → src/esbuildConfigs}/report.d.ts +0 -0
- /package/dist/types/{esbuildConfigs → src/esbuildConfigs}/tests.d.ts +0 -0
- /package/dist/types/{esbuildConfigs → src/esbuildConfigs}/web.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/basebuilder.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/classBuilder.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/core.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/index.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/types.d.ts +0 -0
- /package/dist/types/{puppeteerConfiger.d.ts → src/puppeteerConfiger.d.ts} +0 -0
- /package/dist/types/{utils.d.ts → src/utils.d.ts} +0 -0
- /package/dist/types/{web.html.d.ts → src/web.html.d.ts} +0 -0
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
|
|
2
|
+
# 2025-03-02 06:47:48.104216
|
|
3
|
+
+y
|
|
4
|
+
|
|
5
|
+
# 2025-03-02 06:51:16.536602
|
|
6
|
+
+make a text file with a filename which is also a fruit
|
|
7
|
+
|
|
8
|
+
# 2025-03-02 06:53:21.037663
|
|
9
|
+
+make a text file in the root of the repo with a filename which is also a fruit
|
|
10
|
+
|
|
11
|
+
# 2025-03-02 06:53:53.958525
|
|
12
|
+
+y
|
|
13
|
+
|
|
14
|
+
# 2025-03-02 07:06:36.699284
|
|
15
|
+
+aider src/LoginButton.tsx
|
|
16
|
+
|
|
17
|
+
# 2025-03-02 07:06:40.633909
|
|
18
|
+
+y
|
|
19
|
+
|
|
20
|
+
# 2025-03-02 07:09:52.770402
|
|
21
|
+
+docs/web/src/LoginButton.test/log.txt
|
|
22
|
+
|
|
23
|
+
# 2025-03-02 07:09:54.976990
|
|
24
|
+
+y
|
|
25
|
+
|
|
26
|
+
# 2025-03-02 07:30:48.606018
|
|
27
|
+
+n
|
|
28
|
+
|
|
29
|
+
# 2025-03-02 07:46:19.985990
|
|
30
|
+
+fix this bug
|
|
31
|
+
|
|
32
|
+
# 2025-03-02 07:46:19.986163
|
|
33
|
+
+fix this bug
|
|
34
|
+
|
|
35
|
+
# 2025-03-02 08:01:01.656853
|
|
36
|
+
+d
|
|
37
|
+
|
|
38
|
+
# 2025-03-02 11:28:10.700252
|
|
39
|
+
+0:{"name":"my first feature","body":"Initialize the project. Create a new git repo and yarn package"}
|
|
40
|
+
|
|
41
|
+
# 2025-03-02 11:28:10.700442
|
|
42
|
+
+0:{"name":"my first feature","body":"Initialize the project. Create a new git repo and yarn package"}
|
|
43
|
+
|
|
44
|
+
# 2025-03-02 11:30:08.411326
|
|
45
|
+
+0:{"name":"my first feature","body":"Initialize the project. Create a new git repo and yarn package"}
|
|
46
|
+
|
|
47
|
+
# 2025-03-02 11:30:08.411515
|
|
48
|
+
+0:{"name":"my first feature","body":"Initialize the project. Create a new git repo and yarn package"}
|
|
49
|
+
|
|
50
|
+
# 2025-03-02 11:30:38.350786
|
|
51
|
+
+0:{"name":"my first feature","body":"Initialize the project. Create a new git repo and yarn package"}
|
|
52
|
+
|
|
53
|
+
# 2025-03-02 11:30:38.350951
|
|
54
|
+
+0:{"name":"my first feature","body":"Initialize the project. Create a new git repo and yarn package"}
|
|
55
|
+
|
|
56
|
+
# 2025-03-02 11:30:46.645487
|
|
57
|
+
+0:{"name":"my first feature","body":"Initialize the project. Create a new git repo and yarn package"}
|
|
58
|
+
|
|
59
|
+
# 2025-03-02 11:30:46.645711
|
|
60
|
+
+0:{"name":"my first feature","body":"Initialize the project. Create a new git repo and yarn package"}
|
|
61
|
+
|
|
62
|
+
# 2025-03-02 11:32:12.271324
|
|
63
|
+
+n
|
|
64
|
+
|
|
65
|
+
# 2025-03-02 11:35:00.822199
|
|
66
|
+
+0:{"name":"my first feature","body":"Initialize the project. Create a new git repo and yarn package"}
|
|
67
|
+
|
|
68
|
+
# 2025-03-02 11:35:00.822378
|
|
69
|
+
+0:{"name":"my first feature","body":"Initialize the project. Create a new git repo and yarn package"}
|
|
70
|
+
|
|
71
|
+
# 2025-03-02 11:38:40.364494
|
|
72
|
+
+Fix the failing tests
|
|
73
|
+
|
|
74
|
+
# 2025-03-02 11:38:40.364761
|
|
75
|
+
+Fix the failing tests
|
|
76
|
+
|
|
77
|
+
# 2025-03-02 11:47:31.505518
|
|
78
|
+
+"Fix
|
|
79
|
+
|
|
80
|
+
# 2025-03-02 11:47:31.505814
|
|
81
|
+
+"Fix
|
|
82
|
+
|
|
83
|
+
# 2025-03-02 11:50:27.903159
|
|
84
|
+
+"Fix
|
|
85
|
+
|
|
86
|
+
# 2025-03-02 11:50:27.903469
|
|
87
|
+
+"Fix
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/.eslintrc.js
CHANGED
|
@@ -17,12 +17,15 @@ module.exports = {
|
|
|
17
17
|
},
|
|
18
18
|
"plugins": [
|
|
19
19
|
"react",
|
|
20
|
-
"@typescript-eslint"
|
|
20
|
+
"@typescript-eslint",
|
|
21
|
+
"react-hooks"
|
|
21
22
|
],
|
|
22
23
|
"rules": {
|
|
23
24
|
"@typescript-eslint/ban-ts-comment": "warn",
|
|
24
25
|
"prefer-const": "warn",
|
|
25
|
-
"@typescript-eslint/no-unused-vars": "warn"
|
|
26
|
+
"@typescript-eslint/no-unused-vars": "warn",
|
|
27
|
+
"react-hooks/rules-of-hooks": "error", // Checks rules of Hooks
|
|
28
|
+
"react-hooks/exhaustive-deps": "warn" // Checks effect dependencies
|
|
26
29
|
}
|
|
27
30
|
}
|
|
28
31
|
|
package/README.md
CHANGED
|
@@ -12,119 +12,22 @@ dev: [github.dev/adamwong246/testeranto](https://github.dev/adamwong246/testeran
|
|
|
12
12
|
|
|
13
13
|
example repo: [kokomo bay](https://github.com/ChromaPDX/kokomoBay)
|
|
14
14
|
|
|
15
|
-
##
|
|
15
|
+
## Demo
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
- Do you love Typescript?
|
|
19
|
-
- Do you hate Jira?
|
|
17
|
+
<video src="demo.mov" width="1200" height="600" controls></video>
|
|
20
18
|
|
|
21
|
-
|
|
19
|
+
## What is testeranto?
|
|
22
20
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
1. Write some code.
|
|
30
|
-
2. Write some tests of that code.
|
|
31
|
-
3. Write some features of that code.
|
|
32
|
-
4. Write a `testeranto.mts`, which acts as a config file.
|
|
33
|
-
5. Launch testeranto. The test runner is now rebuilding the docs folder.
|
|
34
|
-
6. Commit the results of those tests.
|
|
35
|
-
7. Your github pages now shows your report, showing your features, linked with your test results.
|
|
36
|
-
8. Optionally add testeranto to your CI.
|
|
21
|
+
- Testeranto.ts an AI-first, Acceptance Test Driven Development ([ATDD](https://en.wikipedia.org/wiki/Acceptance_test-driven_development)) framework for typescript projects.
|
|
22
|
+
- Testeranto produces test results which can be fed to Aider.ai to automatically fix failing tests.
|
|
23
|
+
- Testeranto tests are specified in a strongly-typed gherkin-like syntax. Rather than testing your code directly, Testeranto requires you wrap your code with a semantic interface which is based on TS type signatures.
|
|
24
|
+
- Testeranto can be run in the frontend or the backend, or both.
|
|
25
|
+
- Testeranto can be used to test anything that can be bundled with esbuild.
|
|
37
26
|
|
|
38
27
|
## tech of note
|
|
39
28
|
|
|
40
|
-
- esm - Testeranto uses modern js
|
|
29
|
+
- esm - Testeranto uses modern js
|
|
41
30
|
- typescript - tests are functions with type parameters
|
|
42
31
|
- puppeteer - provides access to both node and chrome runtimes
|
|
43
32
|
- esbuild - used to quickly generate test bundles
|
|
44
|
-
-
|
|
45
|
-
|
|
46
|
-
## 3 distinguishing features of testeranto
|
|
47
|
-
|
|
48
|
-
1. Rather than testing your code directly, Testeranto requires you wrap your code with a semantic interface which is based on TS type signatures. These interfaces can be shared and your code is tested through the gherkin-ish directives provided by that interface.
|
|
49
|
-
|
|
50
|
-
2. Testeranto tracks features and tests results directly in the source code. You may be accustomed to using tools like Jira and Trello to define user stories and assign story points. Using Testeranto, this data lives within the code base _as_ typescript code. Features are defined as nodes within a directed graph, allowing the reporter to summarize these features and their test results.
|
|
51
|
-
|
|
52
|
-
3. Testeranto is designed for both the backend and the frontend. It leverages puppeteer to provide both of these runtimes. Each of your tests can be executed in the backend node runtime, within the frontend chromium browser runtime, or both.
|
|
53
|
-
|
|
54
|
-
## the good parts
|
|
55
|
-
|
|
56
|
-
Your tests can be run in node, chromium, or both.
|
|
57
|
-
|
|
58
|
-
Testeranto includes a test runner which bundles and executes your tests, taking care to only run the tests which have changed.
|
|
59
|
-
|
|
60
|
-
Testeranto includes a test reporter which displays the state of your code in a web app. ([see example](https://chromapdx.github.io/kokomoBay/report.html)) This reporter can also be run locally for the developer's convenience.
|
|
61
|
-
|
|
62
|
-
Testeranto exposes an extended gherkin syntax. You can use the given-when-then lingua-franca, AND you can also use an imperative `Check` which is a bit more flexible.
|
|
63
|
-
|
|
64
|
-
Rather than the traditional method of specifying tests in plain text, Testeranto tests and features are just TS, editable and type-checkable from [github's online editor](https://github.dev/ChromaPDX/kokomoBay)!
|
|
65
|
-
|
|
66
|
-
## the bad parts
|
|
67
|
-
|
|
68
|
-
Testeranto is very flexible and unopinionated, but not designed to maximize performance.
|
|
69
|
-
|
|
70
|
-
Testeranto does not (yet!) allow a means of allowing non-coders to affect changes so, as they say, "git good 💪!"
|
|
71
|
-
|
|
72
|
-
Testeranto uses ONLY node v8 and chromium. It does not support bun or deno, nor firefox nor safari.
|
|
73
|
-
|
|
74
|
-
## How it works
|
|
75
|
-
|
|
76
|
-
Testeranto is comprised of 3 parts
|
|
77
|
-
|
|
78
|
-
1. The build process reads a config and builds the docs folder, then launches 3 esbuild build processes.
|
|
79
|
-
|
|
80
|
-
- Build the features for the html report
|
|
81
|
-
- Build the node-style tests
|
|
82
|
-
- Build the web-style tests
|
|
83
|
-
|
|
84
|
-
2. The test runner watches the output of those build processes and launches the tests as those files change. It uses puppeteer to run web tests in chromium. It uses dynamic loading to import the node tests directly into the node v8 process.
|
|
85
|
-
|
|
86
|
-
3. A Report which links your features, your tests and the results of those tests into a handy website.
|
|
87
|
-
|
|
88
|
-
## CLI
|
|
89
|
-
|
|
90
|
-
There are 3 commands you should add to your `package.json`
|
|
91
|
-
|
|
92
|
-
```
|
|
93
|
-
// build the tests once
|
|
94
|
-
"testeranto-esbuild": "ts-node-esm testeranto.mts",
|
|
95
|
-
|
|
96
|
-
// build the tests, watching for changes
|
|
97
|
-
"testeranto-esbuild-dev": "ts-node-esm testeranto.mts",
|
|
98
|
-
|
|
99
|
-
// run the tests
|
|
100
|
-
"testeranto-puppeteer":"ts-node-esm node_modules/testeranto/dist/module/Puppeteer.js",
|
|
101
|
-
```
|
|
102
|
-
|
|
103
|
-
## Hybrid tests
|
|
104
|
-
|
|
105
|
-
Consider the a scenario: You have an http server which serves a frontend react component. You have multiple ways you can test this.
|
|
106
|
-
|
|
107
|
-
- A node test of the logic of the http server.
|
|
108
|
-
- A node test of the full http server, tested over http request.
|
|
109
|
-
- A node test of the react component with react-test-render
|
|
110
|
-
- A web test of the react component rendering it to the dom.
|
|
111
|
-
- A node test of the logic of the server, rending the component as a paired artifact and communicated over IPC.
|
|
112
|
-
- A node test of the full server, invoking puppeteer to drive the browser.
|
|
113
|
-
- A web test, invoking the server as a shared artifact, serving http to the browser.
|
|
114
|
-
|
|
115
|
-
## API
|
|
116
|
-
|
|
117
|
-
Testeranto's main API interface is 2 functions, 1 for each run time. You must pass to this function the following arguments
|
|
118
|
-
|
|
119
|
-
- The "shape" - a TS type signature to which the other arguments must conform.
|
|
120
|
-
- The "input" - the test subject. The "thing that is to be tested"
|
|
121
|
-
- the "specification" - This is the Cucumber-style Given/When/Then steps.
|
|
122
|
-
- the "implementation" - This is the code which implements the "test specification" in code.
|
|
123
|
-
- the "interface" - The code which sets up the test.
|
|
124
|
-
|
|
125
|
-
This is designed so that each piece can be worked upon separately. You can think of each argument as the responsibility of a different member of your team.
|
|
126
|
-
|
|
127
|
-
- "Senior Engineer" handles the "shape" and "input"
|
|
128
|
-
- "Product Manager" handles the "specification"
|
|
129
|
-
- "Middle Engineer" handles the "interface"
|
|
130
|
-
- "Junior Engineer" handles the "implementation"
|
|
33
|
+
- aider - AI to automatically fix broken tests
|
package/build-tests.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// import { ITProject } from "./src/Project.js";
|
|
2
|
+
|
|
3
|
+
// import Project from "./testeranto.js";
|
|
4
|
+
|
|
5
|
+
import process from "process";
|
|
6
|
+
import { ITProject } from "./src/Project";
|
|
7
|
+
// import { ITProject } from "testeranto/src/Project";
|
|
8
|
+
|
|
9
|
+
// process.chdir(__dirname);
|
|
10
|
+
|
|
11
|
+
// import Puppeteer from "./src/Puppeteer.js";
|
|
12
|
+
|
|
13
|
+
console.log(process.argv);
|
|
14
|
+
const Project = await import(process.argv[2]);
|
|
15
|
+
|
|
16
|
+
export default new ITProject(Project as any);
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// import { ITProject } from "./src/Project.js";
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
20
|
+
if (mod && mod.__esModule) return mod;
|
|
21
|
+
var result = {};
|
|
22
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
23
|
+
__setModuleDefault(result, mod);
|
|
24
|
+
return result;
|
|
25
|
+
};
|
|
26
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
27
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
+
// import Project from "./testeranto.js";
|
|
31
|
+
const process_1 = __importDefault(require("process"));
|
|
32
|
+
const Project_1 = require("./src/Project");
|
|
33
|
+
// import { ITProject } from "testeranto/src/Project";
|
|
34
|
+
// process.chdir(__dirname);
|
|
35
|
+
// import Puppeteer from "./src/Puppeteer.js";
|
|
36
|
+
console.log(process_1.default.argv);
|
|
37
|
+
const Project = await Promise.resolve().then(() => __importStar(require(process_1.default.argv[2])));
|
|
38
|
+
exports.default = new Project_1.ITProject(Project);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const Init_js_1 = __importDefault(require("./src/Init.js"));
|
|
7
|
+
const testeranto_js_1 = __importDefault(require("./testeranto.js"));
|
|
8
|
+
exports.default = (0, Init_js_1.default)(testeranto_js_1.default);
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
const process_1 = __importDefault(require("process"));
|
|
30
|
+
process_1.default.chdir(__dirname);
|
|
31
|
+
const Puppeteer_js_1 = __importDefault(require("./src/Puppeteer.js"));
|
|
32
|
+
console.log(process_1.default.argv);
|
|
33
|
+
const Project = await Promise.resolve().then(() => __importStar(require(process_1.default.argv[2])));
|
|
34
|
+
exports.default = (0, Puppeteer_js_1.default)(Project);
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.execCommand = void 0;
|
|
7
|
+
const fs_1 = __importDefault(require("fs"));
|
|
8
|
+
const child_process_1 = require("child_process");
|
|
9
|
+
const execCommand = async (command) => {
|
|
10
|
+
const ls = (0, child_process_1.spawn)(command.split(" ")[0], command.split(" ").slice(1, -1));
|
|
11
|
+
process.stdin.pipe(ls.stdin);
|
|
12
|
+
ls.stdout.pipe(process.stdout);
|
|
13
|
+
ls.stderr.pipe(process.stdout);
|
|
14
|
+
// ls.stdout.on("data", function (data) {
|
|
15
|
+
// console.log("stdout: " + data.toString());
|
|
16
|
+
// });
|
|
17
|
+
// ls.stderr.on("data", function (data) {
|
|
18
|
+
// console.log("stderr: " + data.toString());
|
|
19
|
+
// });
|
|
20
|
+
ls.on("exit", function (code) {
|
|
21
|
+
console.log("child process exited with code " + (code === null || code === void 0 ? void 0 : code.toString()) || -1);
|
|
22
|
+
});
|
|
23
|
+
// return new Promise<void>((resolve, reject) => {
|
|
24
|
+
// const [cmd, ...args] = command.split(" ");
|
|
25
|
+
// const childProcess = spawn(cmd, args);
|
|
26
|
+
// childProcess.stdout.on("data", (data) => {
|
|
27
|
+
// process.stdout.write(data.toString());
|
|
28
|
+
// });
|
|
29
|
+
// childProcess.stderr.on("data", (data) => {
|
|
30
|
+
// process.stderr.write(data.toString());
|
|
31
|
+
// });
|
|
32
|
+
// childProcess.on("error", (error) => {
|
|
33
|
+
// reject(error);
|
|
34
|
+
// });
|
|
35
|
+
// childProcess.on("exit", (code) => {
|
|
36
|
+
// if (code === 0) {
|
|
37
|
+
// resolve();
|
|
38
|
+
// } else {
|
|
39
|
+
// reject(new Error(`Command exited with code ${code}.`));
|
|
40
|
+
// }
|
|
41
|
+
// });
|
|
42
|
+
// });
|
|
43
|
+
};
|
|
44
|
+
exports.execCommand = execCommand;
|
|
45
|
+
const key = process.argv[2];
|
|
46
|
+
console.log(key);
|
|
47
|
+
const exitcode = fs_1.default.readFileSync(`${key}/exitcode`).toString();
|
|
48
|
+
console.log("exitcode", exitcode);
|
|
49
|
+
// if (exitcode != "0") {
|
|
50
|
+
if (exitcode != "0") {
|
|
51
|
+
const inputFiles = JSON.parse(fs_1.default.readFileSync(`${key}/inputFiles.json`).toString());
|
|
52
|
+
inputFiles.push(`${key}/tests.json`);
|
|
53
|
+
// const features = await await Promise.all(
|
|
54
|
+
// Array.from(
|
|
55
|
+
// new Set(
|
|
56
|
+
// JSON.parse(fs.readFileSync(`${key}/tests.json`).toString())
|
|
57
|
+
// .givens.reduce((mm: any[], lm: { features: any[] }) => {
|
|
58
|
+
// mm.push(
|
|
59
|
+
// lm.features.reduce((mm2: any[], lm2: any) => {
|
|
60
|
+
// mm2.push(lm2);
|
|
61
|
+
// return mm2;
|
|
62
|
+
// }, [])
|
|
63
|
+
// );
|
|
64
|
+
// return mm;
|
|
65
|
+
// }, [])
|
|
66
|
+
// .flat()
|
|
67
|
+
// .flat()
|
|
68
|
+
// )
|
|
69
|
+
// ) as string[]
|
|
70
|
+
// );
|
|
71
|
+
// const final = features.reduce((mm, [k, v], ndx) => {
|
|
72
|
+
// mm[k] = v;
|
|
73
|
+
// return mm;
|
|
74
|
+
// }, {});
|
|
75
|
+
// const as = JSON.stringify(final);
|
|
76
|
+
// const scriptCommand = `aider --model deepseek --api-key deepseek=${
|
|
77
|
+
// process.env.DEEPSEEK_KEY
|
|
78
|
+
// } --message "Fix the failing tests" --read ${key}/inputFiles.json ${inputFiles
|
|
79
|
+
// .map((i) => `--file ${i}`)
|
|
80
|
+
// .join(" ")}`;
|
|
81
|
+
const scriptCommand = `aider --message "Fix the failing tests" --model deepseek --api-key deepseek=${process.env.DEEPSEEK_KEY} --file ./${inputFiles.join(" ./")}`;
|
|
82
|
+
console.log("scriptCommand", scriptCommand);
|
|
83
|
+
(0, exports.execCommand)(scriptCommand);
|
|
84
|
+
// fs.writeFile(`./${key}/features.json`, as, () => {
|
|
85
|
+
// inputFiles.push(`./${key}/features.json`);
|
|
86
|
+
// // itermTab(scriptCommand).then(() => console.log("yay"));
|
|
87
|
+
// // const child = spawn("xterm -e", scriptCommand.split(" "), {
|
|
88
|
+
// // detached: true,
|
|
89
|
+
// // stdio: "ignore",
|
|
90
|
+
// // });
|
|
91
|
+
// // runCommandInITerm(scriptCommand);
|
|
92
|
+
// });
|
|
93
|
+
// .reduce(async (mm, feature) => {
|
|
94
|
+
// const req = await octokit.request(
|
|
95
|
+
// `GET /repos/adamwong246/kokomobay-taskman/contents/Task/${feature}.json`,
|
|
96
|
+
// {
|
|
97
|
+
// owner: "adamwong246",
|
|
98
|
+
// repo: "kokomoBay-taskman",
|
|
99
|
+
// path: `Task/${feature}.json`,
|
|
100
|
+
// headers: {
|
|
101
|
+
// "X-GitHub-Api-Version": "2022-11-28",
|
|
102
|
+
// },
|
|
103
|
+
// }
|
|
104
|
+
// );
|
|
105
|
+
// const j = JSON.parse(atob(req.data.content));
|
|
106
|
+
// (await mm).push([
|
|
107
|
+
// feature,
|
|
108
|
+
// JSON.stringify({
|
|
109
|
+
// name: j.name,
|
|
110
|
+
// body: j.body,
|
|
111
|
+
// }),
|
|
112
|
+
// ]);
|
|
113
|
+
// return mm;
|
|
114
|
+
// }, Promise.resolve<[string, string][]>([]))
|
|
115
|
+
// .then((z) => {
|
|
116
|
+
// const final = z.reduce((mm, [k, v], ndx) => {
|
|
117
|
+
// mm[k] = v;
|
|
118
|
+
// return mm;
|
|
119
|
+
// }, {});
|
|
120
|
+
// const as = JSON.stringify(final);
|
|
121
|
+
// fs.writeFile(`./${key}/features.json`, as, () => {
|
|
122
|
+
// inputFiles.push(`./${key}/features.json`);
|
|
123
|
+
// const scriptCommand = `aider --model deepseek --api-key deepseek=${
|
|
124
|
+
// process.env.DEEPSEEK_KEY
|
|
125
|
+
// } --message "Fix the failing tests" ${inputFiles.join(" ")}`;
|
|
126
|
+
// console.log("scriptCommand", scriptCommand);
|
|
127
|
+
// execCommand(scriptCommand);
|
|
128
|
+
// // itermTab(scriptCommand).then(() => console.log("yay"));
|
|
129
|
+
// // const child = spawn("xterm -e", scriptCommand.split(" "), {
|
|
130
|
+
// // detached: true,
|
|
131
|
+
// // stdio: "ignore",
|
|
132
|
+
// // });
|
|
133
|
+
// // runCommandInITerm(scriptCommand);
|
|
134
|
+
// });
|
|
135
|
+
// //
|
|
136
|
+
// });
|
|
137
|
+
// features.then((x) => {
|
|
138
|
+
// console.log("done", x);
|
|
139
|
+
// });
|
|
140
|
+
}
|
|
141
|
+
else {
|
|
142
|
+
console.log("that test is not failing");
|
|
143
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const fs_1 = __importDefault(require("fs"));
|
|
7
|
+
exports.default = async (partialConfig) => {
|
|
8
|
+
const config = Object.assign(Object.assign({}, partialConfig), { buildDir: process.cwd() + "/" + partialConfig.outdir });
|
|
9
|
+
fs_1.default.writeFileSync(`${config.outdir}/testeranto.json`, JSON.stringify(Object.assign(Object.assign({}, config), { buildDir: process.cwd() + "/" + config.outdir }), null, 2));
|
|
10
|
+
};
|