@aiready/consistency 0.21.14 → 0.21.16

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.13 build /Users/pengcao/projects/aiready/packages/consistency
3
+ > @aiready/consistency@0.21.15 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
- CJS dist/index.js 35.98 KB
13
- CJS dist/cli.js 41.52 KB
14
- CJS ⚡️ Build success in 139ms
15
- ESM dist/index.mjs 3.29 KB
16
12
  ESM dist/cli.mjs 8.85 KB
17
- ESM dist/chunk-R2WYI6DR.mjs 31.08 KB
18
- ESM ⚡️ Build success in 148ms
13
+ ESM dist/chunk-72LXOO4N.mjs 32.33 KB
14
+ ESM dist/index.mjs 3.29 KB
15
+ ESM ⚡️ Build success in 59ms
16
+ CJS dist/cli.js 42.76 KB
17
+ CJS dist/index.js 37.22 KB
18
+ CJS ⚡️ Build success in 62ms
19
19
  DTS Build start
20
- DTS ⚡️ Build success in 3030ms
20
+ DTS ⚡️ Build success in 3739ms
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.13 format-check /Users/pengcao/projects/aiready/packages/consistency
3
+ > @aiready/consistency@0.21.15 format-check /Users/pengcao/projects/aiready/packages/consistency
4
4
  > prettier --check . --ignore-path ../../.prettierignore
5
5
 
6
6
  Checking formatting...
@@ -0,0 +1,34 @@
1
+
2
+ 
3
+ > @aiready/consistency@0.21.15 format /Users/pengcao/projects/aiready/packages/consistency
4
+ > prettier --write . --ignore-path ../../.prettierignore
5
+
6
+ .aireadyignoreCONTRIBUTING.mdCONTRIBUTING.md 68ms (unchanged)
7
+ LICENSEpackage.jsonpackage.json 7ms (unchanged)
8
+ README.mdREADME.md 4ms (unchanged)
9
+ src/__tests__/analyzer.test.tssrc/__tests__/analyzer.test.ts 26ms (unchanged)
10
+ src/__tests__/contract.test.tssrc/__tests__/contract.test.ts 6ms (unchanged)
11
+ src/__tests__/language-filter.test.tssrc/__tests__/language-filter.test.ts 3ms (unchanged)
12
+ src/__tests__/naming-constants.test.tssrc/__tests__/naming-constants.test.ts 6ms (unchanged)
13
+ src/__tests__/naming-dotted.test.tssrc/__tests__/naming-dotted.test.ts 4ms (unchanged)
14
+ src/__tests__/naming.test.tssrc/__tests__/naming.test.ts 5ms (unchanged)
15
+ src/__tests__/provider.test.tssrc/__tests__/provider.test.ts 1ms (unchanged)
16
+ src/__tests__/scope-tracker.test.tssrc/__tests__/scope-tracker.test.ts 13ms (unchanged)
17
+ src/__tests__/scoring.test.tssrc/__tests__/scoring.test.ts 11ms (unchanged)
18
+ src/analyzer.tssrc/analyzer.ts 14ms (unchanged)
19
+ src/analyzers/naming-ast.tssrc/analyzers/naming-ast.ts 11ms (unchanged)
20
+ src/analyzers/naming-constants.tssrc/analyzers/naming-constants.ts 7ms (unchanged)
21
+ src/analyzers/naming-generalized.tssrc/analyzers/naming-generalized.ts 17ms (unchanged)
22
+ src/analyzers/naming.tssrc/analyzers/naming.ts 5ms (unchanged)
23
+ src/analyzers/patterns.tssrc/analyzers/patterns.ts 4ms (unchanged)
24
+ src/cli.tssrc/cli.ts 14ms (unchanged)
25
+ src/index.tssrc/index.ts 1ms (unchanged)
26
+ src/provider.tssrc/provider.ts 2ms (unchanged)
27
+ src/scoring.tssrc/scoring.ts 5ms (unchanged)
28
+ src/types.tssrc/types.ts 3ms (unchanged)
29
+ src/utils/ast-parser.tssrc/utils/ast-parser.ts 7ms (unchanged)
30
+ src/utils/config-loader.tssrc/utils/config-loader.ts 2ms (unchanged)
31
+ src/utils/context-detector.tssrc/utils/context-detector.ts 9ms (unchanged)
32
+ src/utils/scope-tracker.tssrc/utils/scope-tracker.ts 20ms (unchanged)
33
+ tsconfig.jsontsconfig.json 1ms (unchanged)
34
+ tsconfig.tsbuildinfo
@@ -0,0 +1,5 @@
1
+
2
+ 
3
+ > @aiready/consistency@0.21.15 lint:fix /Users/pengcao/projects/aiready/packages/consistency
4
+ > eslint . --fix
5
+
@@ -1,5 +1,5 @@
1
1
 
2
2
  
3
- > @aiready/consistency@0.21.13 lint /Users/pengcao/projects/aiready/packages/consistency
3
+ > @aiready/consistency@0.21.15 lint /Users/pengcao/projects/aiready/packages/consistency
4
4
  > eslint src
5
5
 
@@ -1,29 +1,132 @@
1
1
 
2
2
  
3
- > @aiready/consistency@0.21.13 test /Users/pengcao/projects/aiready/packages/consistency
3
+ > @aiready/consistency@0.21.15 test /Users/pengcao/projects/aiready/packages/consistency
4
4
  > vitest run
5
5
 
6
6
  [?25l
7
7
   RUN  v4.0.18 /Users/pengcao/projects/aiready/packages/consistency
8
8
 
9
- ✓ src/__tests__/naming-constants.test.ts (14 tests) 5ms
10
- ✓ src/__tests__/scope-tracker.test.ts (11 tests) 51ms
11
- ✓ src/__tests__/scoring.test.ts (8 tests) 4ms
12
- ✓ src/__tests__/language-filter.test.ts (3 tests) 3ms
13
- ✓ src/__tests__/naming.test.ts (5 tests) 3ms
9
+ [?2026h
10
+  src/__tests__/contract.test.ts [queued]
11
+
12
+  Test Files 0 passed (9)
13
+  Tests 0 passed (0)
14
+  Start at 23:35:40
15
+  Duration 130ms
16
+ [?2026l[?2026h
17
+  ❯ src/__tests__/analyzer.test.ts [queued]
18
+  ❯ src/__tests__/contract.test.ts [queued]
19
+
20
+  Test Files 0 passed (9)
21
+  Tests 0 passed (0)
22
+  Start at 23:35:40
23
+  Duration 285ms
24
+ [?2026l[?2026h
25
+  ❯ src/__tests__/analyzer.test.ts [queued]
26
+  ❯ src/__tests__/contract.test.ts [queued]
27
+  ❯ src/__tests__/naming-constants.test.ts [queued]
28
+  ❯ src/__tests__/naming-dotted.test.ts [queued]
29
+  ❯ src/__tests__/naming.test.ts [queued]
30
+  ❯ src/__tests__/provider.test.ts [queued]
31
+  ❯ src/__tests__/scope-tracker.test.ts [queued]
32
+  ❯ src/__tests__/scoring.test.ts [queued]
33
+
34
+  Test Files 0 passed (9)
35
+  Tests 0 passed (0)
36
+  Start at 23:35:40
37
+  Duration 544ms
38
+ [?2026l[?2026h ✓ src/__tests__/scope-tracker.test.ts (11 tests) 8ms
39
+
40
+  ❯ src/__tests__/analyzer.test.ts [queued]
41
+  ❯ src/__tests__/contract.test.ts [queued]
42
+  ❯ src/__tests__/language-filter.test.ts [queued]
43
+  ❯ src/__tests__/naming-constants.test.ts 0/14
44
+  ❯ src/__tests__/naming-dotted.test.ts [queued]
45
+  ❯ src/__tests__/naming.test.ts [queued]
46
+  ❯ src/__tests__/provider.test.ts [queued]
47
+  ❯ src/__tests__/scoring.test.ts [queued]
48
+
49
+  Test Files 1 passed (9)
50
+  Tests 11 passed (25)
51
+  Start at 23:35:40
52
+  Duration 644ms
53
+ [?2026l[?2026h ✓ src/__tests__/naming-constants.test.ts (14 tests) 3ms
54
+
55
+  ❯ src/__tests__/analyzer.test.ts [queued]
56
+  ❯ src/__tests__/contract.test.ts [queued]
57
+  ❯ src/__tests__/language-filter.test.ts [queued]
58
+  ❯ src/__tests__/naming-dotted.test.ts [queued]
59
+  ❯ src/__tests__/naming.test.ts [queued]
60
+  ❯ src/__tests__/provider.test.ts [queued]
61
+  ❯ src/__tests__/scoring.test.ts [queued]
62
+
63
+  Test Files 2 passed (9)
64
+  Tests 25 passed (25)
65
+  Start at 23:35:40
66
+  Duration 948ms
67
+ [?2026l[?2026h
68
+  ❯ src/__tests__/analyzer.test.ts [queued]
69
+  ❯ src/__tests__/contract.test.ts [queued]
70
+  ❯ src/__tests__/language-filter.test.ts 0/3
71
+  ❯ src/__tests__/naming-dotted.test.ts [queued]
72
+  ❯ src/__tests__/naming.test.ts [queued]
73
+  ❯ src/__tests__/provider.test.ts [queued]
74
+  ❯ src/__tests__/scoring.test.ts [queued]
75
+
76
+  Test Files 2 passed (9)
77
+  Tests 25 passed (28)
78
+  Start at 23:35:40
79
+  Duration 1.26s
80
+ [?2026l[?2026h ✓ src/__tests__/language-filter.test.ts (3 tests) 3ms
81
+ ✓ src/__tests__/naming.test.ts (5 tests) 4ms
14
82
  ✓ src/__tests__/provider.test.ts (2 tests) 2ms
83
+ ✓ src/__tests__/scoring.test.ts (8 tests) 3ms
15
84
  stdout | src/__tests__/contract.test.ts > Consistency Spoke Contract Validation > should produce output matching the SpokeOutput contract
16
85
  Consistency: Skipping unparseable file file1.ts: ENOENT: no such file or directory, open 'file1.ts'
17
86
 
18
- ✓ src/__tests__/contract.test.ts (1 test) 65ms
19
- ✓ src/__tests__/analyzer.test.ts (22 tests) 1400ms
20
- ✓ should analyze naming issues  680ms
21
- ✓ src/__tests__/naming-dotted.test.ts (2 tests) 1848ms
22
- ✓ should NOT flag dotted identifiers in Python imports  1844ms
87
+ ✓ src/__tests__/contract.test.ts (1 test) 26ms
88
+
89
+
90
+  src/__tests__/analyzer.test.ts 1/22
91
+ src/__tests__/naming-dotted.test.ts 0/2
92
+
93
+  Test Files 7 passed (9)
94
+  Tests 45 passed (68)
95
+  Start at 23:35:40
96
+  Duration 1.46s
97
+ [?2026l[?2026h
98
+
99
+  ❯ src/__tests__/analyzer.test.ts 2/22
100
+  ❯ src/__tests__/naming-dotted.test.ts 0/2
101
+
102
+  Test Files 7 passed (9)
103
+  Tests 46 passed (68)
104
+  Start at 23:35:40
105
+  Duration 1.56s
106
+ [?2026l[?2026h
107
+
108
+  ❯ src/__tests__/analyzer.test.ts 3/22
109
+  ❯ src/__tests__/naming-dotted.test.ts 0/2
110
+
111
+  Test Files 7 passed (9)
112
+  Tests 47 passed (68)
113
+  Start at 23:35:40
114
+  Duration 1.66s
115
+ [?2026l[?2026h ✓ src/__tests__/analyzer.test.ts (22 tests) 371ms
116
+
117
+
118
+  ❯ src/__tests__/naming-dotted.test.ts 1/2
119
+
120
+  Test Files 8 passed (9)
121
+  Tests 67 passed (68)
122
+  Start at 23:35:40
123
+  Duration 1.97s
124
+ [?2026l ✓ src/__tests__/naming-dotted.test.ts (2 tests) 635ms
125
+ ✓ should NOT flag dotted identifiers in Python imports  632ms
23
126
 
24
127
   Test Files  9 passed (9)
25
128
   Tests  68 passed (68)
26
-  Start at  20:53:43
27
-  Duration  5.24s (transform 4.23s, setup 0ms, import 17.64s, tests 3.38s, environment 1ms)
129
+  Start at  23:35:40
130
+  Duration  1.99s (transform 1.90s, setup 0ms, import 7.04s, tests 1.06s, environment 1ms)
28
131
 
29
132
  [?25h
@@ -1,5 +1,5 @@
1
1
 
2
2
  
3
- > @aiready/consistency@0.21.13 type-check /Users/pengcao/projects/aiready/packages/consistency
3
+ > @aiready/consistency@0.21.15 type-check /Users/pengcao/projects/aiready/packages/consistency
4
4
  > tsc --noEmit
5
5