@archlinter/core 0.12.0 → 0.13.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.
- package/index.d.ts +3 -0
- package/package.json +7 -7
package/index.d.ts
CHANGED
|
@@ -20,6 +20,8 @@ export interface JsScanOptions {
|
|
|
20
20
|
git?: boolean
|
|
21
21
|
/** Git history analysis period (e.g. "90d", "1y", "all") */
|
|
22
22
|
gitHistoryPeriod?: string
|
|
23
|
+
/** Maximum file size in bytes to analyze */
|
|
24
|
+
maxFileSize?: number
|
|
23
25
|
}
|
|
24
26
|
export interface JsScanResult {
|
|
25
27
|
smells: Array<JsSmellWithExplanation>
|
|
@@ -81,6 +83,7 @@ export interface JsSummary {
|
|
|
81
83
|
featureEnvy: number
|
|
82
84
|
shotgunSurgery: number
|
|
83
85
|
hubDependencies: number
|
|
86
|
+
largeFiles: number
|
|
84
87
|
}
|
|
85
88
|
export interface JsArchitectureGrade {
|
|
86
89
|
score: number
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@archlinter/core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.0",
|
|
4
4
|
"description": "Core library for archlint - programmatic API",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -31,12 +31,12 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"optionalDependencies": {
|
|
34
|
-
"@archlinter/core-win32-x64-msvc": "0.
|
|
35
|
-
"@archlinter/core-darwin-x64": "0.
|
|
36
|
-
"@archlinter/core-linux-x64-gnu": "0.
|
|
37
|
-
"@archlinter/core-linux-x64-musl": "0.
|
|
38
|
-
"@archlinter/core-linux-arm64-gnu": "0.
|
|
39
|
-
"@archlinter/core-darwin-arm64": "0.
|
|
34
|
+
"@archlinter/core-win32-x64-msvc": "0.13.0",
|
|
35
|
+
"@archlinter/core-darwin-x64": "0.13.0",
|
|
36
|
+
"@archlinter/core-linux-x64-gnu": "0.13.0",
|
|
37
|
+
"@archlinter/core-linux-x64-musl": "0.13.0",
|
|
38
|
+
"@archlinter/core-linux-arm64-gnu": "0.13.0",
|
|
39
|
+
"@archlinter/core-darwin-arm64": "0.13.0"
|
|
40
40
|
},
|
|
41
41
|
"engines": {
|
|
42
42
|
"node": ">=18"
|