@aiready/consistency 0.6.1 → 0.6.3

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.6.1 build /Users/pengcao/projects/aiready/packages/consistency
3
+ > @aiready/consistency@0.6.3 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/cli.js 44.61 KB
13
- CJS dist/index.js 49.65 KB
14
- CJS ⚡️ Build success in 57ms
15
- ESM dist/cli.mjs 8.54 KB
16
- ESM dist/chunk-LD3CHHU2.mjs 34.36 KB
12
+ CJS dist/cli.js 45.11 KB
13
+ CJS dist/index.js 50.15 KB
14
+ CJS ⚡️ Build success in 54ms
17
15
  ESM dist/index.mjs 14.04 KB
18
- ESM ⚡️ Build success in 57ms
16
+ ESM dist/cli.mjs 8.55 KB
17
+ ESM dist/chunk-ON73WHHU.mjs 34.85 KB
18
+ ESM ⚡️ Build success in 54ms
19
19
  DTS Build start
20
- DTS ⚡️ Build success in 1045ms
20
+ DTS ⚡️ Build success in 1007ms
21
21
  DTS dist/cli.d.ts 20.00 B
22
22
  DTS dist/index.d.ts 2.73 KB
23
23
  DTS dist/cli.d.mts 20.00 B
@@ -1,6 +1,6 @@
1
1
 
2
2
  
3
- > @aiready/consistency@0.6.1 test /Users/pengcao/projects/aiready/packages/consistency
3
+ > @aiready/consistency@0.6.3 test /Users/pengcao/projects/aiready/packages/consistency
4
4
  > vitest run
5
5
 
6
6
 
@@ -48,25 +48,25 @@
48
48
  · should generate relevant recommendations
49
49
  · should suggest standardizing error handling
50
50
  · should suggest using async/await consistently
51
- [?25l ✓ should detect minimum severity filtering
52
- ✓ analyzeNaming (8)
53
- ✓ should detect single letter variables
54
- ✓ should NOT flag acceptable abbreviations
55
- ✓ should NOT flag common short English words
56
- ✓ should detect snake_case in TypeScript files
57
- ✓ should detect unclear boolean names
58
- ✓ should allow common abbreviations
59
- ✓ should NOT flag multi-line arrow function parameters (Phase 3)
60
- ✓ should NOT flag short-lived comparison variables (Phase 3)
61
- ✓ analyzePatterns (3)
62
- ✓ should detect mixed error handling
63
- ✓ should detect mixed async patterns
64
- ✓ should detect mixed import styles
65
- ✓ consistency scoring (2)
66
- ✓ should calculate consistency score correctly
67
- ✓ should weight critical issues more than info
68
- ❯ recommendations (3)
69
- ⠙ should generate relevant recommendations
51
+ [?25l ⠹ should detect minimum severity filtering
52
+ · analyzeNaming (8)
53
+ · should detect single letter variables
54
+ · should NOT flag acceptable abbreviations
55
+ · should NOT flag common short English words
56
+ · should detect snake_case in TypeScript files
57
+ · should detect unclear boolean names
58
+ · should allow common abbreviations
59
+ · should NOT flag multi-line arrow function parameters (Phase 3)
60
+ · should NOT flag short-lived comparison variables (Phase 3)
61
+ · analyzePatterns (3)
62
+ · should detect mixed error handling
63
+ · should detect mixed async patterns
64
+ · should detect mixed import styles
65
+ · consistency scoring (2)
66
+ · should calculate consistency score correctly
67
+ · should weight critical issues more than info
68
+ · recommendations (3)
69
+ · should generate relevant recommendations
70
70
  · should suggest standardizing error handling
71
71
  · should suggest using async/await consistently
72
72
  [?25l ✓ should detect minimum severity filtering
@@ -117,7 +117,7 @@
117
117
 
118
118
   Test Files  1 passed (1)
119
119
   Tests  18 passed (18)
120
-  Start at  21:43:25
121
-  Duration  653ms (transform 84ms, setup 0ms, collect 250ms, tests 141ms, environment 0ms, prepare 43ms)
120
+  Start at  14:32:19
121
+  Duration  723ms (transform 100ms, setup 0ms, collect 314ms, tests 141ms, environment 0ms, prepare 54ms)
122
122
 
123
123
  [?25h[?25h