@aiready/change-amplification 0.14.5 → 0.14.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,5 +1,5 @@
1
1
 
2
- > @aiready/change-amplification@0.14.5 build /Users/pengcao/projects/aiready/packages/change-amplification
2
+ > @aiready/change-amplification@0.14.6 build /Users/pengcao/projects/aiready/packages/change-amplification
3
3
  > tsup src/index.ts src/cli.ts --format cjs,esm --dts
4
4
 
5
5
  CLI Building entry: src/cli.ts, src/index.ts
@@ -10,13 +10,13 @@ CJS Build start
10
10
  ESM Build start
11
11
  CJS dist/cli.js 8.51 KB
12
12
  CJS dist/index.js 7.74 KB
13
- CJS ⚡️ Build success in 101ms
13
+ CJS ⚡️ Build success in 51ms
14
14
  ESM dist/cli.mjs 2.41 KB
15
- ESM dist/index.mjs 1.53 KB
16
15
  ESM dist/chunk-SPXGOPNW.mjs 4.83 KB
17
- ESM ⚡️ Build success in 101ms
16
+ ESM dist/index.mjs 1.53 KB
17
+ ESM ⚡️ Build success in 52ms
18
18
  DTS Build start
19
- DTS ⚡️ Build success in 7217ms
19
+ DTS ⚡️ Build success in 4350ms
20
20
  DTS dist/cli.d.ts 152.00 B
21
21
  DTS dist/index.d.ts 1.12 KB
22
22
  DTS dist/cli.d.mts 152.00 B
@@ -1,22 +1,22 @@
1
1
 
2
- > @aiready/change-amplification@0.14.4 test /Users/pengcao/projects/aiready/packages/change-amplification
2
+ > @aiready/change-amplification@0.14.5 test /Users/pengcao/projects/aiready/packages/change-amplification
3
3
  > vitest run
4
4
 
5
5
 
6
6
   RUN  v4.0.18 /Users/pengcao/projects/aiready/packages/change-amplification
7
7
 
8
- ✓ src/__tests__/dummy.test.ts (1 test) 20ms
9
- ✓ src/__tests__/provider.test.ts (2 tests) 2ms
10
- ✓ src/__tests__/scoring.test.ts (2 tests) 3ms
11
- ✓ src/__tests__/cli.test.ts (2 tests) 96ms
8
+ ✓ src/__tests__/dummy.test.ts (1 test) 1ms
9
+ ✓ src/__tests__/scoring.test.ts (2 tests) 27ms
10
+ ✓ src/__tests__/provider.test.ts (2 tests) 13ms
11
+ ✓ src/__tests__/cli.test.ts (2 tests) 42ms
12
12
  stdout | src/__tests__/analyzer.test.ts > analyzeChangeAmplification reproduction > should see how it gets to 0
13
13
  Resulting score for highly coupled: 27
14
14
  Rating: explosive
15
15
 
16
- ✓ src/__tests__/analyzer.test.ts (2 tests) 3ms
16
+ ✓ src/__tests__/analyzer.test.ts (2 tests) 31ms
17
17
 
18
18
   Test Files  5 passed (5)
19
19
   Tests  9 passed (9)
20
-  Start at  21:12:47
21
-  Duration  1.83s (transform 1.13s, setup 0ms, import 5.28s, tests 125ms, environment 1ms)
20
+  Start at  20:27:24
21
+  Duration  4.19s (transform 3.30s, setup 0ms, import 13.24s, tests 114ms, environment 0ms)
22
22
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiready/change-amplification",
3
- "version": "0.14.5",
3
+ "version": "0.14.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.24.5"
13
+ "@aiready/core": "0.24.6"
14
14
  },
15
15
  "devDependencies": {
16
16
  "@types/node": "^24.0.0",
package/src/provider.ts CHANGED
@@ -19,7 +19,7 @@ export const ChangeAmplificationProvider = createProvider({
19
19
  return analyzeChangeAmplification(options as ChangeAmplificationOptions);
20
20
  },
21
21
  getResults(report) {
22
- return report.results as any;
22
+ return report.results;
23
23
  },
24
24
  getSummary(report) {
25
25
  return report.summary;
@@ -27,7 +27,7 @@ export const ChangeAmplificationProvider = createProvider({
27
27
  score(output) {
28
28
  return buildSimpleProviderScore(
29
29
  ToolName.ChangeAmplification,
30
- output.summary as any
30
+ output.summary
31
31
  );
32
32
  },
33
33
  });