@aiready/consistency 0.6.17 → 0.7.0

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.17 build /Users/pengcao/projects/aiready/packages/consistency
3
+ > @aiready/consistency@0.7.0 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,16 +9,16 @@
9
9
  CLI Target: es2020
10
10
  CJS Build start
11
11
  ESM Build start
12
- CJS dist/cli.js 47.02 KB
13
- CJS dist/index.js 50.87 KB
14
- CJS ⚡️ Build success in 22ms
15
- ESM dist/cli.mjs 8.76 KB
12
+ CJS dist/cli.js 50.90 KB
13
+ CJS dist/index.js 55.33 KB
14
+ CJS ⚡️ Build success in 63ms
16
15
  ESM dist/index.mjs 12.69 KB
17
- ESM dist/chunk-MM2PLUCH.mjs 37.10 KB
18
- ESM ⚡️ Build success in 22ms
16
+ ESM dist/cli.mjs 8.76 KB
17
+ ESM dist/chunk-YEHXYHGY.mjs 40.95 KB
18
+ ESM ⚡️ Build success in 64ms
19
19
  DTS Build start
20
- DTS ⚡️ Build success in 1096ms
20
+ DTS ⚡️ Build success in 1207ms
21
21
  DTS dist/cli.d.ts 20.00 B
22
- DTS dist/index.d.ts 3.38 KB
22
+ DTS dist/index.d.ts 3.27 KB
23
23
  DTS dist/cli.d.mts 20.00 B
24
- DTS dist/index.d.mts 3.38 KB
24
+ DTS dist/index.d.mts 3.27 KB
@@ -1,17 +1,17 @@
1
1
 
2
2
  
3
- > @aiready/consistency@0.6.17 test /Users/pengcao/projects/aiready/packages/consistency
3
+ > @aiready/consistency@0.7.0 test /Users/pengcao/projects/aiready/packages/consistency
4
4
  > vitest run
5
5
 
6
6
  [?25l
7
7
   RUN  v4.0.17 /Users/pengcao/projects/aiready/packages/consistency
8
8
 
9
9
  [?2026h
10
-  ❯ src/__tests__/analyzer.test.ts [queued]
10
+  ❯ src/__tests__/language-filter.test.ts [queued]
11
11
 
12
12
   Test Files 0 passed (3)
13
13
   Tests 0 passed (0)
14
-  Start at 10:40:04
14
+  Start at 21:01:42
15
15
   Duration 101ms
16
16
  [?2026l[?2026h ✓ src/__tests__/scoring.test.ts (8 tests) 3ms
17
17
 
@@ -20,21 +20,21 @@
20
20
 
21
21
   Test Files 1 passed (3)
22
22
   Tests 8 passed (11)
23
-  Start at 10:40:04
24
-  Duration 302ms
23
+  Start at 21:01:42
24
+  Duration 406ms
25
25
  [?2026l[?2026h ✓ src/__tests__/language-filter.test.ts (3 tests) 3ms
26
26
 
27
27
   ❯ src/__tests__/analyzer.test.ts 1/18
28
28
 
29
29
   Test Files 2 passed (3)
30
30
   Tests 12 passed (29)
31
-  Start at 10:40:04
32
-  Duration 504ms
33
- [?2026l ✓ src/__tests__/analyzer.test.ts (18 tests) 152ms
31
+  Start at 21:01:42
32
+  Duration 507ms
33
+ [?2026l ✓ src/__tests__/analyzer.test.ts (18 tests) 170ms
34
34
 
35
35
   Test Files  3 passed (3)
36
36
   Tests  29 passed (29)
37
-  Start at  10:40:04
38
-  Duration  546ms (transform 198ms, setup 0ms, import 610ms, tests 158ms, environment 0ms)
37
+  Start at  21:01:42
38
+  Duration  653ms (transform 219ms, setup 0ms, import 762ms, tests 176ms, environment 0ms)
39
39
 
40
40
  [?25h
package/README.md CHANGED
@@ -4,9 +4,38 @@
4
4
 
5
5
  Helps teams maintain consistent coding practices across their codebase, making it easier for AI tools to understand and work with your code.
6
6
 
7
- **Supported Languages:** TypeScript, JavaScript (`.ts`, `.tsx`, `.js`, `.jsx`)
7
+ ## �️ Architecture
8
8
 
9
- > **Note:** Python, Java, and other language files in your project will be safely ignored during analysis.
9
+ ```
10
+ 🎯 USER
11
+
12
+
13
+ 🎛️ CLI (orchestrator)
14
+
15
+
16
+ 🏢 HUB (core)
17
+
18
+ ┌──────────────────────┼───────────┬───────────┐
19
+ ▼ ▼ ▼ ▼
20
+ 📊 PATTERN 📦 CONTEXT ┌─────────────┐ 📚 DOC
21
+ DETECT ANALYZER │ 🔧 CONSIST │ ⬅ YOU ARE HERE
22
+ ✅ Ready ✅ Ready │ ENCY │ DRIFT
23
+ │ ✅ Ready │ 🔜 Soon
24
+ └─────────────┘
25
+ ```
26
+
27
+ ## �🌍 Language Support
28
+
29
+ **Currently Supported (64% market coverage):**
30
+ - ✅ **TypeScript** (`.ts`, `.tsx`) - camelCase, PascalCase conventions
31
+ - ✅ **JavaScript** (`.js`, `.jsx`) - camelCase, PascalCase conventions
32
+ - ✅ **Python** (`.py`) - PEP 8 conventions (snake_case, PascalCase, UPPER_CASE)
33
+
34
+ **Roadmap:**
35
+ - 🔜 **Java** (Q3 2026) - Java naming conventions, JavaBean patterns
36
+ - 🔜 **Go** (Q4 2026) - Go naming conventions, exported names
37
+ - 🔜 **Rust** (Q4 2026) - Rust naming conventions, snake_case
38
+ - 🔜 **C#** (Q1 2027) - C# conventions, PascalCase
10
39
 
11
40
  ## 🚀 Quick Start
12
41