@aiready/consistency 0.2.4 → 0.2.5
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.
- package/.turbo/turbo-build.log +6 -6
- package/.turbo/turbo-test.log +55 -0
- package/package.json +2 -2
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
> @aiready/consistency@0.2.
|
|
3
|
+
> @aiready/consistency@0.2.5 build /Users/pengcao/projects/aiready/packages/consistency
|
|
4
4
|
> tsup src/index.ts src/cli.ts --format cjs,esm --dts
|
|
5
5
|
|
|
6
6
|
[34mCLI[39m Building entry: src/cli.ts, src/index.ts
|
|
@@ -9,15 +9,15 @@
|
|
|
9
9
|
[34mCLI[39m Target: es2020
|
|
10
10
|
[34mCJS[39m Build start
|
|
11
11
|
[34mESM[39m Build start
|
|
12
|
-
[32mCJS[39m [1mdist/cli.js [22m[32m23.02 KB[39m
|
|
13
12
|
[32mCJS[39m [1mdist/index.js [22m[32m14.13 KB[39m
|
|
14
|
-
[32mCJS[39m
|
|
15
|
-
[
|
|
13
|
+
[32mCJS[39m [1mdist/cli.js [22m[32m23.02 KB[39m
|
|
14
|
+
[32mCJS[39m ⚡️ Build success in 58ms
|
|
16
15
|
[32mESM[39m [1mdist/cli.mjs [22m[32m8.54 KB[39m
|
|
16
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m220.00 B[39m
|
|
17
17
|
[32mESM[39m [1mdist/chunk-CF4LU7KE.mjs [22m[32m12.90 KB[39m
|
|
18
|
-
[32mESM[39m ⚡️ Build success in
|
|
18
|
+
[32mESM[39m ⚡️ Build success in 58ms
|
|
19
19
|
DTS Build start
|
|
20
|
-
DTS ⚡️ Build success in
|
|
20
|
+
DTS ⚡️ Build success in 548ms
|
|
21
21
|
DTS dist/cli.d.ts 20.00 B
|
|
22
22
|
DTS dist/index.d.ts 2.60 KB
|
|
23
23
|
DTS dist/cli.d.mts 20.00 B
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
> @aiready/consistency@0.2.5 test /Users/pengcao/projects/aiready/packages/consistency
|
|
4
|
+
> vitest run
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
[1m[7m[36m RUN [39m[27m[22m [36mv2.1.9 [39m[90m/Users/pengcao/projects/aiready/packages/consistency[39m
|
|
8
|
+
|
|
9
|
+
[?25l [33m❯[39m [2msrc/__tests__/[22manalyzer[2m.test.ts[22m[2m (14)[22m
|
|
10
|
+
[33m❯[39m analyzeConsistency[2m (2)[22m
|
|
11
|
+
[33m⠙[39m should analyze naming issues
|
|
12
|
+
[90m·[39m should detect minimum severity filtering
|
|
13
|
+
[90m·[39m analyzeNaming[2m (4)[22m
|
|
14
|
+
[90m·[39m should detect single letter variables
|
|
15
|
+
[90m·[39m should detect snake_case in TypeScript files
|
|
16
|
+
[90m·[39m should detect unclear boolean names
|
|
17
|
+
[90m·[39m should allow common abbreviations
|
|
18
|
+
[90m·[39m analyzePatterns[2m (3)[22m
|
|
19
|
+
[90m·[39m should detect mixed error handling
|
|
20
|
+
[90m·[39m should detect mixed async patterns
|
|
21
|
+
[90m·[39m should detect mixed import styles
|
|
22
|
+
[90m·[39m consistency scoring[2m (2)[22m
|
|
23
|
+
[90m·[39m should calculate consistency score correctly
|
|
24
|
+
[90m·[39m should weight critical issues more than info
|
|
25
|
+
[90m·[39m recommendations[2m (3)[22m
|
|
26
|
+
[90m·[39m should generate relevant recommendations
|
|
27
|
+
[90m·[39m should suggest standardizing error handling
|
|
28
|
+
[90m·[39m should suggest using async/await consistently
|
|
29
|
+
[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G [32m✓[39m [2msrc/__tests__/[22manalyzer[2m.test.ts[22m[2m (14)[22m
|
|
30
|
+
[32m✓[39m analyzeConsistency[2m (2)[22m
|
|
31
|
+
[32m✓[39m should analyze naming issues
|
|
32
|
+
[32m✓[39m should detect minimum severity filtering
|
|
33
|
+
[32m✓[39m analyzeNaming[2m (4)[22m
|
|
34
|
+
[32m✓[39m should detect single letter variables
|
|
35
|
+
[32m✓[39m should detect snake_case in TypeScript files
|
|
36
|
+
[32m✓[39m should detect unclear boolean names
|
|
37
|
+
[32m✓[39m should allow common abbreviations
|
|
38
|
+
[32m✓[39m analyzePatterns[2m (3)[22m
|
|
39
|
+
[32m✓[39m should detect mixed error handling
|
|
40
|
+
[32m✓[39m should detect mixed async patterns
|
|
41
|
+
[32m✓[39m should detect mixed import styles
|
|
42
|
+
[32m✓[39m consistency scoring[2m (2)[22m
|
|
43
|
+
[32m✓[39m should calculate consistency score correctly
|
|
44
|
+
[32m✓[39m should weight critical issues more than info
|
|
45
|
+
[32m✓[39m recommendations[2m (3)[22m
|
|
46
|
+
[32m✓[39m should generate relevant recommendations
|
|
47
|
+
[32m✓[39m should suggest standardizing error handling
|
|
48
|
+
[32m✓[39m should suggest using async/await consistently
|
|
49
|
+
|
|
50
|
+
[2m Test Files [22m [1m[32m1 passed[39m[22m[90m (1)[39m
|
|
51
|
+
[2m Tests [22m [1m[32m14 passed[39m[22m[90m (14)[39m
|
|
52
|
+
[2m Start at [22m 07:25:15
|
|
53
|
+
[2m Duration [22m 323ms[2m (transform 63ms, setup 0ms, collect 73ms, tests 23ms, environment 0ms, prepare 43ms)[22m
|
|
54
|
+
|
|
55
|
+
[?25h[?25h
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aiready/consistency",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.5",
|
|
4
4
|
"description": "Detects consistency issues in naming, patterns, and architecture that confuse AI models",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"chalk": "^5.3.0",
|
|
43
43
|
"commander": "^12.1.0",
|
|
44
|
-
"@aiready/core": "0.5.
|
|
44
|
+
"@aiready/core": "0.5.6"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@types/node": "^22.10.5",
|