testeranto 0.206.0 → 0.208.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/bundle.js
CHANGED
|
@@ -5,7 +5,7 @@ await esbuild.build({
|
|
|
5
5
|
outExtension: { '.js': '.mjs' },
|
|
6
6
|
entryPoints: [
|
|
7
7
|
// 'src/init-docs.ts',
|
|
8
|
-
|
|
8
|
+
'src/esbuildConfigs/eslint-formatter-testeranto.ts',
|
|
9
9
|
// 'src/testeranto.ts',
|
|
10
10
|
'src/mothership/mothership.ts',
|
|
11
11
|
],
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { createRequire } from 'module';const require = createRequire(import.meta.url);
|
|
2
|
+
|
|
3
|
+
// src/esbuildConfigs/eslint-formatter-testeranto.ts
|
|
4
|
+
function eslint_formatter_testeranto_default(results) {
|
|
5
|
+
return results.filter((r) => r.messages.length).map((r) => {
|
|
6
|
+
const path = r.filePath.replace(process.cwd() + "/", "");
|
|
7
|
+
return [
|
|
8
|
+
path,
|
|
9
|
+
...r.messages.map(
|
|
10
|
+
(m) => [
|
|
11
|
+
`${m.line}:${m.column} ${m.message} (${m.ruleId || ""})`,
|
|
12
|
+
...m.suggestions?.map(
|
|
13
|
+
(s) => `- ${s.message}${s.fix ? " (fix)" : ""}`
|
|
14
|
+
) || []
|
|
15
|
+
].join("\n")
|
|
16
|
+
)
|
|
17
|
+
].join("\n");
|
|
18
|
+
}).join("\n\n");
|
|
19
|
+
}
|
|
20
|
+
export {
|
|
21
|
+
eslint_formatter_testeranto_default as default
|
|
22
|
+
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "testeranto",
|
|
3
3
|
"description": "the AI powered BDD test framework for typescript projects",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.208.0",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": "18.18.0"
|
|
7
7
|
},
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"mothership": "node dist/prebuild/mothership/index.mjs",
|
|
17
17
|
"build-hard": "rm -rf testeranto/** && yarn build && yarn type-check; yarn t-init; cp dist/prebuild/App.* testeranto; yarn t-build core once; yarn t-run core once",
|
|
18
18
|
"build": "sh prebuild.sh; cp ./src/cjs-shim.js ./dist/cjs-shim.js; tsc -p tsconfig.module.json; tsc -p tsconfig.common.json; tsc -p tsconfig.types.json; sh postBuild.sh; yarn bundle",
|
|
19
|
-
"build3": "yarn bundle",
|
|
19
|
+
"build3": "yarn bundle; tsc -p tsconfig.types.json",
|
|
20
20
|
"dev": "sh prebuild.sh; cp ./src/cjs-shim.js ./dist/cjs-shim.js; sh postBuild.sh; tsc -p tsconfig.module.json --watch & tsc -p tsconfig.common.json --watch ",
|
|
21
21
|
"bundle": "node bundle.js",
|
|
22
22
|
"build-module": "tsc -p tsconfig.module.json",
|
|
@@ -86,7 +86,8 @@
|
|
|
86
86
|
},
|
|
87
87
|
"./src/CoreTypes": {
|
|
88
88
|
"import": "./src/CoreTypes.ts",
|
|
89
|
-
"require": "./src/CoreTypes.ts"
|
|
89
|
+
"require": "./src/CoreTypes.ts",
|
|
90
|
+
"types": "./src/CoreTypes.d.ts"
|
|
90
91
|
},
|
|
91
92
|
"./src/Types": {
|
|
92
93
|
"import": "./src/Types.ts",
|
|
@@ -173,7 +174,7 @@
|
|
|
173
174
|
"@types/node": "^24.1.0",
|
|
174
175
|
"@types/react": "18.2.0",
|
|
175
176
|
"@types/react-dom": "18.2.0",
|
|
176
|
-
"@types/react-test-renderer": "19.
|
|
177
|
+
"@types/react-test-renderer": "^19.1.0",
|
|
177
178
|
"@types/uuid": "^10.0.0",
|
|
178
179
|
"@types/ws": "^8.18.1",
|
|
179
180
|
"@typescript-eslint/eslint-plugin": "^7.0.0",
|
|
@@ -254,6 +255,7 @@
|
|
|
254
255
|
"react-draggable": "^4.5.0",
|
|
255
256
|
"react-resizable": "^3.0.5",
|
|
256
257
|
"react-router-dom": "^7.7.0",
|
|
258
|
+
"react-test-renderer": "^19.2.0",
|
|
257
259
|
"sass": "^1.90.0",
|
|
258
260
|
"ssml-check": "^0.4.6",
|
|
259
261
|
"tsc-prog": "^2.3.0",
|