@aiready/change-amplification 0.14.27 → 0.14.31

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.26 build /Users/pengcao/projects/aiready/packages/change-amplification
3
+ > @aiready/change-amplification@0.14.30 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,16 +9,16 @@
9
9
  CLI Target: es2020
10
10
  CJS Build start
11
11
  ESM Build start
12
- CJS dist/index.js 7.53 KB
13
- CJS dist/cli.js 8.99 KB
14
- CJS ⚡️ Build success in 84ms
12
+ ESM dist/index.mjs 916.00 B
15
13
  ESM dist/cli.mjs 2.41 KB
16
14
  ESM dist/chunk-KUIEB4UN.mjs 5.32 KB
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
15
+ ESM ⚡️ Build success in 108ms
16
+ CJS dist/cli.js 8.99 KB
17
+ CJS dist/index.js 7.53 KB
18
+ CJS ⚡️ Build success in 110ms
19
+ DTS Build start
20
+ DTS ⚡️ Build success in 2702ms
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.26 format-check /Users/pengcao/projects/aiready/packages/change-amplification
3
+ > @aiready/change-amplification@0.14.30 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.26 format /Users/pengcao/projects/aiready/packages/change-amplification
3
+ > @aiready/change-amplification@0.14.30 format /Users/pengcao/projects/aiready/packages/change-amplification
4
4
  > prettier --write . --ignore-path ../../.prettierignore
5
5
 
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
- src/__tests__/provider.test.tssrc/__tests__/provider.test.ts 1ms (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)
6
+ package.jsonpackage.json 9ms (unchanged)
7
+ README.mdREADME.md 21ms (unchanged)
8
+ src/__tests__/analyzer.test.tssrc/__tests__/analyzer.test.ts 53ms (unchanged)
9
+ src/__tests__/cli.test.tssrc/__tests__/cli.test.ts 5ms (unchanged)
10
+ src/__tests__/contract.test.tssrc/__tests__/contract.test.ts 8ms (unchanged)
11
+ src/__tests__/dummy.test.tssrc/__tests__/dummy.test.ts 1ms (unchanged)
12
+ src/__tests__/provider.test.tssrc/__tests__/provider.test.ts 2ms (unchanged)
13
+ src/__tests__/scoring.test.tssrc/__tests__/scoring.test.ts 12ms (unchanged)
14
+ src/analyzer.tssrc/analyzer.ts 16ms (unchanged)
15
+ src/cli.tssrc/cli.ts 13ms (unchanged)
16
+ src/index.tssrc/index.ts 1ms (unchanged)
17
+ src/provider.tssrc/provider.ts 10ms (unchanged)
18
+ src/scoring.tssrc/scoring.ts 2ms (unchanged)
19
+ src/types.tssrc/types.ts 11ms (unchanged)
20
+ tsconfig.jsontsconfig.json 1ms (unchanged)
@@ -1,5 +1,5 @@
1
1
 
2
2
  
3
- > @aiready/change-amplification@0.14.26 lint /Users/pengcao/projects/aiready/packages/change-amplification
3
+ > @aiready/change-amplification@0.14.30 lint /Users/pengcao/projects/aiready/packages/change-amplification
4
4
  > eslint src --ext .ts
5
5
 
@@ -1,90 +1,53 @@
1
1
 
2
2
  
3
- > @aiready/change-amplification@0.14.26 test /Users/pengcao/projects/aiready/packages/change-amplification
3
+ > @aiready/change-amplification@0.14.30 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__/dummy.test.ts [queued]
11
-
12
- Test Files 0 passed (6)
13
- Tests 0 passed (0)
14
- Start at 07:13:58
15
- Duration 206ms
16
- [?2026l[?2026h
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
38
- [?2026l[?2026h
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
10
+ src/__tests__/analyzer.test.ts [queued]
11
+
12
+  Test Files 0 passed (6)
13
+  Tests 0 passed (0)
14
+  Start at 14:22:35
15
+  Duration 117ms
16
+ [?2026l[?2026h ✓ src/__tests__/dummy.test.ts (1 test) 4ms
17
+
18
+ src/__tests__/analyzer.test.ts [queued]
19
+ src/__tests__/cli.test.ts [queued]
20
+ src/__tests__/contract.test.ts 0/1
21
+  ❯ src/__tests__/provider.test.ts [queued]
22
+  src/__tests__/scoring.test.ts [queued]
23
+
24
+  Test Files 1 passed (6)
25
+  Tests 1 passed (2)
26
+  Start at 14:22:35
27
+  Duration 841ms
28
+ [?2026l[?2026h ✓ src/__tests__/provider.test.ts (2 tests) 2ms
29
+ ✓ src/__tests__/contract.test.ts (1 test) 20ms
30
+ ✓ src/__tests__/cli.test.ts (2 tests) 2ms
31
+
32
+
33
+
34
+  src/__tests__/analyzer.test.ts [queued]
35
+  src/__tests__/scoring.test.ts [queued]
36
+
37
+  Test Files 4 passed (6)
38
+  Tests 6 passed (6)
39
+  Start at 14:22:35
40
+  Duration 956ms
41
+ [?2026lstdout | src/__tests__/analyzer.test.ts > analyzeChangeAmplification reproduction > should see how it gets to 0
42
+ Resulting score for highly coupled: 27
73
43
  Rating: explosive
74
44
 
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
45
+ ✓ src/__tests__/analyzer.test.ts (2 tests) 3ms
46
+ ✓ src/__tests__/scoring.test.ts (2 tests) 2ms
84
47
 
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)
48
+  Test Files  6 passed (6)
49
+  Tests  10 passed (10)
50
+  Start at  14:22:35
51
+  Duration  1.08s (transform 1.63s, setup 0ms, import 4.00s, tests 33ms, environment 0ms)
89
52
 
90
53
  [?25h
@@ -1,5 +1,5 @@
1
1
 
2
2
  
3
- > @aiready/change-amplification@0.14.26 type-check /Users/pengcao/projects/aiready/packages/change-amplification
3
+ > @aiready/change-amplification@0.14.30 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.27",
3
+ "version": "0.14.31",
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.5"
13
+ "@aiready/core": "0.29.8"
14
14
  },
15
15
  "devDependencies": {
16
16
  "@types/node": "^24.12.2",