@aiready/consistency 0.18.8 → 0.18.10
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 +13 -13
- package/.turbo/turbo-test.log +11 -10
- package/dist/chunk-66M3TIO7.mjs +837 -0
- package/dist/chunk-YCDCIOJN.mjs +842 -0
- package/dist/cli.js +6 -1
- package/dist/cli.mjs +1 -1
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +6 -1
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
- package/src/analyzer.ts +11 -1
- package/src/types.ts +1 -0
package/dist/cli.js
CHANGED
|
@@ -749,7 +749,12 @@ async function analyzeConsistency(options) {
|
|
|
749
749
|
namingIssues: namingCountFiltered,
|
|
750
750
|
patternIssues: patternCountFiltered,
|
|
751
751
|
architectureIssues: 0,
|
|
752
|
-
filesAnalyzed: filePaths.length
|
|
752
|
+
filesAnalyzed: filePaths.length,
|
|
753
|
+
config: Object.fromEntries(
|
|
754
|
+
Object.entries(options).filter(
|
|
755
|
+
([key]) => !import_core5.GLOBAL_SCAN_OPTIONS.includes(key) || key === "rootDir"
|
|
756
|
+
)
|
|
757
|
+
)
|
|
753
758
|
},
|
|
754
759
|
results,
|
|
755
760
|
recommendations
|
package/dist/cli.mjs
CHANGED
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -767,7 +767,12 @@ async function analyzeConsistency(options) {
|
|
|
767
767
|
namingIssues: namingCountFiltered,
|
|
768
768
|
patternIssues: patternCountFiltered,
|
|
769
769
|
architectureIssues: 0,
|
|
770
|
-
filesAnalyzed: filePaths.length
|
|
770
|
+
filesAnalyzed: filePaths.length,
|
|
771
|
+
config: Object.fromEntries(
|
|
772
|
+
Object.entries(options).filter(
|
|
773
|
+
([key]) => !import_core5.GLOBAL_SCAN_OPTIONS.includes(key) || key === "rootDir"
|
|
774
|
+
)
|
|
775
|
+
)
|
|
771
776
|
},
|
|
772
777
|
results,
|
|
773
778
|
recommendations
|
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aiready/consistency",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.10",
|
|
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",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@typescript-eslint/typescript-estree": "^8.53.0",
|
|
44
44
|
"chalk": "^5.3.0",
|
|
45
45
|
"commander": "^14.0.0",
|
|
46
|
-
"@aiready/core": "0.21.
|
|
46
|
+
"@aiready/core": "0.21.10"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@types/node": "^24.0.0",
|
package/src/analyzer.ts
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
scanFiles,
|
|
3
|
+
Severity,
|
|
4
|
+
IssueType,
|
|
5
|
+
GLOBAL_SCAN_OPTIONS,
|
|
6
|
+
} from '@aiready/core';
|
|
2
7
|
import type { AnalysisResult, Issue } from '@aiready/core';
|
|
3
8
|
import type {
|
|
4
9
|
ConsistencyOptions,
|
|
@@ -162,6 +167,11 @@ export async function analyzeConsistency(
|
|
|
162
167
|
patternIssues: patternCountFiltered,
|
|
163
168
|
architectureIssues: 0,
|
|
164
169
|
filesAnalyzed: filePaths.length,
|
|
170
|
+
config: Object.fromEntries(
|
|
171
|
+
Object.entries(options).filter(
|
|
172
|
+
([key]) => !GLOBAL_SCAN_OPTIONS.includes(key) || key === 'rootDir'
|
|
173
|
+
)
|
|
174
|
+
),
|
|
165
175
|
},
|
|
166
176
|
results,
|
|
167
177
|
recommendations,
|