@aiready/change-amplification 0.14.22 → 0.14.23

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.14.21 build /Users/pengcao/projects/aiready/packages/change-amplification
3
+ > @aiready/change-amplification@0.14.22 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
- CJS dist/index.js 7.53 KB
13
12
  CJS dist/cli.js 8.99 KB
14
- CJS ⚡️ Build success in 99ms
15
- ESM dist/index.mjs 916.00 B
13
+ CJS dist/index.js 7.53 KB
14
+ CJS ⚡️ Build success in 66ms
16
15
  ESM dist/cli.mjs 2.41 KB
16
+ ESM dist/index.mjs 916.00 B
17
17
  ESM dist/chunk-KUIEB4UN.mjs 5.32 KB
18
- ESM ⚡️ Build success in 99ms
18
+ ESM ⚡️ Build success in 68ms
19
19
  DTS Build start
20
- DTS ⚡️ Build success in 5898ms
20
+ DTS ⚡️ Build success in 3067ms
21
21
  DTS dist/cli.d.ts 266.00 B
22
22
  DTS dist/index.d.ts 937.00 B
23
23
  DTS dist/cli.d.mts 266.00 B
@@ -1,7 +1,6 @@
1
1
 
2
2
  
3
- > @aiready/change-amplification@0.14.21 format-check /Users/pengcao/projects/aiready/packages/change-amplification
3
+ > @aiready/change-amplification@0.14.22 format-check /Users/pengcao/projects/aiready/packages/change-amplification
4
4
  > prettier --check . --ignore-path ../../.prettierignore
5
5
 
6
- Checking formatting...
7
- package.jsonREADME.mdsrc/__tests__/analyzer.test.tssrc/__tests__/cli.test.tssrc/__tests__/contract.test.tssrc/__tests__/dummy.test.tssrc/__tests__/provider.test.tssrc/__tests__/scoring.test.tssrc/analyzer.tssrc/cli.tssrc/index.tssrc/provider.tssrc/scoring.tssrc/types.tstsconfig.jsonAll matched files use Prettier code style!
6
+  ELIFECYCLE  Command failed.
@@ -1,92 +1,68 @@
1
1
 
2
2
  
3
- > @aiready/change-amplification@0.14.21 test /Users/pengcao/projects/aiready/packages/change-amplification
3
+ > @aiready/change-amplification@0.14.22 test /Users/pengcao/projects/aiready/packages/change-amplification
4
4
  > vitest run
5
5
 
6
6
  [?25l
7
7
   RUN  v4.1.2 /Users/pengcao/projects/aiready/packages/change-amplification
8
8
 
9
9
  [?2026h
10
-  ❯ src/__tests__/scoring.test.ts [queued]
10
+  ❯ src/__tests__/dummy.test.ts [queued]
11
11
 
12
12
   Test Files 0 passed (6)
13
13
   Tests 0 passed (0)
14
-  Start at 19:24:32
15
-  Duration 506ms
14
+  Start at 20:46:50
15
+  Duration 310ms
16
16
  [?2026l[?2026h
17
-  ❯ src/__tests__/cli.test.ts [queued]
18
-  ❯ src/__tests__/contract.test.ts [queued]
19
-  ❯ src/__tests__/provider.test.ts [queued]
20
-  ❯ src/__tests__/scoring.test.ts [queued]
21
-
22
-  Test Files 0 passed (6)
23
-  Tests 0 passed (0)
24
-  Start at 19:24:32
25
-  Duration 623ms
26
- [?2026l[?2026h
27
17
   ❯ src/__tests__/analyzer.test.ts [queued]
28
18
   ❯ src/__tests__/cli.test.ts [queued]
29
19
   ❯ src/__tests__/contract.test.ts [queued]
30
-  ❯ src/__tests__/dummy.test.ts 0/1
20
+  ❯ src/__tests__/dummy.test.ts 1/1
31
21
   ❯ src/__tests__/provider.test.ts [queued]
32
22
   ❯ src/__tests__/scoring.test.ts [queued]
33
23
 
34
24
   Test Files 0 passed (6)
35
-  Tests 0 passed (1)
36
-  Start at 19:24:32
37
-  Duration 827ms
38
- [?2026l[?2026h ✓ src/__tests__/dummy.test.ts (1 test) 2ms
25
+  Tests 1 passed (1)
26
+  Start at 20:46:50
27
+  Duration 410ms
28
+ [?2026l[?2026h ✓ src/__tests__/dummy.test.ts (1 test) 30ms
39
29
 
40
30
   ❯ src/__tests__/analyzer.test.ts [queued]
41
31
   ❯ src/__tests__/cli.test.ts [queued]
42
32
   ❯ src/__tests__/contract.test.ts [queued]
33
+  ❯ src/__tests__/dummy.test.ts 1/1
43
34
   ❯ src/__tests__/provider.test.ts [queued]
44
-  ❯ src/__tests__/scoring.test.ts 0/2
35
+  ❯ src/__tests__/scoring.test.ts [queued]
45
36
 
46
37
   Test Files 1 passed (6)
47
-  Tests 1 passed (3)
48
-  Start at 19:24:32
49
-  Duration 1.90s
50
- [?2026l[?2026h ✓ src/__tests__/scoring.test.ts (2 tests) 3ms
38
+  Tests 1 passed (1)
39
+  Start at 20:46:50
40
+  Duration 934ms
41
+ [?2026l[?2026h
51
42
 
52
-  ❯ src/__tests__/analyzer.test.ts [queued]
53
-  ❯ src/__tests__/cli.test.ts [queued]
54
-  ❯ src/__tests__/contract.test.ts [queued]
55
-  ❯ src/__tests__/provider.test.ts [queued]
56
-
57
-  Test Files 2 passed (6)
58
-  Tests 3 passed (3)
59
-  Start at 19:24:32
60
-  Duration 2.01s
61
- [?2026l[?2026h
62
43
   ❯ src/__tests__/analyzer.test.ts [queued]
63
44
   ❯ src/__tests__/cli.test.ts 0/2
64
45
   ❯ src/__tests__/contract.test.ts [queued]
65
46
   ❯ src/__tests__/provider.test.ts [queued]
47
+  ❯ src/__tests__/scoring.test.ts [queued]
66
48
 
67
-  Test Files 2 passed (6)
68
-  Tests 3 passed (5)
69
-  Start at 19:24:32
70
-  Duration 2.53s
71
- [?2026l[?2026h ✓ src/__tests__/cli.test.ts (2 tests) 6ms
72
- ✓ src/__tests__/contract.test.ts (1 test) 10ms
49
+  Test Files 1 passed (6)
50
+  Tests 1 passed (3)
51
+  Start at 20:46:50
52
+  Duration 1.65s
53
+ [?2026l ✓ src/__tests__/scoring.test.ts (2 tests) 2ms
73
54
  stdout | src/__tests__/analyzer.test.ts > analyzeChangeAmplification reproduction > should see how it gets to 0
74
55
  Resulting score for highly coupled: 27
75
56
  Rating: explosive
76
57
 
77
- ✓ src/__tests__/analyzer.test.ts (2 tests) 7ms
78
-
79
-  ❯ src/__tests__/provider.test.ts 0/2
80
-
81
-  Test Files 5 passed (6)
82
-  Tests 8 passed (10)
83
-  Start at 19:24:32
84
-  Duration 2.77s
85
- [?2026l ✓ src/__tests__/provider.test.ts (2 tests) 2ms
58
+ ✓ src/__tests__/analyzer.test.ts (2 tests) 4ms
59
+ ✓ src/__tests__/cli.test.ts (2 tests) 13ms
60
+ ✓ src/__tests__/provider.test.ts (2 tests) 5ms
61
+ ✓ src/__tests__/contract.test.ts (1 test) 23ms
86
62
 
87
63
   Test Files  6 passed (6)
88
64
   Tests  10 passed (10)
89
-  Start at  19:24:32
90
-  Duration  2.79s (transform 2.28s, setup 0ms, import 9.41s, tests 30ms, environment 0ms)
65
+  Start at  20:46:50
66
+  Duration  1.78s (transform 1.59s, setup 0ms, import 6.54s, tests 76ms, environment 1ms)
91
67
 
92
68
  [?25h
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiready/change-amplification",
3
- "version": "0.14.22",
3
+ "version": "0.14.23",
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
  "chalk": "^5.6.2",
11
11
  "commander": "^14.0.3",
12
12
  "glob": "^13.0.6",
13
- "@aiready/core": "0.24.25"
13
+ "@aiready/core": "0.24.26"
14
14
  },
15
15
  "devDependencies": {
16
16
  "@types/node": "^24.12.2",