@d-zero/a11y-check 0.4.11 → 0.5.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/dist/cli.js +11 -0
- package/package.json +9 -9
package/dist/cli.js
CHANGED
|
@@ -11,6 +11,16 @@ const { options, args, hasConfigFile } = createCLI({
|
|
|
11
11
|
usage: [
|
|
12
12
|
'Usage:',
|
|
13
13
|
'\ta11y-check -f <listfile> [-o <out>] [--limit <limit>] [--cache <true|false>] [--debug] [--verbose]',
|
|
14
|
+
'',
|
|
15
|
+
'Options:',
|
|
16
|
+
'\t-f, --listfile <file> File containing URLs to check',
|
|
17
|
+
'\t-o, --out <file> Output file path',
|
|
18
|
+
'\t--limit <number> Limit concurrent processes',
|
|
19
|
+
'\t--interval <ms> Interval between parallel executions (default: none)',
|
|
20
|
+
'\t Format: number or "min-max" for random range',
|
|
21
|
+
'\t--cache <true|false> Enable/disable cache (default: true)',
|
|
22
|
+
'\t--debug Enable debug mode',
|
|
23
|
+
'\t--verbose Enable verbose logging',
|
|
14
24
|
],
|
|
15
25
|
parseArgs: (cli) => ({
|
|
16
26
|
...parseCommonOptions(cli),
|
|
@@ -32,6 +42,7 @@ let a11yOptions = {
|
|
|
32
42
|
screenshot: options.screenshot,
|
|
33
43
|
locale: options.locale,
|
|
34
44
|
limit: options.limit,
|
|
45
|
+
interval: options.interval,
|
|
35
46
|
cache: options.cache,
|
|
36
47
|
cacheDir: options.cacheDir,
|
|
37
48
|
debug: options.debug,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@d-zero/a11y-check",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "Accessibility Checker CLI",
|
|
5
5
|
"author": "D-ZERO",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,20 +24,20 @@
|
|
|
24
24
|
"clean": "tsc --build --clean"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@d-zero/a11y-check-axe-scenario": "0.4.
|
|
28
|
-
"@d-zero/a11y-check-core": "0.5.
|
|
29
|
-
"@d-zero/a11y-check-scenarios": "0.4.
|
|
30
|
-
"@d-zero/cli-core": "1.
|
|
27
|
+
"@d-zero/a11y-check-axe-scenario": "0.4.11",
|
|
28
|
+
"@d-zero/a11y-check-core": "0.5.11",
|
|
29
|
+
"@d-zero/a11y-check-scenarios": "0.4.11",
|
|
30
|
+
"@d-zero/cli-core": "1.2.0",
|
|
31
31
|
"@d-zero/google-auth": "0.5.0",
|
|
32
|
-
"@d-zero/google-sheets": "0.5.
|
|
33
|
-
"@d-zero/puppeteer-page-scan": "4.2.
|
|
32
|
+
"@d-zero/google-sheets": "0.5.2",
|
|
33
|
+
"@d-zero/puppeteer-page-scan": "4.2.6",
|
|
34
34
|
"@d-zero/readtext": "1.1.12",
|
|
35
|
-
"@d-zero/shared": "0.
|
|
35
|
+
"@d-zero/shared": "0.13.0",
|
|
36
36
|
"ansi-colors": "4.1.3",
|
|
37
37
|
"dayjs": "1.11.18",
|
|
38
38
|
"dotenv": "17.2.3",
|
|
39
39
|
"front-matter": "4.0.2",
|
|
40
40
|
"minimist": "1.2.8"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "85abd39686d2ce02c7b8db071437464d212dd982"
|
|
43
43
|
}
|