@aiready/change-amplification 0.12.0 → 0.13.1

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/change-amplification@0.11.21 build /Users/pengcao/projects/aiready/packages/change-amplification
3
+ > @aiready/change-amplification@0.13.0 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
  CLI Building entry: src/cli.ts, src/index.ts
@@ -9,15 +9,15 @@
9
9
  CLI Target: es2020
10
10
  CJS Build start
11
11
  ESM Build start
12
- ESM dist/cli.mjs 2.78 KB
13
12
  ESM dist/chunk-OBBL7HKE.mjs 4.82 KB
14
13
  ESM dist/index.mjs 2.07 KB
15
- ESM ⚡️ Build success in 242ms
14
+ ESM dist/cli.mjs 2.78 KB
15
+ ESM ⚡️ Build success in 152ms
16
16
  CJS dist/index.js 8.30 KB
17
17
  CJS dist/cli.js 9.01 KB
18
- CJS ⚡️ Build success in 243ms
18
+ CJS ⚡️ Build success in 153ms
19
19
  DTS Build start
20
- DTS ⚡️ Build success in 2731ms
20
+ DTS ⚡️ Build success in 3183ms
21
21
  DTS dist/cli.d.ts 152.00 B
22
22
  DTS dist/index.d.ts 1.28 KB
23
23
  DTS dist/cli.d.mts 152.00 B
@@ -1,24 +1,70 @@
1
1
 
2
2
  
3
- > @aiready/change-amplification@0.11.21 test /Users/pengcao/projects/aiready/packages/change-amplification
3
+ > @aiready/change-amplification@0.13.0 test /Users/pengcao/projects/aiready/packages/change-amplification
4
4
  > vitest run
5
5
 
6
6
  [?25l
7
7
   RUN  v4.0.18 /Users/pengcao/projects/aiready/packages/change-amplification
8
8
 
9
- ✓ src/__tests__/dummy.test.ts (1 test) 1ms
10
- ✓ src/__tests__/cli.test.ts (2 tests) 2ms
11
- ✓ src/__tests__/provider.test.ts (2 tests) 183ms
9
+ [?2026h
10
+  src/__tests__/cli.test.ts [queued]
11
+
12
+  Test Files 0 passed (5)
13
+  Tests 0 passed (0)
14
+  Start at 17:20:12
15
+  Duration 697ms
16
+ [?2026l[?2026h
17
+  ❯ src/__tests__/analyzer.test.ts [queued]
18
+  ❯ src/__tests__/cli.test.ts [queued]
19
+  ❯ src/__tests__/provider.test.ts [queued]
20
+  ❯ src/__tests__/scoring.test.ts [queued]
21
+
22
+  Test Files 0 passed (5)
23
+  Tests 0 passed (0)
24
+  Start at 17:20:12
25
+  Duration 839ms
26
+ [?2026l[?2026h
27
+  ❯ src/__tests__/analyzer.test.ts [queued]
28
+  ❯ src/__tests__/cli.test.ts 0/2
29
+  ❯ src/__tests__/dummy.test.ts [queued]
30
+  ❯ src/__tests__/provider.test.ts [queued]
31
+  ❯ src/__tests__/scoring.test.ts [queued]
32
+
33
+  Test Files 0 passed (5)
34
+  Tests 0 passed (2)
35
+  Start at 17:20:12
36
+  Duration 1.25s
37
+ [?2026l[?2026h ✓ src/__tests__/dummy.test.ts (1 test) 3ms
38
+ ✓ src/__tests__/cli.test.ts (2 tests) 4ms
39
+
40
+  ❯ src/__tests__/analyzer.test.ts [queued]
41
+  ❯ src/__tests__/provider.test.ts [queued]
42
+  ❯ src/__tests__/scoring.test.ts [queued]
43
+
44
+  Test Files 2 passed (5)
45
+  Tests 3 passed (3)
46
+  Start at 17:20:12
47
+  Duration 1.97s
48
+ [?2026l[?2026h
49
+  ❯ src/__tests__/analyzer.test.ts [queued]
50
+  ❯ src/__tests__/provider.test.ts [queued]
51
+  ❯ src/__tests__/scoring.test.ts 0/2
52
+
53
+  Test Files 2 passed (5)
54
+  Tests 3 passed (5)
55
+  Start at 17:20:12
56
+  Duration 2.18s
57
+ [?2026l ✓ src/__tests__/scoring.test.ts (2 tests) 2ms
12
58
  stdout | src/__tests__/analyzer.test.ts > analyzeChangeAmplification reproduction > should see how it gets to 0
13
59
  Resulting score for highly coupled: 27
14
60
  Rating: explosive
15
61
 
16
- ✓ src/__tests__/analyzer.test.ts (2 tests) 9ms
17
- ✓ src/__tests__/scoring.test.ts (2 tests) 3ms
62
+ ✓ src/__tests__/analyzer.test.ts (2 tests) 5ms
63
+ ✓ src/__tests__/provider.test.ts (2 tests) 14ms
18
64
 
19
65
   Test Files  5 passed (5)
20
66
   Tests  9 passed (9)
21
-  Start at  18:20:54
22
-  Duration  2.73s (transform 1.63s, setup 0ms, import 5.75s, tests 198ms, environment 0ms)
67
+  Start at  17:20:12
68
+  Duration  2.30s (transform 1.22s, setup 0ms, import 4.72s, tests 28ms, environment 0ms)
23
69
 
24
70
  [?25h
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiready/change-amplification",
3
- "version": "0.12.0",
3
+ "version": "0.13.1",
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.22.0"
13
+ "@aiready/core": "0.23.1"
14
14
  },
15
15
  "devDependencies": {
16
16
  "@types/node": "^24.0.0",