@aiready/change-amplification 0.14.26 → 0.14.27

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.25 build /Users/pengcao/projects/aiready/packages/change-amplification
3
+ > @aiready/change-amplification@0.14.26 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
@@ -11,14 +11,14 @@
11
11
  ESM Build start
12
12
  CJS dist/index.js 7.53 KB
13
13
  CJS dist/cli.js 8.99 KB
14
- CJS ⚡️ Build success in 86ms
14
+ CJS ⚡️ Build success in 84ms
15
15
  ESM dist/cli.mjs 2.41 KB
16
- ESM dist/index.mjs 916.00 B
17
16
  ESM dist/chunk-KUIEB4UN.mjs 5.32 KB
18
- ESM ⚡️ Build success in 87ms
19
- DTS Build start
20
- DTS ⚡️ Build success in 4010ms
21
- DTS dist/cli.d.ts 266.00 B
22
- DTS dist/index.d.ts 937.00 B
23
- DTS dist/cli.d.mts 266.00 B
24
- DTS dist/index.d.mts 937.00 B
17
+ ESM dist/index.mjs 916.00 B
18
+ ESM ⚡️ Build success in 105ms
19
+ DTS Build start
20
+ DTS ⚡️ Build success in 4186ms
21
+ DTS dist/cli.d.ts 266.00 B
22
+ DTS dist/index.d.ts 937.00 B
23
+ DTS dist/cli.d.mts 266.00 B
24
+ DTS dist/index.d.mts 937.00 B
@@ -1,6 +1,6 @@
1
1
 
2
2
  
3
- > @aiready/change-amplification@0.14.25 format-check /Users/pengcao/projects/aiready/packages/change-amplification
3
+ > @aiready/change-amplification@0.14.26 format-check /Users/pengcao/projects/aiready/packages/change-amplification
4
4
  > prettier --check . --ignore-path ../../.prettierignore
5
5
 
6
6
  Checking formatting...
@@ -1,20 +1,20 @@
1
1
 
2
2
  
3
- > @aiready/change-amplification@0.14.25 format /Users/pengcao/projects/aiready/packages/change-amplification
3
+ > @aiready/change-amplification@0.14.26 format /Users/pengcao/projects/aiready/packages/change-amplification
4
4
  > prettier --write . --ignore-path ../../.prettierignore
5
5
 
6
- package.jsonpackage.json 37ms (unchanged)
7
- README.mdREADME.md 40ms (unchanged)
8
- src/__tests__/analyzer.test.tssrc/__tests__/analyzer.test.ts 104ms (unchanged)
9
- src/__tests__/cli.test.tssrc/__tests__/cli.test.ts 8ms (unchanged)
10
- src/__tests__/contract.test.tssrc/__tests__/contract.test.ts 6ms (unchanged)
11
- src/__tests__/dummy.test.tssrc/__tests__/dummy.test.ts 2ms (unchanged)
6
+ package.jsonpackage.json 8ms (unchanged)
7
+ README.mdREADME.md 33ms (unchanged)
8
+ src/__tests__/analyzer.test.tssrc/__tests__/analyzer.test.ts 37ms (unchanged)
9
+ src/__tests__/cli.test.tssrc/__tests__/cli.test.ts 7ms (unchanged)
10
+ src/__tests__/contract.test.tssrc/__tests__/contract.test.ts 8ms (unchanged)
11
+ src/__tests__/dummy.test.tssrc/__tests__/dummy.test.ts 3ms (unchanged)
12
12
  src/__tests__/provider.test.tssrc/__tests__/provider.test.ts 1ms (unchanged)
13
- src/__tests__/scoring.test.tssrc/__tests__/scoring.test.ts 7ms (unchanged)
14
- src/analyzer.tssrc/analyzer.ts 41ms (unchanged)
15
- src/cli.tssrc/cli.ts 6ms (unchanged)
16
- src/index.tssrc/index.ts 4ms (unchanged)
17
- src/provider.tssrc/provider.ts 3ms (unchanged)
18
- src/scoring.tssrc/scoring.ts 2ms (unchanged)
19
- src/types.tssrc/types.ts 2ms (unchanged)
20
- tsconfig.jsontsconfig.json 3ms (unchanged)
13
+ src/__tests__/scoring.test.tssrc/__tests__/scoring.test.ts 8ms (unchanged)
14
+ src/analyzer.tssrc/analyzer.ts 19ms (unchanged)
15
+ src/cli.tssrc/cli.ts 15ms (unchanged)
16
+ src/index.tssrc/index.ts 2ms (unchanged)
17
+ src/provider.tssrc/provider.ts 11ms (unchanged)
18
+ src/scoring.tssrc/scoring.ts 3ms (unchanged)
19
+ src/types.tssrc/types.ts 23ms (unchanged)
20
+ tsconfig.jsontsconfig.json 2ms (unchanged)
@@ -1,5 +1,5 @@
1
1
 
2
2
  
3
- > @aiready/change-amplification@0.14.25 lint:fix /Users/pengcao/projects/aiready/packages/change-amplification
3
+ > @aiready/change-amplification@0.14.26 lint:fix /Users/pengcao/projects/aiready/packages/change-amplification
4
4
  > eslint . --fix
5
5
 
@@ -1,5 +1,5 @@
1
1
 
2
2
  
3
- > @aiready/change-amplification@0.14.25 lint /Users/pengcao/projects/aiready/packages/change-amplification
3
+ > @aiready/change-amplification@0.14.26 lint /Users/pengcao/projects/aiready/packages/change-amplification
4
4
  > eslint src --ext .ts
5
5
 
@@ -1,76 +1,90 @@
1
1
 
2
2
  
3
- > @aiready/change-amplification@0.14.25 test /Users/pengcao/projects/aiready/packages/change-amplification
3
+ > @aiready/change-amplification@0.14.26 test /Users/pengcao/projects/aiready/packages/change-amplification
4
4
  > vitest run
5
5
 
6
6
  [?25l
7
-  RUN  v4.1.4 /Users/pengcao/projects/aiready/packages/change-amplification
7
+ RUN v4.1.4 /Users/pengcao/projects/aiready/packages/change-amplification
8
8
 
9
9
  [?2026h
10
- src/__tests__/provider.test.ts [queued]
10
+ src/__tests__/dummy.test.ts [queued]
11
11
 
12
-  Test Files 0 passed (6)
13
-  Tests 0 passed (0)
14
-  Start at 18:54:43
15
-  Duration 203ms
12
+ Test Files 0 passed (6)
13
+ Tests 0 passed (0)
14
+ Start at 07:13:58
15
+ Duration 206ms
16
16
  [?2026l[?2026h
17
- src/__tests__/analyzer.test.ts [queued]
18
- src/__tests__/cli.test.ts [queued]
19
- src/__tests__/contract.test.ts [queued]
20
- src/__tests__/dummy.test.ts 0/1
21
-  ❯ src/__tests__/provider.test.ts [queued]
22
-  src/__tests__/scoring.test.ts [queued]
23
-
24
-  Test Files 0 passed (6)
25
-  Tests 0 passed (1)
26
-  Start at 18:54:43
27
-  Duration 305ms
28
- [?2026l[?2026h ✓ src/__tests__/dummy.test.ts (1 test) 3ms
29
-
30
- src/__tests__/analyzer.test.ts [queued]
31
- src/__tests__/cli.test.ts [queued]
32
- src/__tests__/contract.test.ts [queued]
33
-  ❯ src/__tests__/provider.test.ts [queued]
34
-  src/__tests__/scoring.test.ts [queued]
35
-
36
-  Test Files 1 passed (6)
37
-  Tests 1 passed (1)
38
-  Start at 18:54:43
39
-  Duration 932ms
17
+ src/__tests__/analyzer.test.ts [queued]
18
+ src/__tests__/dummy.test.ts 0/1
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 (1)
24
+ Start at 07:13:58
25
+ Duration 309ms
26
+ [?2026l[?2026h src/__tests__/dummy.test.ts (1 test) 3ms
27
+
28
+ src/__tests__/analyzer.test.ts [queued]
29
+ ❯ src/__tests__/cli.test.ts [queued]
30
+ src/__tests__/contract.test.ts [queued]
31
+ src/__tests__/provider.test.ts [queued]
32
+ src/__tests__/scoring.test.ts [queued]
33
+
34
+ Test Files 1 passed (6)
35
+ Tests 1 passed (1)
36
+ Start at 07:13:58
37
+ Duration 963ms
40
38
  [?2026l[?2026h
41
- src/__tests__/analyzer.test.ts [queued]
42
- src/__tests__/cli.test.ts [queued]
43
- src/__tests__/contract.test.ts [queued]
44
- src/__tests__/provider.test.ts [queued]
45
- src/__tests__/scoring.test.ts 0/2
46
-
47
-  Test Files 1 passed (6)
48
-  Tests 1 passed (3)
49
-  Start at 18:54:43
50
-  Duration 1.34s
51
- [?2026l[?2026h ✓ src/__tests__/provider.test.ts (2 tests) 2ms
52
-
53
- src/__tests__/analyzer.test.ts [queued]
54
- src/__tests__/cli.test.ts 0/2
55
- src/__tests__/contract.test.ts [queued]
56
- src/__tests__/scoring.test.ts 0/2
57
-
58
-  Test Files 2 passed (6)
59
-  Tests 3 passed (7)
60
-  Start at 18:54:43
61
-  Duration 1.58s
62
- [?2026l ✓ src/__tests__/scoring.test.ts (2 tests) 166ms
63
- ✓ src/__tests__/cli.test.ts (2 tests) 15ms
64
- ✓ src/__tests__/contract.test.ts (1 test) 13ms
65
- stdout | src/__tests__/analyzer.test.ts > analyzeChangeAmplification reproduction > should see how it gets to 0
66
- Resulting score for highly coupled: 27
39
+ src/__tests__/analyzer.test.ts [queued]
40
+ src/__tests__/cli.test.ts 0/2
41
+ src/__tests__/contract.test.ts [queued]
42
+ src/__tests__/provider.test.ts [queued]
43
+ src/__tests__/scoring.test.ts [queued]
44
+
45
+ Test Files 1 passed (6)
46
+ Tests 1 passed (3)
47
+ Start at 07:13:58
48
+ Duration 1.17s
49
+ [?2026l[?2026h src/__tests__/cli.test.ts (2 tests) 3ms
50
+
51
+ src/__tests__/analyzer.test.ts [queued]
52
+ src/__tests__/contract.test.ts 1/1
53
+ src/__tests__/provider.test.ts [queued]
54
+ src/__tests__/scoring.test.ts [queued]
55
+
56
+ Test Files 2 passed (6)
57
+ Tests 4 passed (4)
58
+ Start at 07:13:58
59
+ Duration 1.27s
60
+ [?2026l[?2026h src/__tests__/contract.test.ts (1 test) 98ms
61
+
62
+ src/__tests__/analyzer.test.ts [queued]
63
+ src/__tests__/provider.test.ts [queued]
64
+ src/__tests__/scoring.test.ts 0/2
65
+
66
+ Test Files 3 passed (6)
67
+ Tests 4 passed (6)
68
+ Start at 07:13:58
69
+ Duration 1.57s
70
+ [?2026l[?2026h ✓ src/__tests__/scoring.test.ts (2 tests) 5ms
71
+ stdout | src/__tests__/analyzer.test.ts > analyzeChangeAmplification reproduction > should see how it gets to 0
72
+ Resulting score for highly coupled: 27
67
73
  Rating: explosive
68
74
 
69
- ✓ src/__tests__/analyzer.test.ts (2 tests) 12ms
75
+ src/__tests__/analyzer.test.ts (2 tests) 27ms
76
+
77
+ ❯ src/__tests__/provider.test.ts 1/2
78
+
79
+ Test Files 5 passed (6)
80
+ Tests 9 passed (10)
81
+ Start at 07:13:58
82
+ Duration 1.67s
83
+ [?2026l ✓ src/__tests__/provider.test.ts (2 tests) 2ms
70
84
 
71
-  Test Files  6 passed (6)
72
-  Tests  10 passed (10)
73
-  Start at  18:54:43
74
-  Duration  1.67s (transform 1.22s, setup 0ms, import 6.29s, tests 211ms, environment 0ms)
85
+ Test Files 6 passed (6)
86
+ Tests 10 passed (10)
87
+ Start at 07:13:58
88
+ Duration 1.69s (transform 1.58s, setup 0ms, import 5.75s, tests 137ms, environment 0ms)
75
89
 
76
90
  [?25h
@@ -1,5 +1,5 @@
1
1
 
2
2
  
3
- > @aiready/change-amplification@0.14.25 type-check /Users/pengcao/projects/aiready/packages/change-amplification
3
+ > @aiready/change-amplification@0.14.26 type-check /Users/pengcao/projects/aiready/packages/change-amplification
4
4
  > tsc --noEmit
5
5
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiready/change-amplification",
3
- "version": "0.14.26",
3
+ "version": "0.14.27",
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.29.4"
13
+ "@aiready/core": "0.29.5"
14
14
  },
15
15
  "devDependencies": {
16
16
  "@types/node": "^24.12.2",