@aiready/change-amplification 0.13.4 → 0.13.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 +7 -7
- package/dist/index.d.mts +5 -1
- package/dist/index.d.ts +5 -1
- package/package.json +2 -2
- package/src/scoring.ts +5 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
> @aiready/change-amplification@0.13.
|
|
3
|
+
> @aiready/change-amplification@0.13.6 build /Users/pengcao/projects/aiready/packages/change-amplification
|
|
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
|
|
@@ -9,16 +9,16 @@
|
|
|
9
9
|
[34mCLI[39m Target: es2020
|
|
10
10
|
[34mCJS[39m Build start
|
|
11
11
|
[34mESM[39m Build start
|
|
12
|
-
[32mCJS[39m [1mdist/cli.js [22m[32m9.02 KB[39m
|
|
13
12
|
[32mCJS[39m [1mdist/index.js [22m[32m7.93 KB[39m
|
|
14
|
-
[32mCJS[39m
|
|
13
|
+
[32mCJS[39m [1mdist/cli.js [22m[32m9.02 KB[39m
|
|
14
|
+
[32mCJS[39m ⚡️ Build success in 171ms
|
|
15
15
|
[32mESM[39m [1mdist/cli.mjs [22m[32m2.78 KB[39m
|
|
16
16
|
[32mESM[39m [1mdist/index.mjs [22m[32m1.72 KB[39m
|
|
17
17
|
[32mESM[39m [1mdist/chunk-OBBL7HKE.mjs [22m[32m4.82 KB[39m
|
|
18
|
-
[32mESM[39m ⚡️ Build success in
|
|
18
|
+
[32mESM[39m ⚡️ Build success in 184ms
|
|
19
19
|
DTS Build start
|
|
20
|
-
DTS ⚡️ Build success in
|
|
20
|
+
DTS ⚡️ Build success in 4986ms
|
|
21
21
|
DTS dist/cli.d.ts 152.00 B
|
|
22
|
-
DTS dist/index.d.ts 1.
|
|
22
|
+
DTS dist/index.d.ts 1.30 KB
|
|
23
23
|
DTS dist/cli.d.mts 152.00 B
|
|
24
|
-
DTS dist/index.d.mts 1.
|
|
24
|
+
DTS dist/index.d.mts 1.30 KB
|
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
> @aiready/change-amplification@0.13.
|
|
3
|
+
> @aiready/change-amplification@0.13.5 test /Users/pengcao/projects/aiready/packages/change-amplification
|
|
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/change-amplification[39m
|
|
8
8
|
|
|
9
9
|
[32m✓[39m src/__tests__/dummy.test.ts [2m([22m[2m1 test[22m[2m)[22m[32m 1[2mms[22m[39m
|
|
10
|
-
[32m✓[39m src/__tests__/cli.test.ts [2m([22m[2m2 tests[22m[2m)[22m[32m
|
|
10
|
+
[32m✓[39m src/__tests__/cli.test.ts [2m([22m[2m2 tests[22m[2m)[22m[32m 4[2mms[22m[39m
|
|
11
|
+
[32m✓[39m src/__tests__/scoring.test.ts [2m([22m[2m2 tests[22m[2m)[22m[32m 10[2mms[22m[39m
|
|
12
|
+
[32m✓[39m src/__tests__/provider.test.ts [2m([22m[2m2 tests[22m[2m)[22m[32m 46[2mms[22m[39m
|
|
11
13
|
[90mstdout[2m | src/__tests__/analyzer.test.ts[2m > [22m[2manalyzeChangeAmplification reproduction[2m > [22m[2mshould see how it gets to 0
|
|
12
14
|
[22m[39mResulting score for highly coupled: [33m27[39m
|
|
13
15
|
Rating: explosive
|
|
14
16
|
|
|
15
|
-
[32m✓[39m src/__tests__/
|
|
16
|
-
[32m✓[39m src/__tests__/scoring.test.ts [2m([22m[2m2 tests[22m[2m)[22m[32m 2[2mms[22m[39m
|
|
17
|
-
[32m✓[39m src/__tests__/analyzer.test.ts [2m([22m[2m2 tests[22m[2m)[22m[32m 4[2mms[22m[39m
|
|
17
|
+
[32m✓[39m src/__tests__/analyzer.test.ts [2m([22m[2m2 tests[22m[2m)[22m[32m 30[2mms[22m[39m
|
|
18
18
|
|
|
19
19
|
[2m Test Files [22m [1m[32m5 passed[39m[22m[90m (5)[39m
|
|
20
20
|
[2m Tests [22m [1m[32m9 passed[39m[22m[90m (9)[39m
|
|
21
|
-
[2m Start at [22m 10:
|
|
22
|
-
[2m Duration [22m
|
|
21
|
+
[2m Start at [22m 10:12:34
|
|
22
|
+
[2m Duration [22m 5.68s[2m (transform 2.14s, setup 0ms, import 12.18s, tests 92ms, environment 1ms)[22m
|
|
23
23
|
|
|
24
24
|
[?25h
|
package/dist/index.d.mts
CHANGED
|
@@ -20,7 +20,11 @@ interface ChangeAmplificationReport extends SpokeOutput {
|
|
|
20
20
|
declare function analyzeChangeAmplification(options: ChangeAmplificationOptions): Promise<ChangeAmplificationReport>;
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
|
-
* Convert change amplification report into a ToolScoringOutput.
|
|
23
|
+
* Convert change amplification report into a standardized ToolScoringOutput.
|
|
24
|
+
*
|
|
25
|
+
* @param report - The detailed change amplification report.
|
|
26
|
+
* @returns Standardized scoring and risk factor breakdown.
|
|
27
|
+
* @lastUpdated 2026-03-18
|
|
24
28
|
*/
|
|
25
29
|
declare function calculateChangeAmplificationScore(report: ChangeAmplificationReport): ToolScoringOutput;
|
|
26
30
|
|
package/dist/index.d.ts
CHANGED
|
@@ -20,7 +20,11 @@ interface ChangeAmplificationReport extends SpokeOutput {
|
|
|
20
20
|
declare function analyzeChangeAmplification(options: ChangeAmplificationOptions): Promise<ChangeAmplificationReport>;
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
|
-
* Convert change amplification report into a ToolScoringOutput.
|
|
23
|
+
* Convert change amplification report into a standardized ToolScoringOutput.
|
|
24
|
+
*
|
|
25
|
+
* @param report - The detailed change amplification report.
|
|
26
|
+
* @returns Standardized scoring and risk factor breakdown.
|
|
27
|
+
* @lastUpdated 2026-03-18
|
|
24
28
|
*/
|
|
25
29
|
declare function calculateChangeAmplificationScore(report: ChangeAmplificationReport): ToolScoringOutput;
|
|
26
30
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aiready/change-amplification",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.6",
|
|
4
4
|
"description": "AI-Readiness: Change Amplification Detection",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"commander": "^14.0.0",
|
|
11
11
|
"glob": "^13.0.0",
|
|
12
12
|
"chalk": "^5.3.0",
|
|
13
|
-
"@aiready/core": "0.23.
|
|
13
|
+
"@aiready/core": "0.23.7"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
16
|
"@types/node": "^24.0.0",
|
package/src/scoring.ts
CHANGED
|
@@ -3,7 +3,11 @@ import type { ToolScoringOutput } from '@aiready/core';
|
|
|
3
3
|
import type { ChangeAmplificationReport } from './types';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
* Convert change amplification report into a ToolScoringOutput.
|
|
6
|
+
* Convert change amplification report into a standardized ToolScoringOutput.
|
|
7
|
+
*
|
|
8
|
+
* @param report - The detailed change amplification report.
|
|
9
|
+
* @returns Standardized scoring and risk factor breakdown.
|
|
10
|
+
* @lastUpdated 2026-03-18
|
|
7
11
|
*/
|
|
8
12
|
export function calculateChangeAmplificationScore(
|
|
9
13
|
report: ChangeAmplificationReport
|