@aiready/consistency 0.21.22 → 0.21.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/consistency@0.21.21 build /Users/pengcao/projects/aiready/packages/consistency
3
+ > @aiready/consistency@0.21.22 build /Users/pengcao/projects/aiready/packages/consistency
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
- ESM dist/cli.mjs 8.85 KB
13
- ESM dist/index.mjs 3.29 KB
14
- ESM dist/chunk-72LXOO4N.mjs 32.33 KB
15
- ESM ⚡️ Build success in 72ms
16
12
  CJS dist/index.js 37.22 KB
17
13
  CJS dist/cli.js 42.76 KB
18
- CJS ⚡️ Build success in 72ms
14
+ CJS ⚡️ Build success in 390ms
15
+ ESM dist/cli.mjs 8.85 KB
16
+ ESM dist/chunk-72LXOO4N.mjs 32.33 KB
17
+ ESM dist/index.mjs 3.29 KB
18
+ ESM ⚡️ Build success in 427ms
19
19
  DTS Build start
20
- DTS ⚡️ Build success in 7596ms
20
+ DTS ⚡️ Build success in 5027ms
21
21
  DTS dist/cli.d.ts 20.00 B
22
22
  DTS dist/index.d.ts 3.96 KB
23
23
  DTS dist/cli.d.mts 20.00 B
@@ -1,6 +1,6 @@
1
1
 
2
2
  
3
- > @aiready/consistency@0.21.21 format-check /Users/pengcao/projects/aiready/packages/consistency
3
+ > @aiready/consistency@0.21.22 format-check /Users/pengcao/projects/aiready/packages/consistency
4
4
  > prettier --check . --ignore-path ../../.prettierignore
5
5
 
6
6
  Checking formatting...
@@ -1,23 +1,33 @@
1
1
 
2
2
  
3
- > @aiready/consistency@0.21.21 test /Users/pengcao/projects/aiready/packages/consistency
3
+ > @aiready/consistency@0.21.22 test /Users/pengcao/projects/aiready/packages/consistency
4
4
  > vitest run
5
5
 
6
6
  [?25l
7
7
   RUN  v4.1.2 /Users/pengcao/projects/aiready/packages/consistency
8
8
 
9
9
  [?2026h
10
-  ❯ src/__tests__/analyzer.test.ts [queued]
10
+  ❯ src/__tests__/scope-tracker.test.ts [queued]
11
11
 
12
12
   Test Files 0 passed (9)
13
13
   Tests 0 passed (0)
14
-  Start at 19:24:42
15
-  Duration 417ms
14
+  Start at 20:46:41
15
+  Duration 545ms
16
16
  [?2026l[?2026h
17
17
   ❯ src/__tests__/analyzer.test.ts [queued]
18
+  ❯ src/__tests__/naming-constants.test.ts [queued]
19
+  ❯ src/__tests__/scope-tracker.test.ts [queued]
20
+
21
+  Test Files 0 passed (9)
22
+  Tests 0 passed (0)
23
+  Start at 20:46:41
24
+  Duration 649ms
25
+ [?2026l[?2026h
26
+  ❯ src/__tests__/analyzer.test.ts [queued]
18
27
   ❯ src/__tests__/contract.test.ts [queued]
19
28
   ❯ src/__tests__/language-filter.test.ts [queued]
20
29
   ❯ src/__tests__/naming-constants.test.ts [queued]
30
+  ❯ src/__tests__/naming-dotted.test.ts [queued]
21
31
   ❯ src/__tests__/naming.test.ts [queued]
22
32
   ❯ src/__tests__/provider.test.ts [queued]
23
33
   ❯ src/__tests__/scope-tracker.test.ts [queued]
@@ -25,26 +35,24 @@
25
35
 
26
36
   Test Files 0 passed (9)
27
37
   Tests 0 passed (0)
28
-  Start at 19:24:42
29
-  Duration 518ms
30
- [?2026l[?2026h
38
+  Start at 20:46:41
39
+  Duration 956ms
40
+ [?2026l[?2026h ✓ src/__tests__/scope-tracker.test.ts (11 tests) 5ms
41
+
31
42
   ❯ src/__tests__/analyzer.test.ts [queued]
32
43
   ❯ src/__tests__/contract.test.ts [queued]
33
44
   ❯ src/__tests__/language-filter.test.ts [queued]
34
-  ❯ src/__tests__/naming-constants.test.ts [queued]
45
+  ❯ src/__tests__/naming-constants.test.ts 1/14
35
46
   ❯ src/__tests__/naming-dotted.test.ts [queued]
36
47
   ❯ src/__tests__/naming.test.ts [queued]
37
48
   ❯ src/__tests__/provider.test.ts [queued]
38
-  ❯ src/__tests__/scope-tracker.test.ts 0/11
39
49
   ❯ src/__tests__/scoring.test.ts [queued]
40
50
 
41
-  Test Files 0 passed (9)
42
-  Tests 0 passed (11)
43
-  Start at 19:24:42
44
-  Duration 730ms
45
- [?2026l[?2026h ✓ src/__tests__/scope-tracker.test.ts (11 tests) 5ms
46
- ✓ src/__tests__/naming-constants.test.ts (14 tests) 12ms
47
-
51
+  Test Files 1 passed (9)
52
+  Tests 12 passed (25)
53
+  Start at 20:46:41
54
+  Duration 1.12s
55
+ [?2026l[?2026h ✓ src/__tests__/naming-constants.test.ts (14 tests) 4ms
48
56
 
49
57
   ❯ src/__tests__/analyzer.test.ts [queued]
50
58
   ❯ src/__tests__/contract.test.ts [queued]
@@ -56,55 +64,54 @@
56
64
 
57
65
   Test Files 2 passed (9)
58
66
   Tests 25 passed (25)
59
-  Start at 19:24:42
60
-  Duration 932ms
61
- [?2026l[?2026h
62
-
67
+  Start at 20:46:41
68
+  Duration 1.98s
69
+ [?2026l[?2026h
63
70
   ❯ src/__tests__/analyzer.test.ts [queued]
64
71
   ❯ src/__tests__/contract.test.ts [queued]
65
72
   ❯ src/__tests__/language-filter.test.ts [queued]
66
73
   ❯ src/__tests__/naming-dotted.test.ts [queued]
67
74
   ❯ src/__tests__/naming.test.ts [queued]
68
75
   ❯ src/__tests__/provider.test.ts [queued]
69
-  ❯ src/__tests__/scoring.test.ts 0/8
76
+  ❯ src/__tests__/scoring.test.ts [queued]
70
77
 
71
78
   Test Files 2 passed (9)
72
-  Tests 25 passed (33)
73
-  Start at 19:24:42
74
-  Duration 1.14s
75
- [?2026l[?2026h ✓ src/__tests__/scoring.test.ts (8 tests) 3ms
76
-
77
-
79
+  Tests 25 passed (25)
80
+  Start at 20:46:41
81
+  Duration 2.93s
82
+ [?2026l[?2026h
78
83
   ❯ src/__tests__/analyzer.test.ts [queued]
79
84
   ❯ src/__tests__/contract.test.ts [queued]
80
85
   ❯ src/__tests__/language-filter.test.ts [queued]
81
-  ❯ src/__tests__/naming-dotted.test.ts [queued]
82
-  ❯ src/__tests__/naming.test.ts 0/5
86
+  ❯ src/__tests__/naming-dotted.test.ts 0/2
87
+  ❯ src/__tests__/naming.test.ts [queued]
83
88
   ❯ src/__tests__/provider.test.ts [queued]
89
+  ❯ src/__tests__/scoring.test.ts [queued]
84
90
 
85
-  Test Files 3 passed (9)
86
-  Tests 33 passed (38)
87
-  Start at 19:24:42
88
-  Duration 1.34s
89
- [?2026l[?2026h ✓ src/__tests__/naming.test.ts (5 tests) 49ms
90
- ✓ src/__tests__/language-filter.test.ts (3 tests) 5ms
91
-
91
+  Test Files 2 passed (9)
92
+  Tests 25 passed (27)
93
+  Start at 20:46:41
94
+  Duration 3.24s
95
+ [?2026l[?2026h ✓ src/__tests__/scoring.test.ts (8 tests) 9ms
96
+ ✓ src/__tests__/naming.test.ts (5 tests) 7ms
92
97
 
93
98
 
94
-  ❯ src/__tests__/analyzer.test.ts 0/22
99
+  ❯ src/__tests__/analyzer.test.ts [queued]
95
100
   ❯ src/__tests__/contract.test.ts [queued]
101
+  ❯ src/__tests__/language-filter.test.ts 1/3
96
102
   ❯ src/__tests__/naming-dotted.test.ts 0/2
97
-  ❯ src/__tests__/provider.test.ts 1/2
103
+  ❯ src/__tests__/provider.test.ts [queued]
98
104
 
99
-  Test Files 5 passed (9)
100
-  Tests 42 passed (67)
101
-  Start at 19:24:42
102
-  Duration 1.44s
103
- [?2026l[?2026h ✓ src/__tests__/provider.test.ts (2 tests) 5ms
105
+  Test Files 4 passed (9)
106
+  Tests 39 passed (43)
107
+  Start at 20:46:41
108
+  Duration 3.34s
109
+ [?2026l[?2026h ✓ src/__tests__/language-filter.test.ts (3 tests) 4ms
110
+ ✓ src/__tests__/provider.test.ts (2 tests) 2ms
104
111
  stdout | src/__tests__/contract.test.ts > Consistency Spoke Contract Validation > should produce output matching the SpokeOutput contract
105
112
  Consistency: Skipping unparseable file file1.ts: ENOENT: no such file or directory, open 'file1.ts'
106
113
 
107
- ✓ src/__tests__/contract.test.ts (1 test) 29ms
114
+ ✓ src/__tests__/contract.test.ts (1 test) 17ms
108
115
 
109
116
 
110
117
   ❯ src/__tests__/analyzer.test.ts 1/22
@@ -112,8 +119,8 @@
112
119
 
113
120
   Test Files 7 passed (9)
114
121
   Tests 45 passed (68)
115
-  Start at 19:24:42
116
-  Duration 1.54s
122
+  Start at 20:46:41
123
+  Duration 3.87s
117
124
  [?2026l[?2026h
118
125
 
119
126
   ❯ src/__tests__/analyzer.test.ts 2/22
@@ -121,31 +128,50 @@
121
128
 
122
129
   Test Files 7 passed (9)
123
130
   Tests 46 passed (68)
124
-  Start at 19:24:42
125
-  Duration 1.75s
126
- [?2026l[?2026h ✓ src/__tests__/analyzer.test.ts (22 tests) 377ms
131
+  Start at 20:46:41
132
+  Duration 4.07s
133
+ [?2026l[?2026h
134
+
135
+  ❯ src/__tests__/analyzer.test.ts 13/22
136
+  ❯ src/__tests__/naming-dotted.test.ts 0/2
137
+
138
+  Test Files 7 passed (9)
139
+  Tests 57 passed (68)
140
+  Start at 20:46:41
141
+  Duration 4.17s
142
+ [?2026l[?2026h
143
+
144
+  ❯ src/__tests__/analyzer.test.ts 20/22
145
+  ❯ src/__tests__/naming-dotted.test.ts 0/2
146
+
147
+  Test Files 7 passed (9)
148
+  Tests 64 passed (68)
149
+  Start at 20:46:41
150
+  Duration 4.27s
151
+ [?2026l[?2026h ✓ src/__tests__/analyzer.test.ts (22 tests) 902ms
152
+ ✓ should analyze naming issues  543ms
127
153
 
128
154
 
129
155
   ❯ src/__tests__/naming-dotted.test.ts 0/2
130
156
 
131
157
   Test Files 8 passed (9)
132
158
   Tests 66 passed (68)
133
-  Start at 19:24:42
134
-  Duration 1.95s
159
+  Start at 20:46:41
160
+  Duration 4.98s
135
161
  [?2026l[?2026h
136
162
 
137
163
   ❯ src/__tests__/naming-dotted.test.ts 1/2
138
164
 
139
165
   Test Files 8 passed (9)
140
166
   Tests 67 passed (68)
141
-  Start at 19:24:42
142
-  Duration 2.35s
143
- [?2026l ✓ src/__tests__/naming-dotted.test.ts (2 tests) 978ms
144
- ✓ should NOT flag dotted identifiers in Python imports  974ms
167
+  Start at 20:46:41
168
+  Duration 5.29s
169
+ [?2026l ✓ src/__tests__/naming-dotted.test.ts (2 tests) 2116ms
170
+ ✓ should NOT flag dotted identifiers in Python imports  2058ms
145
171
 
146
172
   Test Files  9 passed (9)
147
173
   Tests  68 passed (68)
148
-  Start at  19:24:42
149
-  Duration  2.37s (transform 2.02s, setup 0ms, import 6.51s, tests 1.46s, environment 1ms)
174
+  Start at  20:46:41
175
+  Duration  5.43s (transform 6.19s, setup 0ms, import 19.10s, tests 3.07s, environment 4ms)
150
176
 
151
177
  [?25h
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiready/consistency",
3
- "version": "0.21.22",
3
+ "version": "0.21.23",
4
4
  "description": "Detects consistency issues in naming, patterns, and architecture that confuse AI models",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -43,7 +43,7 @@
43
43
  "@typescript-eslint/typescript-estree": "^8.58.0",
44
44
  "chalk": "^5.6.2",
45
45
  "commander": "^14.0.3",
46
- "@aiready/core": "0.24.25"
46
+ "@aiready/core": "0.24.26"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@types/node": "^24.12.2",