@aiready/testability 0.6.5 → 0.6.6
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/.turbo/turbo-build.log +7 -7
- package/.turbo/turbo-test.log +8 -8
- package/dist/index.d.mts +3 -0
- package/dist/index.d.ts +3 -0
- package/package.json +2 -2
- package/src/scoring.ts +3 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
> @aiready/testability@0.6.
|
|
3
|
+
> @aiready/testability@0.6.6 build /Users/pengcao/projects/aiready/packages/testability
|
|
4
4
|
> tsup src/index.ts src/cli.ts --format cjs,esm --dts
|
|
5
5
|
|
|
6
6
|
[34mCLI[39m Building entry: src/cli.ts, src/index.ts
|
|
@@ -11,14 +11,14 @@
|
|
|
11
11
|
[34mESM[39m Build start
|
|
12
12
|
[32mCJS[39m [1mdist/cli.js [22m[32m15.61 KB[39m
|
|
13
13
|
[32mCJS[39m [1mdist/index.js [22m[32m10.61 KB[39m
|
|
14
|
-
[32mCJS[39m ⚡️ Build success in
|
|
15
|
-
[32mESM[39m [1mdist/cli.mjs [22m[32m5.75 KB[39m
|
|
14
|
+
[32mCJS[39m ⚡️ Build success in 483ms
|
|
16
15
|
[32mESM[39m [1mdist/index.mjs [22m[32m1.17 KB[39m
|
|
17
16
|
[32mESM[39m [1mdist/chunk-QOIBI5E7.mjs [22m[32m8.31 KB[39m
|
|
18
|
-
[32mESM[39m
|
|
17
|
+
[32mESM[39m [1mdist/cli.mjs [22m[32m5.75 KB[39m
|
|
18
|
+
[32mESM[39m ⚡️ Build success in 483ms
|
|
19
19
|
DTS Build start
|
|
20
|
-
DTS ⚡️ Build success in
|
|
20
|
+
DTS ⚡️ Build success in 4452ms
|
|
21
21
|
DTS dist/cli.d.ts 20.00 B
|
|
22
|
-
DTS dist/index.d.ts 2.
|
|
22
|
+
DTS dist/index.d.ts 2.62 KB
|
|
23
23
|
DTS dist/cli.d.mts 20.00 B
|
|
24
|
-
DTS dist/index.d.mts 2.
|
|
24
|
+
DTS dist/index.d.mts 2.62 KB
|
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
> @aiready/testability@0.6.
|
|
3
|
+
> @aiready/testability@0.6.5 test /Users/pengcao/projects/aiready/packages/testability
|
|
4
4
|
> vitest run
|
|
5
5
|
|
|
6
6
|
[?25l
|
|
7
7
|
[1m[46m RUN [49m[22m [36mv4.0.18 [39m[90m/Users/pengcao/projects/aiready/packages/testability[39m
|
|
8
8
|
|
|
9
|
-
[32m✓[39m src/__tests__/types.test.ts [2m([22m[2m4 tests[22m[2m)[22m[32m
|
|
10
|
-
[32m✓[39m src/__tests__/scoring.test.ts [2m([22m[2m3 tests[22m[2m)[22m[32m
|
|
11
|
-
[32m✓[39m src/__tests__/provider.test.ts [2m([22m[2m2 tests[22m[2m)[22m[32m
|
|
12
|
-
[32m✓[39m src/__tests__/analyzer.test.ts [2m([22m[2m5 tests[22m[2m)[22m[33m
|
|
13
|
-
[33m[2m✓[22m[39m detects test frameworks in multiple languages [33m
|
|
9
|
+
[32m✓[39m src/__tests__/types.test.ts [2m([22m[2m4 tests[22m[2m)[22m[32m 2[2mms[22m[39m
|
|
10
|
+
[32m✓[39m src/__tests__/scoring.test.ts [2m([22m[2m3 tests[22m[2m)[22m[32m 10[2mms[22m[39m
|
|
11
|
+
[32m✓[39m src/__tests__/provider.test.ts [2m([22m[2m2 tests[22m[2m)[22m[32m 16[2mms[22m[39m
|
|
12
|
+
[32m✓[39m src/__tests__/analyzer.test.ts [2m([22m[2m5 tests[22m[2m)[22m[33m 4638[2mms[22m[39m
|
|
13
|
+
[33m[2m✓[22m[39m detects test frameworks in multiple languages [33m 4611[2mms[22m[39m
|
|
14
14
|
|
|
15
15
|
[2m Test Files [22m [1m[32m4 passed[39m[22m[90m (4)[39m
|
|
16
16
|
[2m Tests [22m [1m[32m14 passed[39m[22m[90m (14)[39m
|
|
17
|
-
[2m Start at [22m 10:
|
|
18
|
-
[2m Duration [22m
|
|
17
|
+
[2m Start at [22m 10:12:34
|
|
18
|
+
[2m Duration [22m 9.12s[2m (transform 1.51s, setup 0ms, import 9.44s, tests 4.66s, environment 0ms)[22m
|
|
19
19
|
|
|
20
20
|
[?25h
|
package/dist/index.d.mts
CHANGED
|
@@ -64,6 +64,9 @@ declare function analyzeTestability(options: TestabilityOptions): Promise<Testab
|
|
|
64
64
|
|
|
65
65
|
/**
|
|
66
66
|
* Convert testability report into a ToolScoringOutput for the unified score.
|
|
67
|
+
*
|
|
68
|
+
* @param report - The comprehensive testability report containing raw metrics and summary.
|
|
69
|
+
* @returns Standardized scoring output with impact factors and recommendations.
|
|
67
70
|
*/
|
|
68
71
|
declare function calculateTestabilityScore(report: TestabilityReport): ToolScoringOutput;
|
|
69
72
|
|
package/dist/index.d.ts
CHANGED
|
@@ -64,6 +64,9 @@ declare function analyzeTestability(options: TestabilityOptions): Promise<Testab
|
|
|
64
64
|
|
|
65
65
|
/**
|
|
66
66
|
* Convert testability report into a ToolScoringOutput for the unified score.
|
|
67
|
+
*
|
|
68
|
+
* @param report - The comprehensive testability report containing raw metrics and summary.
|
|
69
|
+
* @returns Standardized scoring output with impact factors and recommendations.
|
|
67
70
|
*/
|
|
68
71
|
declare function calculateTestabilityScore(report: TestabilityReport): ToolScoringOutput;
|
|
69
72
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aiready/testability",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.6",
|
|
4
4
|
"description": "Measures how safely and verifiably AI-generated changes can be made to your codebase",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"chalk": "^5.3.0",
|
|
41
41
|
"commander": "^14.0.0",
|
|
42
42
|
"glob": "^13.0.0",
|
|
43
|
-
"@aiready/core": "0.23.
|
|
43
|
+
"@aiready/core": "0.23.7"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@types/node": "^24.0.0",
|
package/src/scoring.ts
CHANGED
|
@@ -3,6 +3,9 @@ import type { TestabilityReport } from './types';
|
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Convert testability report into a ToolScoringOutput for the unified score.
|
|
6
|
+
*
|
|
7
|
+
* @param report - The comprehensive testability report containing raw metrics and summary.
|
|
8
|
+
* @returns Standardized scoring output with impact factors and recommendations.
|
|
6
9
|
*/
|
|
7
10
|
export function calculateTestabilityScore(
|
|
8
11
|
report: TestabilityReport
|