@aiready/consistency 0.6.0 → 0.6.1

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.0 build /Users/pengcao/projects/aiready/packages/consistency
3
+ > @aiready/consistency@0.6.1 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.30 KB
13
- CJS dist/index.js 49.33 KB
14
- CJS ⚡️ Build success in 61ms
12
+ CJS dist/cli.js 44.61 KB
13
+ CJS dist/index.js 49.65 KB
14
+ CJS ⚡️ Build success in 57ms
15
15
  ESM dist/cli.mjs 8.54 KB
16
+ ESM dist/chunk-LD3CHHU2.mjs 34.36 KB
16
17
  ESM dist/index.mjs 14.04 KB
17
- ESM dist/chunk-IVRBV7SE.mjs 34.04 KB
18
- ESM ⚡️ Build success in 61ms
18
+ ESM ⚡️ Build success in 57ms
19
19
  DTS Build start
20
- DTS ⚡️ Build success in 1028ms
20
+ DTS ⚡️ Build success in 1045ms
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.0 test /Users/pengcao/projects/aiready/packages/consistency
3
+ > @aiready/consistency@0.6.1 test /Users/pengcao/projects/aiready/packages/consistency
4
4
  > vitest run
5
5
 
6
6
 
@@ -27,28 +27,7 @@
27
27
  · should generate relevant recommendations
28
28
  · should suggest standardizing error handling
29
29
  · should suggest using async/await consistently
30
- [?25l[?25l[?25l[?25l[?25l ⠙ should detect minimum severity filtering
31
- · analyzeNaming (8)
32
- · should detect single letter variables
33
- · should NOT flag acceptable abbreviations
34
- · should NOT flag common short English words
35
- · should detect snake_case in TypeScript files
36
- · should detect unclear boolean names
37
- · should allow common abbreviations
38
- · should NOT flag multi-line arrow function parameters (Phase 3)
39
- · should NOT flag short-lived comparison variables (Phase 3)
40
- · analyzePatterns (3)
41
- · should detect mixed error handling
42
- · should detect mixed async patterns
43
- · should detect mixed import styles
44
- · consistency scoring (2)
45
- · should calculate consistency score correctly
46
- · should weight critical issues more than info
47
- · recommendations (3)
48
- · should generate relevant recommendations
49
- · should suggest standardizing error handling
50
- · should suggest using async/await consistently
51
- [?25l ⠹ should detect minimum severity filtering
30
+ [?25l[?25l[?25l[?25l[?25l[?25l ⠙ should detect minimum severity filtering
52
31
  · analyzeNaming (8)
53
32
  · should detect single letter variables
54
33
  · should NOT flag acceptable abbreviations
@@ -90,6 +69,27 @@
90
69
  ⠙ should generate relevant recommendations
91
70
  · should suggest standardizing error handling
92
71
  · should suggest using async/await consistently
72
+ [?25l ✓ should detect minimum severity filtering
73
+ ✓ analyzeNaming (8)
74
+ ✓ should detect single letter variables
75
+ ✓ should NOT flag acceptable abbreviations
76
+ ✓ should NOT flag common short English words
77
+ ✓ should detect snake_case in TypeScript files
78
+ ✓ should detect unclear boolean names
79
+ ✓ should allow common abbreviations
80
+ ✓ should NOT flag multi-line arrow function parameters (Phase 3)
81
+ ✓ should NOT flag short-lived comparison variables (Phase 3)
82
+ ✓ analyzePatterns (3)
83
+ ✓ should detect mixed error handling
84
+ ✓ should detect mixed async patterns
85
+ ✓ should detect mixed import styles
86
+ ✓ consistency scoring (2)
87
+ ✓ should calculate consistency score correctly
88
+ ✓ should weight critical issues more than info
89
+ ✓ recommendations (3)
90
+ ✓ should generate relevant recommendations
91
+ ✓ should suggest standardizing error handling
92
+ ✓ should suggest using async/await consistently
93
93
   ✓ src/__tests__/analyzer.test.ts (18)
94
94
  ✓ analyzeConsistency (2)
95
95
  ✓ should analyze naming issues
@@ -117,7 +117,7 @@
117
117
 
118
118
   Test Files  1 passed (1)
119
119
   Tests  18 passed (18)
120
-  Start at  21:24:18
121
-  Duration  798ms (transform 200ms, setup 0ms, collect 413ms, tests 134ms, environment 0ms, prepare 48ms)
120
+  Start at  21:43:25
121
+  Duration  653ms (transform 84ms, setup 0ms, collect 250ms, tests 141ms, environment 0ms, prepare 43ms)
122
122
 
123
123
  [?25h[?25h