@aiready/change-amplification 0.14.25 → 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,24 +1,24 @@
1
1
 
2
2
  
3
- > @aiready/change-amplification@0.14.24 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
- CLI Building entry: src/cli.ts, src/index.ts
7
- CLI Using tsconfig: tsconfig.json
8
- CLI tsup v8.5.1
9
- CLI Target: es2020
10
- CJS Build start
11
- ESM Build start
12
- CJS dist/cli.js 8.99 KB
13
- CJS dist/index.js 7.53 KB
14
- CJS ⚡️ Build success in 48ms
15
- ESM dist/index.mjs 916.00 B
16
- ESM dist/cli.mjs 2.41 KB
17
- ESM dist/chunk-KUIEB4UN.mjs 5.32 KB
18
- ESM ⚡️ Build success in 55ms
19
- DTS Build start
20
- DTS ⚡️ Build success in 8016ms
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
6
+ CLI Building entry: src/cli.ts, src/index.ts
7
+ CLI Using tsconfig: tsconfig.json
8
+ CLI tsup v8.5.1
9
+ CLI Target: es2020
10
+ CJS Build start
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
15
+ ESM dist/cli.mjs 2.41 KB
16
+ 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
@@ -1,6 +1,6 @@
1
1
 
2
2
  
3
- > @aiready/change-amplification@0.14.24 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...
@@ -0,0 +1,20 @@
1
+
2
+ 
3
+ > @aiready/change-amplification@0.14.26 format /Users/pengcao/projects/aiready/packages/change-amplification
4
+ > prettier --write . --ignore-path ../../.prettierignore
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)
@@ -1,5 +1,5 @@
1
1
 
2
2
  
3
- > @aiready/change-amplification@0.14.20 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.24 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,6 +1,6 @@
1
1
 
2
2
  
3
- > @aiready/change-amplification@0.14.24 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
@@ -11,20 +11,20 @@
11
11
 
12
12
  Test Files 0 passed (6)
13
13
  Tests 0 passed (0)
14
- Start at 09:20:57
15
- Duration 515ms
16
- [?2026l[?2026h ✓ src/__tests__/dummy.test.ts (1 test) 18ms
17
-
14
+ Start at 07:13:58
15
+ Duration 206ms
16
+ [?2026l[?2026h
18
17
  ❯ src/__tests__/analyzer.test.ts [queued]
19
- ❯ src/__tests__/cli.test.ts [queued]
20
- ❯ src/__tests__/contract.test.ts [queued]
18
+ ❯ src/__tests__/dummy.test.ts 0/1
21
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
22
27
 
23
- Test Files 1 passed (6)
24
- Tests 1 passed (1)
25
- Start at 09:20:57
26
- Duration 731ms
27
- [?2026l[?2026h
28
28
  ❯ src/__tests__/analyzer.test.ts [queued]
29
29
  ❯ src/__tests__/cli.test.ts [queued]
30
30
  ❯ src/__tests__/contract.test.ts [queued]
@@ -33,60 +33,58 @@
33
33
 
34
34
  Test Files 1 passed (6)
35
35
  Tests 1 passed (1)
36
- Start at 09:20:57
37
- Duration 936ms
36
+ Start at 07:13:58
37
+ Duration 963ms
38
38
  [?2026l[?2026h
39
39
  ❯ src/__tests__/analyzer.test.ts [queued]
40
- ❯ src/__tests__/cli.test.ts [queued]
40
+ ❯ src/__tests__/cli.test.ts 0/2
41
41
  ❯ src/__tests__/contract.test.ts [queued]
42
42
  ❯ src/__tests__/provider.test.ts [queued]
43
43
  ❯ src/__tests__/scoring.test.ts [queued]
44
44
 
45
45
  Test Files 1 passed (6)
46
- Tests 1 passed (1)
47
- Start at 09:20:57
48
- Duration 1.92s
49
- [?2026l[?2026h
50
- ❯ src/__tests__/analyzer.test.ts 0/2
51
- ❯ src/__tests__/cli.test.ts [queued]
52
- ❯ src/__tests__/contract.test.ts [queued]
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
53
  ❯ src/__tests__/provider.test.ts [queued]
54
54
  ❯ src/__tests__/scoring.test.ts [queued]
55
55
 
56
- Test Files 1 passed (6)
57
- Tests 1 passed (3)
58
- Start at 09:20:57
59
- Duration 2.12s
60
- [?2026l[?2026hstdout | src/__tests__/analyzer.test.ts > analyzeChangeAmplification reproduction > should see how it gets to 0
61
- Resulting score for highly coupled: 27
62
- Rating: explosive
63
-
64
- ✓ src/__tests__/analyzer.test.ts (2 tests) 4ms
65
- ✓ src/__tests__/cli.test.ts (2 tests) 17ms
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
66
61
 
67
- ❯ src/__tests__/contract.test.ts [queued]
68
- ❯ src/__tests__/provider.test.ts 0/2
62
+ ❯ src/__tests__/analyzer.test.ts [queued]
63
+ ❯ src/__tests__/provider.test.ts [queued]
69
64
  ❯ src/__tests__/scoring.test.ts 0/2
70
65
 
71
66
  Test Files 3 passed (6)
72
- Tests 5 passed (9)
73
- Start at 09:20:57
74
- Duration 2.32s
75
- [?2026l[?2026h ✓ src/__tests__/scoring.test.ts (2 tests) 33ms
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
73
+ Rating: explosive
76
74
 
77
- src/__tests__/contract.test.ts 1/1
78
- ❯ src/__tests__/provider.test.ts 0/2
75
+ src/__tests__/analyzer.test.ts (2 tests) 27ms
76
+
77
+ ❯ src/__tests__/provider.test.ts 1/2
79
78
 
80
- Test Files 4 passed (6)
81
- Tests 8 passed (10)
82
- Start at 09:20:57
83
- Duration 2.42s
84
- [?2026l ✓ src/__tests__/contract.test.ts (1 test) 18ms
85
- ✓ src/__tests__/provider.test.ts (2 tests) 5ms
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
86
84
 
87
85
  Test Files 6 passed (6)
88
86
  Tests 10 passed (10)
89
- Start at 09:20:57
90
- Duration 2.55s (transform 1.28s, setup 0ms, import 8.72s, tests 94ms, environment 1ms)
87
+ Start at 07:13:58
88
+ Duration 1.69s (transform 1.58s, setup 0ms, import 5.75s, tests 137ms, environment 0ms)
91
89
 
92
90
  [?25h
@@ -1,5 +1,5 @@
1
1
 
2
2
  
3
- > @aiready/change-amplification@0.14.24 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.25",
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.1"
13
+ "@aiready/core": "0.29.5"
14
14
  },
15
15
  "devDependencies": {
16
16
  "@types/node": "^24.12.2",