@aiready/consistency 0.6.6 → 0.6.8

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.6 build /Users/pengcao/projects/aiready/packages/consistency
3
+ > @aiready/consistency@0.6.8 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 47.29 KB
13
+ CJS dist/cli.js 46.58 KB
14
+ CJS ⚡️ Build success in 99ms
12
15
  ESM dist/cli.mjs 8.55 KB
13
- ESM dist/chunk-WTBDNCEN.mjs 36.20 KB
14
- ESM dist/index.mjs 9.73 KB
15
- ESM ⚡️ Build success in 17ms
16
- CJS dist/cli.js 45.90 KB
17
- CJS dist/index.js 46.99 KB
18
- CJS ⚡️ Build success in 17ms
16
+ ESM dist/index.mjs 9.40 KB
17
+ ESM dist/chunk-HPG7P6PD.mjs 36.87 KB
18
+ ESM ⚡️ Build success in 99ms
19
19
  DTS Build start
20
- DTS ⚡️ Build success in 977ms
20
+ DTS ⚡️ Build success in 1083ms
21
21
  DTS dist/cli.d.ts 20.00 B
22
22
  DTS dist/index.d.ts 2.77 KB
23
23
  DTS dist/cli.d.mts 20.00 B
@@ -1,16 +1,12 @@
1
1
 
2
2
  
3
- > @aiready/consistency@0.6.6 test /Users/pengcao/projects/aiready/packages/consistency
3
+ > @aiready/consistency@0.6.8 test /Users/pengcao/projects/aiready/packages/consistency
4
4
  > vitest run
5
5
 
6
6
 
7
7
   RUN  v2.1.9 /Users/pengcao/projects/aiready/packages/consistency
8
8
 
9
- [?25l · should detect single letter variables
10
- · should NOT flag acceptable abbreviations
11
- · should NOT flag common short English words
12
- · should detect snake_case in TypeScript files
13
- · should detect unclear boolean names
9
+ [?25l · should detect unclear boolean names
14
10
  · should allow common abbreviations
15
11
  · should NOT flag multi-line arrow function parameters (Phase 3)
16
12
  · should NOT flag short-lived comparison variables (Phase 3)
@@ -25,11 +21,7 @@
25
21
  · should generate relevant recommendations
26
22
  · should suggest standardizing error handling
27
23
  · should suggest using async/await consistently
28
- [?25l[?25l[?25l[?25l[?25l[?25l[?25l ✓ should detect single letter variables
29
- ✓ should NOT flag acceptable abbreviations
30
- ✓ should NOT flag common short English words
31
- ✓ should detect snake_case in TypeScript files
32
- ✓ should detect unclear boolean names
24
+ [?25l[?25l[?25l[?25l[?25l[?25l[?25l ✓ should detect unclear boolean names
33
25
  ✓ should allow common abbreviations
34
26
  ✓ should NOT flag multi-line arrow function parameters (Phase 3)
35
27
  ✓ should NOT flag short-lived comparison variables (Phase 3)
@@ -40,11 +32,11 @@
40
32
  ✓ consistency scoring (2)
41
33
  ✓ should calculate consistency score correctly
42
34
  ✓ should weight critical issues more than info
43
- ✓ recommendations (3)
44
- ✓ should generate relevant recommendations
45
- ✓ should suggest standardizing error handling
46
- ✓ should suggest using async/await consistently
47
-  ✓ src/__tests__/analyzer.test.ts (18)
35
+ ❯ recommendations (3)
36
+ ⠙ should generate relevant recommendations
37
+ · should suggest standardizing error handling
38
+ · should suggest using async/await consistently
39
+  ✓ src/__tests__/analyzer.test.ts (18)
48
40
  ✓ analyzeConsistency (2)
49
41
  ✓ should analyze naming issues
50
42
  ✓ should detect minimum severity filtering
@@ -71,7 +63,7 @@
71
63
 
72
64
   Test Files  1 passed (1)
73
65
   Tests  18 passed (18)
74
-  Start at  01:47:48
75
-  Duration  566ms (transform 56ms, setup 0ms, collect 203ms, tests 128ms, environment 0ms, prepare 44ms)
66
+  Start at  20:58:11
67
+  Duration  769ms (transform 126ms, setup 0ms, collect 331ms, tests 135ms, environment 0ms, prepare 55ms)
76
68
 
77
69
  [?25h[?25h
package/README.md CHANGED
@@ -15,7 +15,7 @@ npx @aiready/consistency ./src
15
15
  # Or use the unified CLI (includes all AIReady tools)
16
16
  npx @aiready/cli scan ./src
17
17
 
18
- # Or install globally for faster runs
18
+ # Or install globally for simpler command and faster runs
19
19
  npm install -g @aiready/consistency
20
20
  aiready-consistency ./src
21
21
  ```
@@ -288,6 +288,10 @@ This tool is part of the [AIReady](https://github.com/caopengau/aiready) ecosyst
288
288
  - [Contributing Guide](./CONTRIBUTING.md)
289
289
  - [AIReady Main Repo](https://github.com/caopengau/aiready)
290
290
 
291
+ ## 🌐 Visit Our Website
292
+
293
+ **Try AIReady tools online and maintain code consistency:** [getaiready.dev](https://getaiready.dev)
294
+
291
295
  ## 📄 License
292
296
 
293
297
  MIT © AIReady Team