equall-cli 0.1.1 → 0.1.3
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/LICENSE +1 -1
- package/README.md +66 -7
- package/dist/chunk-5YPLWCOT.js +40531 -0
- package/dist/cli.js +6628 -15
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -1
- package/package.json +10 -7
- package/dist/chunk-UA3BFAGG.js +0 -690
package/dist/index.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ interface GladosIssue {
|
|
|
12
12
|
message: string;
|
|
13
13
|
help_url: string | null;
|
|
14
14
|
suggestion: string | null;
|
|
15
|
+
ignored?: boolean;
|
|
15
16
|
}
|
|
16
17
|
type WcagLevel = 'A' | 'AA' | 'AAA';
|
|
17
18
|
type PourPrinciple = 'perceivable' | 'operable' | 'understandable' | 'robust';
|
|
@@ -66,6 +67,7 @@ interface ScanSummary {
|
|
|
66
67
|
by_scanner: Record<string, number>;
|
|
67
68
|
criteria_tested: string[];
|
|
68
69
|
criteria_failed: string[];
|
|
70
|
+
ignored_count: number;
|
|
69
71
|
}
|
|
70
72
|
interface ScannerInfo {
|
|
71
73
|
name: string;
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { createRequire as __createRequire } from 'module'; import { fileURLToPath as __fileURLToPath } from 'url'; import { dirname as __dirname2 } from 'path'; const require = __createRequire(import.meta.url); const __filename = __fileURLToPath(import.meta.url); const __dirname = __dirname2(__filename);
|
|
1
2
|
import {
|
|
2
3
|
computeScanResult,
|
|
3
4
|
runScan
|
|
4
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-5YPLWCOT.js";
|
|
5
6
|
export {
|
|
6
7
|
computeScanResult,
|
|
7
8
|
runScan
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "equall-cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Open-source accessibility scoring CLI — aggregates axe-core, eslint-plugin-jsx-a11y, and more into a unified score.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"accessibility",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"README.md"
|
|
36
36
|
],
|
|
37
37
|
"scripts": {
|
|
38
|
-
"build": "tsup
|
|
38
|
+
"build": "tsup",
|
|
39
39
|
"dev": "tsup src/cli.ts src/index.ts --format esm --dts --watch",
|
|
40
40
|
"scan": "tsx src/cli.ts",
|
|
41
41
|
"lint": "eslint src/",
|
|
@@ -43,17 +43,20 @@
|
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@typescript-eslint/parser": "^8.57.2",
|
|
46
|
-
"axe-core": "^4.10.0",
|
|
47
|
-
"commander": "^12.1.0",
|
|
48
46
|
"eslint": "^9.0.0",
|
|
49
47
|
"eslint-plugin-jsx-a11y": "^6.10.0",
|
|
50
|
-
"
|
|
51
|
-
"jsdom": "^25.0.0",
|
|
52
|
-
"ora": "^9.3.0"
|
|
48
|
+
"jsdom": "^25.0.0"
|
|
53
49
|
},
|
|
54
50
|
"devDependencies": {
|
|
55
51
|
"@types/jsdom": "^21.1.7",
|
|
56
52
|
"@types/node": "^22.0.0",
|
|
53
|
+
"axe-core": "^4.10.0",
|
|
54
|
+
"commander": "^12.1.0",
|
|
55
|
+
"eslint": "^9.0.0",
|
|
56
|
+
"eslint-plugin-jsx-a11y": "^6.10.0",
|
|
57
|
+
"globby": "^14.0.0",
|
|
58
|
+
"jsdom": "^25.0.0",
|
|
59
|
+
"ora": "^9.3.0",
|
|
57
60
|
"tsup": "^8.0.0",
|
|
58
61
|
"tsx": "^4.0.0",
|
|
59
62
|
"typescript": "^5.9.3",
|