@aiready/consistency 0.21.22 → 0.21.24

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,23 @@
1
-
2
- 
3
- > @aiready/consistency@0.21.21 build /Users/pengcao/projects/aiready/packages/consistency
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
- 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
- CJS dist/index.js 37.22 KB
17
- CJS dist/cli.js 42.76 KB
18
- CJS ⚡️ Build success in 72ms
19
- DTS Build start
20
- DTS ⚡️ Build success in 7596ms
21
- DTS dist/cli.d.ts 20.00 B
22
- DTS dist/index.d.ts 3.96 KB
23
- DTS dist/cli.d.mts 20.00 B
24
- DTS dist/index.d.mts 3.96 KB
1
+
2
+ > @aiready/consistency@0.21.23 build /Users/pengcao/projects/aiready/packages/consistency
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
+ CJS dist/index.js 37.22 KB
12
+ CJS dist/cli.js 42.76 KB
13
+ CJS ⚡️ Build success in 59ms
14
+ ESM dist/cli.mjs 8.85 KB
15
+ ESM dist/index.mjs 3.29 KB
16
+ ESM dist/chunk-72LXOO4N.mjs 32.33 KB
17
+ ESM ⚡️ Build success in 60ms
18
+ DTS Build start
19
+ DTS ⚡️ Build success in 13441ms
20
+ DTS dist/cli.d.ts 20.00 B
21
+ DTS dist/index.d.ts 3.96 KB
22
+ DTS dist/cli.d.mts 20.00 B
23
+ DTS dist/index.d.mts 3.96 KB
@@ -1,7 +1,6 @@
1
-
2
- 
3
- > @aiready/consistency@0.21.21 format-check /Users/pengcao/projects/aiready/packages/consistency
4
- > prettier --check . --ignore-path ../../.prettierignore
5
-
6
- Checking formatting...
7
- .aireadyignoreCONTRIBUTING.mdLICENSEpackage.jsonREADME.mdsrc/__tests__/analyzer.test.tssrc/__tests__/contract.test.tssrc/__tests__/language-filter.test.tssrc/__tests__/naming-constants.test.tssrc/__tests__/naming-dotted.test.tssrc/__tests__/naming.test.tssrc/__tests__/provider.test.tssrc/__tests__/scope-tracker.test.tssrc/__tests__/scoring.test.tssrc/analyzer.tssrc/analyzers/naming-ast.tssrc/analyzers/naming-constants.tssrc/analyzers/naming-generalized.tssrc/analyzers/naming.tssrc/analyzers/patterns.tssrc/cli.tssrc/index.tssrc/provider.tssrc/scoring.tssrc/types.tssrc/utils/ast-parser.tssrc/utils/config-loader.tssrc/utils/context-detector.tssrc/utils/scope-tracker.tstsconfig.jsontsconfig.tsbuildinfoAll matched files use Prettier code style!
1
+
2
+ > @aiready/consistency@0.21.23 format-check /Users/pengcao/projects/aiready/packages/consistency
3
+ > prettier --check . --ignore-path ../../.prettierignore
4
+
5
+ Checking formatting...
6
+ All matched files use Prettier code style!
@@ -1,5 +1,4 @@
1
-
2
- 
3
- > @aiready/consistency@0.21.21 lint /Users/pengcao/projects/aiready/packages/consistency
4
- > eslint src
5
-
1
+
2
+ > @aiready/consistency@0.21.23 lint /Users/pengcao/projects/aiready/packages/consistency
3
+ > eslint src
4
+
@@ -1,151 +1,28 @@
1
-
2
- 
3
- > @aiready/consistency@0.21.21 test /Users/pengcao/projects/aiready/packages/consistency
4
- > vitest run
5
-
6
- [?25l
7
-  RUN  v4.1.2 /Users/pengcao/projects/aiready/packages/consistency
8
-
9
- [?2026h
10
-  ❯ src/__tests__/analyzer.test.ts [queued]
11
-
12
-  Test Files 0 passed (9)
13
-  Tests 0 passed (0)
14
-  Start at 19:24:42
15
-  Duration 417ms
16
- [?2026l[?2026h
17
-  ❯ src/__tests__/analyzer.test.ts [queued]
18
-  ❯ src/__tests__/contract.test.ts [queued]
19
-  src/__tests__/language-filter.test.ts [queued]
20
-  ❯ src/__tests__/naming-constants.test.ts [queued]
21
-  ❯ src/__tests__/naming.test.ts [queued]
22
-  src/__tests__/provider.test.ts [queued]
23
-  ❯ src/__tests__/scope-tracker.test.ts [queued]
24
-  src/__tests__/scoring.test.ts [queued]
25
-
26
-  Test Files 0 passed (9)
27
-  Tests 0 passed (0)
28
-  Start at 19:24:42
29
-  Duration 518ms
30
- [?2026l[?2026h
31
-  ❯ src/__tests__/analyzer.test.ts [queued]
32
-  ❯ src/__tests__/contract.test.ts [queued]
33
-  ❯ src/__tests__/language-filter.test.ts [queued]
34
-  ❯ src/__tests__/naming-constants.test.ts [queued]
35
-  ❯ src/__tests__/naming-dotted.test.ts [queued]
36
-  ❯ src/__tests__/naming.test.ts [queued]
37
-  ❯ src/__tests__/provider.test.ts [queued]
38
-  ❯ src/__tests__/scope-tracker.test.ts 0/11
39
-  ❯ src/__tests__/scoring.test.ts [queued]
40
-
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
-
48
-
49
-  ❯ src/__tests__/analyzer.test.ts [queued]
50
-  ❯ src/__tests__/contract.test.ts [queued]
51
-  ❯ src/__tests__/language-filter.test.ts [queued]
52
-  ❯ src/__tests__/naming-dotted.test.ts [queued]
53
-  ❯ src/__tests__/naming.test.ts [queued]
54
-  ❯ src/__tests__/provider.test.ts [queued]
55
-  ❯ src/__tests__/scoring.test.ts [queued]
56
-
57
-  Test Files 2 passed (9)
58
-  Tests 25 passed (25)
59
-  Start at 19:24:42
60
-  Duration 932ms
61
- [?2026l[?2026h
62
-
63
-  ❯ src/__tests__/analyzer.test.ts [queued]
64
-  ❯ src/__tests__/contract.test.ts [queued]
65
-  ❯ src/__tests__/language-filter.test.ts [queued]
66
-  ❯ src/__tests__/naming-dotted.test.ts [queued]
67
-  ❯ src/__tests__/naming.test.ts [queued]
68
-  ❯ src/__tests__/provider.test.ts [queued]
69
-  ❯ src/__tests__/scoring.test.ts 0/8
70
-
71
-  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
-
78
-  ❯ src/__tests__/analyzer.test.ts [queued]
79
-  ❯ src/__tests__/contract.test.ts [queued]
80
-  ❯ src/__tests__/language-filter.test.ts [queued]
81
-  ❯ src/__tests__/naming-dotted.test.ts [queued]
82
-  ❯ src/__tests__/naming.test.ts 0/5
83
-  ❯ src/__tests__/provider.test.ts [queued]
84
-
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
-
92
-
93
-
94
-  ❯ src/__tests__/analyzer.test.ts 0/22
95
-  ❯ src/__tests__/contract.test.ts [queued]
96
-  ❯ src/__tests__/naming-dotted.test.ts 0/2
97
-  ❯ src/__tests__/provider.test.ts 1/2
98
-
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
104
- stdout | src/__tests__/contract.test.ts > Consistency Spoke Contract Validation > should produce output matching the SpokeOutput contract
105
- Consistency: Skipping unparseable file file1.ts: ENOENT: no such file or directory, open 'file1.ts'
106
-
107
- ✓ src/__tests__/contract.test.ts (1 test) 29ms
108
-
109
-
110
-  ❯ src/__tests__/analyzer.test.ts 1/22
111
-  ❯ src/__tests__/naming-dotted.test.ts 0/2
112
-
113
-  Test Files 7 passed (9)
114
-  Tests 45 passed (68)
115
-  Start at 19:24:42
116
-  Duration 1.54s
117
- [?2026l[?2026h
118
-
119
-  ❯ src/__tests__/analyzer.test.ts 2/22
120
-  ❯ src/__tests__/naming-dotted.test.ts 0/2
121
-
122
-  Test Files 7 passed (9)
123
-  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
127
-
128
-
129
-  ❯ src/__tests__/naming-dotted.test.ts 0/2
130
-
131
-  Test Files 8 passed (9)
132
-  Tests 66 passed (68)
133
-  Start at 19:24:42
134
-  Duration 1.95s
135
- [?2026l[?2026h
136
-
137
-  ❯ src/__tests__/naming-dotted.test.ts 1/2
138
-
139
-  Test Files 8 passed (9)
140
-  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
145
-
146
-  Test Files  9 passed (9)
147
-  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)
150
-
151
- [?25h
1
+
2
+ > @aiready/consistency@0.21.23 test /Users/pengcao/projects/aiready/packages/consistency
3
+ > vitest run
4
+
5
+
6
+  RUN  v4.1.2 /Users/pengcao/projects/aiready/packages/consistency
7
+
8
+ ✓ src/__tests__/naming-constants.test.ts (14 tests) 7ms
9
+ ✓ src/__tests__/scope-tracker.test.ts (11 tests) 9ms
10
+ ✓ src/__tests__/language-filter.test.ts (3 tests) 7ms
11
+ ✓ src/__tests__/provider.test.ts (2 tests) 5ms
12
+ stdout | src/__tests__/contract.test.ts > Consistency Spoke Contract Validation > should produce output matching the SpokeOutput contract
13
+ Consistency: Skipping unparseable file file1.ts: ENOENT: no such file or directory, open 'file1.ts'
14
+
15
+ ✓ src/__tests__/naming.test.ts (5 tests) 5ms
16
+ ✓ src/__tests__/contract.test.ts (1 test) 116ms
17
+ ✓ src/__tests__/scoring.test.ts (8 tests) 127ms
18
+ ✓ src/__tests__/analyzer.test.ts (22 tests) 2071ms
19
+ ✓ should analyze naming issues  1037ms
20
+ ✓ should NOT flag SCREAMING_SNAKE_CASE constants as naming issues  449ms
21
+ ✓ src/__tests__/naming-dotted.test.ts (2 tests) 4403ms
22
+ ✓ should NOT flag dotted identifiers in Python imports  4398ms
23
+
24
+  Test Files  9 passed (9)
25
+  Tests  68 passed (68)
26
+  Start at  14:49:10
27
+  Duration  8.01s (transform 4.69s, setup 0ms, import 21.64s, tests 6.75s, environment 1ms)
28
+
@@ -1,5 +1,4 @@
1
-
2
- 
3
- > @aiready/consistency@0.21.21 type-check /Users/pengcao/projects/aiready/packages/consistency
4
- > tsc --noEmit
5
-
1
+
2
+ > @aiready/consistency@0.21.23 type-check /Users/pengcao/projects/aiready/packages/consistency
3
+ > tsc --noEmit
4
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiready/consistency",
3
- "version": "0.21.22",
3
+ "version": "0.21.24",
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,13 +43,13 @@
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.27"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@types/node": "^24.12.2",
50
50
  "tsup": "^8.5.1",
51
51
  "typescript": "^6.0.2",
52
- "vitest": "^4.1.2"
52
+ "vitest": "^4.1.4"
53
53
  },
54
54
  "engines": {
55
55
  "node": ">=18.0.0"