@aiready/testability 0.6.4 → 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.
@@ -1,6 +1,6 @@
1
1
 
2
2
  
3
- > @aiready/testability@0.6.4 build /Users/pengcao/projects/aiready/packages/testability
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
  CLI Building entry: src/cli.ts, src/index.ts
@@ -11,14 +11,14 @@
11
11
  ESM Build start
12
12
  CJS dist/cli.js 15.61 KB
13
13
  CJS dist/index.js 10.61 KB
14
- CJS ⚡️ Build success in 123ms
15
- ESM dist/cli.mjs 5.75 KB
14
+ CJS ⚡️ Build success in 483ms
16
15
  ESM dist/index.mjs 1.17 KB
17
16
  ESM dist/chunk-QOIBI5E7.mjs 8.31 KB
18
- ESM ⚡️ Build success in 123ms
17
+ ESM dist/cli.mjs 5.75 KB
18
+ ESM ⚡️ Build success in 483ms
19
19
  DTS Build start
20
- DTS ⚡️ Build success in 4258ms
20
+ DTS ⚡️ Build success in 4452ms
21
21
  DTS dist/cli.d.ts 20.00 B
22
- DTS dist/index.d.ts 2.45 KB
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.45 KB
24
+ DTS dist/index.d.mts 2.62 KB
@@ -1,20 +1,20 @@
1
1
 
2
2
  
3
- > @aiready/testability@0.6.3 test /Users/pengcao/projects/aiready/packages/testability
3
+ > @aiready/testability@0.6.5 test /Users/pengcao/projects/aiready/packages/testability
4
4
  > vitest run
5
5
 
6
6
  [?25l
7
7
   RUN  v4.0.18 /Users/pengcao/projects/aiready/packages/testability
8
8
 
9
- ✓ src/__tests__/types.test.ts (4 tests) 3ms
10
- ✓ src/__tests__/scoring.test.ts (3 tests) 7ms
11
- ✓ src/__tests__/provider.test.ts (2 tests) 3ms
12
- ✓ src/__tests__/analyzer.test.ts (5 tests) 1860ms
13
- ✓ detects test frameworks in multiple languages  1755ms
9
+ ✓ src/__tests__/types.test.ts (4 tests) 2ms
10
+ ✓ src/__tests__/scoring.test.ts (3 tests) 10ms
11
+ ✓ src/__tests__/provider.test.ts (2 tests) 16ms
12
+ ✓ src/__tests__/analyzer.test.ts (5 tests) 4638ms
13
+ ✓ detects test frameworks in multiple languages  4611ms
14
14
 
15
15
   Test Files  4 passed (4)
16
16
   Tests  14 passed (14)
17
-  Start at  10:36:26
18
-  Duration  3.75s (transform 1.58s, setup 0ms, import 4.24s, tests 1.87s, environment 0ms)
17
+  Start at  10:12:34
18
+  Duration  9.12s (transform 1.51s, setup 0ms, import 9.44s, tests 4.66s, environment 0ms)
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.4",
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.4"
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