@aiready/change-amplification 0.14.24 → 0.14.26

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,23 +1,24 @@
1
-
2
- > @aiready/change-amplification@0.14.23 build /Users/pengcao/projects/aiready/packages/change-amplification
3
- > tsup src/index.ts src/cli.ts --format cjs,esm --dts
4
-
5
- CLI Building entry: src/cli.ts, src/index.ts
6
- CLI Using tsconfig: tsconfig.json
7
- CLI tsup v8.5.1
8
- CLI Target: es2020
9
- CJS Build start
10
- ESM Build start
11
- ESM dist/cli.mjs 2.41 KB
12
- ESM dist/index.mjs 916.00 B
13
- ESM dist/chunk-KUIEB4UN.mjs 5.32 KB
14
- ESM ⚡️ Build success in 31ms
15
- CJS dist/cli.js 8.99 KB
16
- CJS dist/index.js 7.53 KB
17
- CJS ⚡️ Build success in 33ms
18
- DTS Build start
19
- DTS ⚡️ Build success in 11945ms
20
- DTS dist/cli.d.ts 266.00 B
21
- DTS dist/index.d.ts 937.00 B
22
- DTS dist/cli.d.mts 266.00 B
23
- DTS dist/index.d.mts 937.00 B
1
+
2
+ 
3
+ > @aiready/change-amplification@0.14.25 build /Users/pengcao/projects/aiready/packages/change-amplification
4
+ > tsup src/index.ts src/cli.ts --format cjs,esm --dts
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/index.js 7.53 KB
13
+ CJS dist/cli.js 8.99 KB
14
+ CJS ⚡️ Build success in 86ms
15
+ ESM dist/cli.mjs 2.41 KB
16
+ ESM dist/index.mjs 916.00 B
17
+ 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
@@ -1,6 +1,7 @@
1
-
2
- > @aiready/change-amplification@0.14.23 format-check /Users/pengcao/projects/aiready/packages/change-amplification
3
- > prettier --check . --ignore-path ../../.prettierignore
4
-
5
- Checking formatting...
6
- All matched files use Prettier code style!
1
+
2
+ 
3
+ > @aiready/change-amplification@0.14.25 format-check /Users/pengcao/projects/aiready/packages/change-amplification
4
+ > prettier --check . --ignore-path ../../.prettierignore
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!
@@ -0,0 +1,20 @@
1
+
2
+ 
3
+ > @aiready/change-amplification@0.14.25 format /Users/pengcao/projects/aiready/packages/change-amplification
4
+ > prettier --write . --ignore-path ../../.prettierignore
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)
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)
@@ -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.25 lint:fix /Users/pengcao/projects/aiready/packages/change-amplification
4
4
  > eslint . --fix
5
5
 
@@ -1,4 +1,5 @@
1
-
2
- > @aiready/change-amplification@0.14.23 lint /Users/pengcao/projects/aiready/packages/change-amplification
3
- > eslint src --ext .ts
4
-
1
+
2
+ 
3
+ > @aiready/change-amplification@0.14.25 lint /Users/pengcao/projects/aiready/packages/change-amplification
4
+ > eslint src --ext .ts
5
+
@@ -1,23 +1,76 @@
1
-
2
- > @aiready/change-amplification@0.14.23 test /Users/pengcao/projects/aiready/packages/change-amplification
3
- > vitest run
4
-
5
-
6
-  RUN  v4.1.2 /Users/pengcao/projects/aiready/packages/change-amplification
7
-
8
- ✓ src/__tests__/dummy.test.ts (1 test) 3ms
9
- ✓ src/__tests__/scoring.test.ts (2 tests) 5ms
10
- ✓ src/__tests__/provider.test.ts (2 tests) 3ms
11
- stdout | src/__tests__/analyzer.test.ts > analyzeChangeAmplification reproduction > should see how it gets to 0
12
- Resulting score for highly coupled: 27
13
- Rating: explosive
14
-
15
- ✓ src/__tests__/analyzer.test.ts (2 tests) 9ms
16
- ✓ src/__tests__/contract.test.ts (1 test) 18ms
17
- ✓ src/__tests__/cli.test.ts (2 tests) 5ms
18
-
19
-  Test Files  6 passed (6)
20
-  Tests  10 passed (10)
21
-  Start at  14:49:08
22
-  Duration  1.70s (transform 681ms, setup 0ms, import 6.09s, tests 43ms, environment 0ms)
23
-
1
+
2
+ 
3
+ > @aiready/change-amplification@0.14.25 test /Users/pengcao/projects/aiready/packages/change-amplification
4
+ > vitest run
5
+
6
+ [?25l
7
+  RUN  v4.1.4 /Users/pengcao/projects/aiready/packages/change-amplification
8
+
9
+ [?2026h
10
+  src/__tests__/provider.test.ts [queued]
11
+
12
+  Test Files 0 passed (6)
13
+  Tests 0 passed (0)
14
+  Start at 18:54:43
15
+  Duration 203ms
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
40
+ [?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
67
+ Rating: explosive
68
+
69
+ ✓ src/__tests__/analyzer.test.ts (2 tests) 12ms
70
+
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)
75
+
76
+ [?25h
@@ -1,4 +1,5 @@
1
-
2
- > @aiready/change-amplification@0.14.23 type-check /Users/pengcao/projects/aiready/packages/change-amplification
3
- > tsc --noEmit
4
-
1
+
2
+ 
3
+ > @aiready/change-amplification@0.14.25 type-check /Users/pengcao/projects/aiready/packages/change-amplification
4
+ > tsc --noEmit
5
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiready/change-amplification",
3
- "version": "0.14.24",
3
+ "version": "0.14.26",
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.27"
13
+ "@aiready/core": "0.29.4"
14
14
  },
15
15
  "devDependencies": {
16
16
  "@types/node": "^24.12.2",