@qualweb/cli 0.0.0-develop-20231205163610 → 0.0.0-develop-20241204125016
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/README.md +1 -0
- package/dist/cli.d.ts +2 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +36 -0
- package/dist/cli.js.map +1 -0
- package/dist/lib/commands/listActRules.d.ts +3 -0
- package/dist/lib/commands/listActRules.d.ts.map +1 -0
- package/dist/lib/commands/listActRules.js +18 -0
- package/dist/lib/commands/listActRules.js.map +1 -0
- package/dist/lib/commands/listBestPractices.d.ts +3 -0
- package/dist/lib/commands/listBestPractices.d.ts.map +1 -0
- package/dist/lib/commands/listBestPractices.js +21 -0
- package/dist/lib/commands/listBestPractices.js.map +1 -0
- package/dist/lib/commands/listWcagTechniques.d.ts +3 -0
- package/dist/lib/commands/listWcagTechniques.d.ts.map +1 -0
- package/dist/lib/commands/listWcagTechniques.js +18 -0
- package/dist/lib/commands/listWcagTechniques.js.map +1 -0
- package/dist/lib/evaluateAction.d.ts +3 -0
- package/dist/lib/evaluateAction.d.ts.map +1 -0
- package/dist/lib/evaluateAction.js +157 -0
- package/dist/lib/evaluateAction.js.map +1 -0
- package/dist/lib/options/actRules.d.ts +10 -0
- package/dist/lib/options/actRules.d.ts.map +1 -0
- package/dist/lib/options/actRules.js +66 -0
- package/dist/lib/options/actRules.js.map +1 -0
- package/dist/lib/options/bestPractices.d.ts +8 -0
- package/dist/lib/options/bestPractices.d.ts.map +1 -0
- package/dist/lib/options/bestPractices.js +55 -0
- package/dist/lib/options/bestPractices.js.map +1 -0
- package/dist/lib/options/input.d.ts +8 -0
- package/dist/lib/options/input.d.ts.map +1 -0
- package/dist/lib/options/input.js +27 -0
- package/dist/lib/options/input.js.map +1 -0
- package/dist/lib/options/output.d.ts +11 -0
- package/dist/lib/options/output.d.ts.map +1 -0
- package/dist/lib/options/output.js +21 -0
- package/dist/lib/options/output.js.map +1 -0
- package/dist/lib/options/puppeteer.d.ts +9 -0
- package/dist/lib/options/puppeteer.d.ts.map +1 -0
- package/dist/lib/options/puppeteer.js +24 -0
- package/dist/lib/options/puppeteer.js.map +1 -0
- package/dist/lib/options/viewport.d.ts +12 -0
- package/dist/lib/options/viewport.d.ts.map +1 -0
- package/dist/lib/options/viewport.js +26 -0
- package/dist/lib/options/viewport.js.map +1 -0
- package/dist/lib/options/wcagTechniques.d.ts +10 -0
- package/dist/lib/options/wcagTechniques.d.ts.map +1 -0
- package/dist/lib/options/wcagTechniques.js +63 -0
- package/dist/lib/options/wcagTechniques.js.map +1 -0
- package/dist/lib/types.d.ts +22 -0
- package/dist/lib/types.d.ts.map +1 -0
- package/dist/lib/types.js +27 -0
- package/dist/lib/types.js.map +1 -0
- package/package.json +20 -23
- package/bin/cli.js +0 -16
- package/dist/index.d.ts +0 -3
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -73
- package/dist/index.js.map +0 -1
- package/dist/lib/act-rules.options.json +0 -149
- package/dist/lib/actParser.d.ts +0 -6
- package/dist/lib/actParser.d.ts.map +0 -1
- package/dist/lib/actParser.js +0 -69
- package/dist/lib/actParser.js.map +0 -1
- package/dist/lib/bpParser.d.ts +0 -6
- package/dist/lib/bpParser.d.ts.map +0 -1
- package/dist/lib/bpParser.js +0 -53
- package/dist/lib/bpParser.js.map +0 -1
- package/dist/lib/fileUtils.d.ts +0 -20
- package/dist/lib/fileUtils.d.ts.map +0 -1
- package/dist/lib/fileUtils.js +0 -48
- package/dist/lib/fileUtils.js.map +0 -1
- package/dist/lib/options.d.ts +0 -156
- package/dist/lib/options.d.ts.map +0 -1
- package/dist/lib/options.js +0 -299
- package/dist/lib/options.js.map +0 -1
- package/dist/lib/parser.d.ts +0 -5
- package/dist/lib/parser.d.ts.map +0 -1
- package/dist/lib/parser.js +0 -133
- package/dist/lib/parser.js.map +0 -1
- package/dist/lib/parserUtils.d.ts +0 -9
- package/dist/lib/parserUtils.d.ts.map +0 -1
- package/dist/lib/parserUtils.js +0 -69
- package/dist/lib/parserUtils.js.map +0 -1
- package/dist/lib/wcagParser.d.ts +0 -6
- package/dist/lib/wcagParser.d.ts.map +0 -1
- package/dist/lib/wcagParser.js +0 -69
- package/dist/lib/wcagParser.js.map +0 -1
package/dist/lib/bpParser.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/// <reference types="@qualweb/types" />
|
|
2
|
-
import { CommandLineOptions } from 'command-line-args';
|
|
3
|
-
import { QualwebOptions } from '@qualweb/core';
|
|
4
|
-
declare function parseBP(mainOptions: CommandLineOptions, options: QualwebOptions): Promise<void>;
|
|
5
|
-
export = parseBP;
|
|
6
|
-
//# sourceMappingURL=bpParser.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bpParser.d.ts","sourceRoot":"","sources":["../../src/lib/bpParser.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAG/C,iBAAe,OAAO,CAAC,WAAW,EAAE,kBAAkB,EAAE,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC,CAS9F;AAsCD,SAAS,OAAO,CAAC"}
|
package/dist/lib/bpParser.js
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
const parserUtils_1 = require("./parserUtils");
|
|
6
|
-
const fileUtils_1 = require("./fileUtils");
|
|
7
|
-
const set_value_1 = __importDefault(require("set-value"));
|
|
8
|
-
async function parseBP(mainOptions, options) {
|
|
9
|
-
options['best-practices'] = {};
|
|
10
|
-
await validateBestPractices(mainOptions, options);
|
|
11
|
-
validateBPExclusions(mainOptions, options);
|
|
12
|
-
if (Object.keys(options['best-practices']).length === 0) {
|
|
13
|
-
delete options['best-practices'];
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
function validateModule(mainOptions, options) {
|
|
17
|
-
var _a;
|
|
18
|
-
if (mainOptions.module && ((_a = options === null || options === void 0 ? void 0 : options.execute) === null || _a === void 0 ? void 0 : _a.act) === undefined) {
|
|
19
|
-
(0, parserUtils_1.printError)('The "--best-practices" option doesn\'t match any of the modules selected.');
|
|
20
|
-
}
|
|
21
|
-
else {
|
|
22
|
-
console.warn('Warning: Module bp has options but is not select. Will be select automatically.');
|
|
23
|
-
(0, set_value_1.default)(options, 'execute.bp', true);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
async function validateBestPractices(mainOptions, options) {
|
|
27
|
-
var _a;
|
|
28
|
-
if (mainOptions['best-practices'] && options['best-practices']) {
|
|
29
|
-
validateModule(mainOptions, options);
|
|
30
|
-
if (mainOptions['best-practices'].length === 1) {
|
|
31
|
-
if (await (0, fileUtils_1.fileExists)(mainOptions['best-practices'][0])) {
|
|
32
|
-
const bps = await (0, fileUtils_1.readJsonFile)(mainOptions['best-practices'][0]);
|
|
33
|
-
options['best-practices'].bestPractices = [...((_a = bps['best-practices'].bestPractices) !== null && _a !== void 0 ? _a : [])];
|
|
34
|
-
}
|
|
35
|
-
else {
|
|
36
|
-
options['best-practices'].bestPractices = [...mainOptions['best-practices']];
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
else {
|
|
40
|
-
options['best-practices'].bestPractices = [...mainOptions['best-practices']];
|
|
41
|
-
}
|
|
42
|
-
(0, parserUtils_1.validateBP)(options['best-practices'].bestPractices);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
function validateBPExclusions(mainOptions, options) {
|
|
46
|
-
if (mainOptions['exclude-bp'] && options['best-practices']) {
|
|
47
|
-
validateModule(mainOptions, options);
|
|
48
|
-
options['best-practices'].exclude = [...mainOptions['exclude-bp']];
|
|
49
|
-
(0, parserUtils_1.validateBP)(options['best-practices'].exclude);
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
module.exports = parseBP;
|
|
53
|
-
//# sourceMappingURL=bpParser.js.map
|
package/dist/lib/bpParser.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bpParser.js","sourceRoot":"","sources":["../../src/lib/bpParser.ts"],"names":[],"mappings":";;;;AAAA,+CAAuD;AACvD,2CAAmE;AAGnE,0DAAiC;AAEjC,KAAK,UAAU,OAAO,CAAC,WAA+B,EAAE,OAAuB;IAC7E,OAAO,CAAC,gBAAgB,CAAC,GAAG,EAAE,CAAC;IAE/B,MAAM,qBAAqB,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;IAClD,oBAAoB,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;IAE3C,IAAI,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC,MAAM,KAAK,CAAC,EAAE;QACvD,OAAO,OAAO,CAAC,gBAAgB,CAAC,CAAC;KAClC;AACH,CAAC;AAED,SAAS,cAAc,CAAC,WAA+B,EAAE,OAAuB;;IAC9E,IAAI,WAAW,CAAC,MAAM,IAAI,CAAA,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,OAAO,0CAAE,GAAG,MAAK,SAAS,EAAE;QAC7D,IAAA,wBAAU,EAAC,2EAA2E,CAAC,CAAC;KACzF;SAAM;QACL,OAAO,CAAC,IAAI,CAAC,iFAAiF,CAAC,CAAC;QAChG,IAAA,mBAAQ,EAAC,OAAO,EAAE,YAAY,EAAE,IAAI,CAAC,CAAC;KACvC;AACH,CAAC;AAED,KAAK,UAAU,qBAAqB,CAAC,WAA+B,EAAE,OAAuB;;IAC3F,IAAI,WAAW,CAAC,gBAAgB,CAAC,IAAI,OAAO,CAAC,gBAAgB,CAAC,EAAE;QAC9D,cAAc,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;QAErC,IAAI,WAAW,CAAC,gBAAgB,C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|
|
3
|
-
import { BPOptions } from '@qualweb/best-practices';
|
|
4
|
-
import { EvaluationReport } from '@qualweb/core';
|
|
5
|
-
import { EarlReport } from '@qualweb/earl-reporter';
|
|
6
|
-
import { WCAGOptions } from '@qualweb/wcag-techniques';
|
|
7
|
-
interface ACTRJsonFile {
|
|
8
|
-
'act-rules': ACTROptions;
|
|
9
|
-
}
|
|
10
|
-
interface WCAGTJsonFile {
|
|
11
|
-
'wcag-techniques': WCAGOptions;
|
|
12
|
-
}
|
|
13
|
-
interface BPJsonFile {
|
|
14
|
-
'best-practices': BPOptions;
|
|
15
|
-
}
|
|
16
|
-
declare function saveReport(name: string, report: EvaluationReport | EarlReport, overrideName?: boolean): Promise<void>;
|
|
17
|
-
declare function readJsonFile(filePath: string): Promise<ACTRJsonFile | WCAGTJsonFile | BPJsonFile>;
|
|
18
|
-
declare function fileExists(filePath: string): Promise<boolean>;
|
|
19
|
-
export { ACTRJsonFile, WCAGTJsonFile, BPJsonFile, readJsonFile, saveReport, fileExists };
|
|
20
|
-
//# sourceMappingURL=fileUtils.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fileUtils.d.ts","sourceRoot":"","sources":["../../src/lib/fileUtils.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAGvD,UAAU,YAAY;IACpB,WAAW,EAAE,WAAW,CAAC;CAC1B;AAED,UAAU,aAAa;IACrB,iBAAiB,EAAE,WAAW,CAAC;CAChC;AAED,UAAU,UAAU;IAClB,gBAAgB,EAAE,SAAS,CAAC;CAC7B;AAWD,iBAAe,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,gBAAgB,GAAG,UAAU,EAAE,YAAY,UAAQ,GAAG,OAAO,CAAC,IAAI,CAAC,CAKlH;AAED,iBAAS,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,GAAG,aAAa,GAAG,UAAU,CAAC,CAO1F;AAED,iBAAS,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAUtD;AAED,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,UAAU,EAAE,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,CAAC"}
|
package/dist/lib/fileUtils.js
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.fileExists = exports.saveReport = exports.readJsonFile = void 0;
|
|
7
|
-
const fs_1 = __importDefault(require("fs"));
|
|
8
|
-
function writeFile(file, data) {
|
|
9
|
-
return new Promise((resolve, reject) => {
|
|
10
|
-
fs_1.default.writeFile(file, data, (err) => {
|
|
11
|
-
if (err)
|
|
12
|
-
reject(err);
|
|
13
|
-
else
|
|
14
|
-
resolve();
|
|
15
|
-
});
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
async function saveReport(name, report, overrideName = false) {
|
|
19
|
-
const path = process.cwd();
|
|
20
|
-
const filename = overrideName ? name : `${encodeURIComponent(name)}_${new Date().getTime()}.json`;
|
|
21
|
-
await writeFile(`${path}/${filename}`, JSON.stringify(report, null, 2));
|
|
22
|
-
}
|
|
23
|
-
exports.saveReport = saveReport;
|
|
24
|
-
function readJsonFile(filePath) {
|
|
25
|
-
return new Promise((resolve, reject) => {
|
|
26
|
-
fs_1.default.readFile(filePath, (err, data) => {
|
|
27
|
-
if (err)
|
|
28
|
-
reject(err);
|
|
29
|
-
else
|
|
30
|
-
resolve(JSON.parse(data.toString()));
|
|
31
|
-
});
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
exports.readJsonFile = readJsonFile;
|
|
35
|
-
function fileExists(filePath) {
|
|
36
|
-
return new Promise((resolve) => {
|
|
37
|
-
try {
|
|
38
|
-
fs_1.default.access(filePath, () => {
|
|
39
|
-
resolve(true);
|
|
40
|
-
});
|
|
41
|
-
}
|
|
42
|
-
catch (err) {
|
|
43
|
-
resolve(false);
|
|
44
|
-
}
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
exports.fileExists = fileExists;
|
|
48
|
-
//# sourceMappingURL=fileUtils.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fileUtils.js","sourceRoot":"","sources":["../../src/lib/fileUtils.ts"],"names":[],"mappings":";;;;;;AAKA,4CAAoB;AAcpB,SAAS,SAAS,CAAC,IAAY,EAAE,IAAY;IAC3C,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;QACrC,YAAE,CAAC,SAAS,CAAC,IAAI,EAAE,IAAI,EAAE,CAAC,GAAG,EAAE,EAAE;YAC/B,IAAI,GAAG;gBAAE,MAAM,CAAC,GAAG,CAAC,CAAC;;gBAChB,OAAO,EAAE,CAAC;QACjB,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC;AAED,KAAK,UAAU,UAAU,CAAC,IAAY,EAAE,MAAqC,EAAE,YAAY,GAAG,KAAK;IACjG,MAAM,IAAI,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC;IAC3B,MAAM,QAAQ,GAAG,YAAY,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,kBAAkB,CAAC,IAAI,CAAC,IAAI,IAAI,IAAI,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC;IAElG,MAAM,SAAS,CAAC,GAAG,IAAI,IAAI,QAAQ,EAAE,EAAE,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;AAC1E,CAAC;AAuB+D,gCAAU;AArB1E,SAAS,YAAY,CAAC,QAAgB;IACpC,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;QACrC,YAAE,CAAC,QAAQ,CAAC,QAAQ,EAAE,CAAC,GAAG,EAAE,IAAI,EAAE,EAAE;YAClC,IAAI,GAAG;gBAAE,MAAM,CAAC,GAAG,CAAC,CAAC;;gBAChB,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;QAC5C,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC;AAciD,oCAAY;AAZ9D,SAAS,UAAU,CAAC,QAAgB;IAClC,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;QAC7B,IAAI;YACF,YAAE,CAAC,MAAM,CAAC,QAAQ,EAAE,GAAG,EAAE;gBACvB,OAAO,CAAC,IAAI,CAAC,CAAC;YAChB,CAAC,CAAC,CAAC;SACJ;QAAC,OAAO,GAAG,EAAE;YACZ,OAAO,CAAC,KAAK,CAAC,CAAC;SAChB;IACH,CAAC,CAAC,CAAC;AACL,CAAC;AAE2E,gCAAU"}
|
package/dist/lib/options.d.ts
DELETED
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
declare const strings: {};
|
|
2
|
-
declare const modules: string[];
|
|
3
|
-
declare const reports: string[];
|
|
4
|
-
declare const actRules: string[];
|
|
5
|
-
declare const wcagTechniques: string[];
|
|
6
|
-
declare const bps: string[];
|
|
7
|
-
declare const levels: string[];
|
|
8
|
-
declare const principles: string[];
|
|
9
|
-
declare const sections: ({
|
|
10
|
-
content: string;
|
|
11
|
-
raw: boolean;
|
|
12
|
-
header?: undefined;
|
|
13
|
-
optionList?: undefined;
|
|
14
|
-
} | {
|
|
15
|
-
header: string;
|
|
16
|
-
content: string;
|
|
17
|
-
raw?: undefined;
|
|
18
|
-
optionList?: undefined;
|
|
19
|
-
} | {
|
|
20
|
-
header: string;
|
|
21
|
-
content: string[];
|
|
22
|
-
raw?: undefined;
|
|
23
|
-
optionList?: undefined;
|
|
24
|
-
} | {
|
|
25
|
-
header: string;
|
|
26
|
-
optionList: ({
|
|
27
|
-
name: string;
|
|
28
|
-
alias: string;
|
|
29
|
-
type: StringConstructor;
|
|
30
|
-
typeLabel: string;
|
|
31
|
-
description: string;
|
|
32
|
-
multiple?: undefined;
|
|
33
|
-
} | {
|
|
34
|
-
name: string;
|
|
35
|
-
alias: string;
|
|
36
|
-
type: StringConstructor;
|
|
37
|
-
multiple: boolean;
|
|
38
|
-
typeLabel: string;
|
|
39
|
-
description: string;
|
|
40
|
-
} | {
|
|
41
|
-
name: string;
|
|
42
|
-
alias: string;
|
|
43
|
-
type: NumberConstructor;
|
|
44
|
-
typeLabel: string;
|
|
45
|
-
description: string;
|
|
46
|
-
multiple?: undefined;
|
|
47
|
-
} | {
|
|
48
|
-
name: string;
|
|
49
|
-
alias: string;
|
|
50
|
-
description: string;
|
|
51
|
-
type: BooleanConstructor;
|
|
52
|
-
typeLabel?: undefined;
|
|
53
|
-
multiple?: undefined;
|
|
54
|
-
})[];
|
|
55
|
-
content?: undefined;
|
|
56
|
-
raw?: undefined;
|
|
57
|
-
} | {
|
|
58
|
-
header: string;
|
|
59
|
-
optionList: ({
|
|
60
|
-
name: string;
|
|
61
|
-
alias: string;
|
|
62
|
-
description: string;
|
|
63
|
-
type: BooleanConstructor;
|
|
64
|
-
typeLabel?: undefined;
|
|
65
|
-
} | {
|
|
66
|
-
name: string;
|
|
67
|
-
description: string;
|
|
68
|
-
type: BooleanConstructor;
|
|
69
|
-
alias?: undefined;
|
|
70
|
-
typeLabel?: undefined;
|
|
71
|
-
} | {
|
|
72
|
-
name: string;
|
|
73
|
-
description: string;
|
|
74
|
-
typeLabel: string;
|
|
75
|
-
type: StringConstructor;
|
|
76
|
-
alias?: undefined;
|
|
77
|
-
} | {
|
|
78
|
-
name: string;
|
|
79
|
-
description: string;
|
|
80
|
-
typeLabel: string;
|
|
81
|
-
type: BooleanConstructor;
|
|
82
|
-
alias?: undefined;
|
|
83
|
-
} | {
|
|
84
|
-
name: string;
|
|
85
|
-
description: string;
|
|
86
|
-
type: NumberConstructor;
|
|
87
|
-
alias?: undefined;
|
|
88
|
-
typeLabel?: undefined;
|
|
89
|
-
})[];
|
|
90
|
-
content?: undefined;
|
|
91
|
-
raw?: undefined;
|
|
92
|
-
} | {
|
|
93
|
-
header: string;
|
|
94
|
-
optionList: {
|
|
95
|
-
name: string;
|
|
96
|
-
typeLabel: string;
|
|
97
|
-
type: StringConstructor;
|
|
98
|
-
multiple: boolean;
|
|
99
|
-
description: string;
|
|
100
|
-
}[];
|
|
101
|
-
content?: undefined;
|
|
102
|
-
raw?: undefined;
|
|
103
|
-
})[];
|
|
104
|
-
declare const optionList: ({
|
|
105
|
-
name: string;
|
|
106
|
-
alias: string;
|
|
107
|
-
description: string;
|
|
108
|
-
type: BooleanConstructor;
|
|
109
|
-
typeLabel?: undefined;
|
|
110
|
-
} | {
|
|
111
|
-
name: string;
|
|
112
|
-
description: string;
|
|
113
|
-
type: BooleanConstructor;
|
|
114
|
-
alias?: undefined;
|
|
115
|
-
typeLabel?: undefined;
|
|
116
|
-
} | {
|
|
117
|
-
name: string;
|
|
118
|
-
description: string;
|
|
119
|
-
typeLabel: string;
|
|
120
|
-
type: StringConstructor;
|
|
121
|
-
alias?: undefined;
|
|
122
|
-
} | {
|
|
123
|
-
name: string;
|
|
124
|
-
description: string;
|
|
125
|
-
typeLabel: string;
|
|
126
|
-
type: BooleanConstructor;
|
|
127
|
-
alias?: undefined;
|
|
128
|
-
} | {
|
|
129
|
-
name: string;
|
|
130
|
-
description: string;
|
|
131
|
-
type: NumberConstructor;
|
|
132
|
-
alias?: undefined;
|
|
133
|
-
typeLabel?: undefined;
|
|
134
|
-
} | {
|
|
135
|
-
name: string;
|
|
136
|
-
typeLabel: string;
|
|
137
|
-
type: StringConstructor;
|
|
138
|
-
multiple: boolean;
|
|
139
|
-
description: string;
|
|
140
|
-
} | {
|
|
141
|
-
name: string;
|
|
142
|
-
alias: string;
|
|
143
|
-
type: StringConstructor;
|
|
144
|
-
typeLabel: string;
|
|
145
|
-
description: string;
|
|
146
|
-
multiple?: undefined;
|
|
147
|
-
} | {
|
|
148
|
-
name: string;
|
|
149
|
-
alias: string;
|
|
150
|
-
type: NumberConstructor;
|
|
151
|
-
typeLabel: string;
|
|
152
|
-
description: string;
|
|
153
|
-
multiple?: undefined;
|
|
154
|
-
})[];
|
|
155
|
-
export { optionList, sections, strings, actRules, wcagTechniques, bps, reports, levels, principles, modules };
|
|
156
|
-
//# sourceMappingURL=options.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../src/lib/options.ts"],"names":[],"mappings":"AAQA,QAAA,MAAM,OAAO,IAAK,CAAC;AACnB,QAAA,MAAM,OAAO,UAA4D,CAAC;AAC1E,QAAA,MAAM,OAAO,UAAqB,CAAC;AACnC,QAAA,MAAM,QAAQ,UAAuD,CAAC;AACtE,QAAA,MAAM,cAAc,UAiCnB,CAAC;AACF,QAAA,MAAM,GAAG,UAgBR,CAAC;AACF,QAAA,MAAM,MAAM,UAAqB,CAAC;AAClC,QAAA,MAAM,UAAU,UAA0D,CAAC;AA6L3E,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA+Bb,CAAC;AAEF,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAA8C,CAAC;AAE/D,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,CAAC"}
|
package/dist/lib/options.js
DELETED
|
@@ -1,299 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.modules = exports.principles = exports.levels = exports.reports = exports.bps = exports.wcagTechniques = exports.actRules = exports.strings = exports.sections = exports.optionList = void 0;
|
|
7
|
-
const act_rules_options_json_1 = __importDefault(require("./act-rules.options.json"));
|
|
8
|
-
const header = ` _____ _____ _____ __ _ _ _ _____ _____ _____ __ _____
|
|
9
|
-
| | | | _ | | | | | | __| __ | | | | | |
|
|
10
|
-
| | | | | | |__| | | | __| __ -| | --| |__|- -|
|
|
11
|
-
|__ _|_____|__|__|_____|_____|_____|_____| |_____|_____|_____|
|
|
12
|
-
|__| `;
|
|
13
|
-
const strings = {};
|
|
14
|
-
exports.strings = strings;
|
|
15
|
-
const modules = ['act', 'html', 'css', 'bp', 'counter'];
|
|
16
|
-
exports.modules = modules;
|
|
17
|
-
const reports = ['earl', 'earl-a'];
|
|
18
|
-
exports.reports = reports;
|
|
19
|
-
const actRules = [...act_rules_options_json_1.default.qualweb_id, ...act_rules_options_json_1.default.act_id];
|
|
20
|
-
exports.actRules = actRules;
|
|
21
|
-
const wcagTechniques = [
|
|
22
|
-
'QW-WCAG-T1',
|
|
23
|
-
'QW-WCAG-T2',
|
|
24
|
-
'QW-WCAG-T3',
|
|
25
|
-
'QW-WCAG-T4',
|
|
26
|
-
'QW-WCAG-T5',
|
|
27
|
-
'QW-WCAG-T6',
|
|
28
|
-
'QW-WCAG-T7',
|
|
29
|
-
'QW-WCAG-T8',
|
|
30
|
-
'QW-WCAG-T9',
|
|
31
|
-
'QW-WCAG-T10',
|
|
32
|
-
'QW-WCAG-T11',
|
|
33
|
-
'QW-WCAG-T12',
|
|
34
|
-
'QW-WCAG-T13',
|
|
35
|
-
'QW-WCAG-T14',
|
|
36
|
-
'QW-WCAG-T15',
|
|
37
|
-
'QW-WCAG-T16',
|
|
38
|
-
'QW-WCAG-T17',
|
|
39
|
-
'QW-WCAG-T18',
|
|
40
|
-
'QW-WCAG-T19',
|
|
41
|
-
'QW-WCAG-T20',
|
|
42
|
-
'QW-WCAG-T21',
|
|
43
|
-
'QW-WCAG-T22',
|
|
44
|
-
'QW-WCAG-T23',
|
|
45
|
-
'QW-WCAG-T24',
|
|
46
|
-
'QW-WCAG-T25',
|
|
47
|
-
'QW-WCAG-T26',
|
|
48
|
-
'QW-WCAG-T27',
|
|
49
|
-
'QW-WCAG-T28',
|
|
50
|
-
'QW-WCAG-T29',
|
|
51
|
-
'QW-WCAG-T30',
|
|
52
|
-
'QW-WCAG-T31',
|
|
53
|
-
'QW-WCAG-T32'
|
|
54
|
-
];
|
|
55
|
-
exports.wcagTechniques = wcagTechniques;
|
|
56
|
-
const bps = [
|
|
57
|
-
'QW-BP1',
|
|
58
|
-
'QW-BP2',
|
|
59
|
-
'QW-BP4',
|
|
60
|
-
'QW-BP5',
|
|
61
|
-
'QW-BP6',
|
|
62
|
-
'QW-BP7',
|
|
63
|
-
'QW-BP8',
|
|
64
|
-
'QW-BP9',
|
|
65
|
-
'QW-BP10',
|
|
66
|
-
'QW-BP11',
|
|
67
|
-
'QW-BP12',
|
|
68
|
-
'QW-BP13',
|
|
69
|
-
'QW-BP15',
|
|
70
|
-
'QW-BP17',
|
|
71
|
-
'QW-BP18'
|
|
72
|
-
];
|
|
73
|
-
exports.bps = bps;
|
|
74
|
-
const levels = ['A', 'AA', 'AAA'];
|
|
75
|
-
exports.levels = levels;
|
|
76
|
-
const principles = ['Perceivable', 'Operable', 'Understandable', 'Robust'];
|
|
77
|
-
exports.principles = principles;
|
|
78
|
-
const viewport = [
|
|
79
|
-
{
|
|
80
|
-
name: 'viewport',
|
|
81
|
-
alias: 'v',
|
|
82
|
-
description: 'Use custom viewport.',
|
|
83
|
-
type: Boolean
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
name: 'mobile',
|
|
87
|
-
description: 'Use mobile mode.',
|
|
88
|
-
type: Boolean
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
name: 'orientation',
|
|
92
|
-
description: 'Orientation of the screen.',
|
|
93
|
-
typeLabel: '{underline portrait or landscape}',
|
|
94
|
-
type: String
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
name: 'user-agent',
|
|
98
|
-
description: 'User agent for the execution.',
|
|
99
|
-
typeLabel: '{underline user agent string}',
|
|
100
|
-
type: Boolean
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
name: 'width',
|
|
104
|
-
description: 'Width of the viewport.',
|
|
105
|
-
type: Number
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
name: 'height',
|
|
109
|
-
description: 'Height of the viewport.',
|
|
110
|
-
type: Number
|
|
111
|
-
}
|
|
112
|
-
];
|
|
113
|
-
const moduleFilters = [
|
|
114
|
-
{
|
|
115
|
-
name: 'act-rules',
|
|
116
|
-
typeLabel: '{underline file-path} or [ QW-ACT-R1 ... QW-ACT-R' + act_rules_options_json_1.default.qualweb_id.length + ' ] or [ ACT Rule ID ]',
|
|
117
|
-
type: String,
|
|
118
|
-
multiple: true,
|
|
119
|
-
description: 'Choose which ACT rules to execute. Can be multiple.'
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
name: 'exclude-act',
|
|
123
|
-
typeLabel: '{underline file-path} or [ QW-ACT-R1 ... QW-ACT-R' + act_rules_options_json_1.default.qualweb_id.length + ' ] or [ ACT Rule ID ]',
|
|
124
|
-
type: String,
|
|
125
|
-
multiple: true,
|
|
126
|
-
description: 'Choose which ACT rules to exclude. Can be multiple.'
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
name: 'act-levels',
|
|
130
|
-
typeLabel: '[ ' + levels.join(' | ') + ' ]',
|
|
131
|
-
type: String,
|
|
132
|
-
multiple: true,
|
|
133
|
-
description: 'Choose which conform levels to evaluate for the act rules only. Can be multiple.'
|
|
134
|
-
},
|
|
135
|
-
{
|
|
136
|
-
name: 'act-principles',
|
|
137
|
-
typeLabel: '[ ' + principles.join(' | ') + ' ]',
|
|
138
|
-
type: String,
|
|
139
|
-
multiple: true,
|
|
140
|
-
description: 'Choose which principles to evaluate for the act rules only. Can be multiple.'
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
name: 'wcag-techniques',
|
|
144
|
-
typeLabel: '{underline file-path} or [ QW-WCAG-T1 ... QW-WCAG-T' + wcagTechniques.length + ' ]',
|
|
145
|
-
type: String,
|
|
146
|
-
multiple: true,
|
|
147
|
-
description: 'Choose which wcag techniques to execute. Can be multiple.'
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
name: 'exclude-wcag',
|
|
151
|
-
typeLabel: '{underline file-path} or [ QW-WCAG-T1 ... QW-WCAG-T' + wcagTechniques.length + ' ]',
|
|
152
|
-
type: String,
|
|
153
|
-
multiple: true,
|
|
154
|
-
description: 'Choose which wcag techniques to exclude. Can be multiple.'
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
name: 'wcag-levels',
|
|
158
|
-
typeLabel: '[ ' + levels.join(' | ') + ' ]',
|
|
159
|
-
type: String,
|
|
160
|
-
multiple: true,
|
|
161
|
-
description: 'Choose which conform levels to evaluate for the wcag techniques only. Can be multiple.'
|
|
162
|
-
},
|
|
163
|
-
{
|
|
164
|
-
name: 'wcag-principles',
|
|
165
|
-
typeLabel: '[ ' + principles.join(' | ') + ' ]',
|
|
166
|
-
type: String,
|
|
167
|
-
multiple: true,
|
|
168
|
-
description: 'Choose which principles to evaluate for the wcag techniques only. Can be multiple.'
|
|
169
|
-
},
|
|
170
|
-
{
|
|
171
|
-
name: 'best-practices',
|
|
172
|
-
typeLabel: '{underline file-path} or [ QW-BP1 ... QW-BP' + bps.length + ' ]',
|
|
173
|
-
type: String,
|
|
174
|
-
multiple: true,
|
|
175
|
-
description: 'Choose which best-practices to execute. Can be multiple.'
|
|
176
|
-
},
|
|
177
|
-
{
|
|
178
|
-
name: 'exclude-bp',
|
|
179
|
-
typeLabel: '{underline file-path} or [ QW-BP1 ... QW-BP' + bps.length + ' ]',
|
|
180
|
-
type: String,
|
|
181
|
-
multiple: true,
|
|
182
|
-
description: 'Choose which best-practices to exclude. Can be multiple.'
|
|
183
|
-
}
|
|
184
|
-
];
|
|
185
|
-
const options = [
|
|
186
|
-
{
|
|
187
|
-
name: 'url',
|
|
188
|
-
alias: 'u',
|
|
189
|
-
type: String,
|
|
190
|
-
typeLabel: '{underline url}',
|
|
191
|
-
description: 'Url to evaluate.'
|
|
192
|
-
},
|
|
193
|
-
{
|
|
194
|
-
name: 'file',
|
|
195
|
-
alias: 'f',
|
|
196
|
-
type: String,
|
|
197
|
-
typeLabel: '{underline path-to-file}',
|
|
198
|
-
description: 'File with urls to evaluate.'
|
|
199
|
-
},
|
|
200
|
-
{
|
|
201
|
-
name: 'crawl',
|
|
202
|
-
alias: 'c',
|
|
203
|
-
type: String,
|
|
204
|
-
typeLabel: '{underline domain}',
|
|
205
|
-
description: 'Domain to crawl.'
|
|
206
|
-
},
|
|
207
|
-
{
|
|
208
|
-
name: 'module',
|
|
209
|
-
alias: 'm',
|
|
210
|
-
type: String,
|
|
211
|
-
multiple: true,
|
|
212
|
-
typeLabel: '[ ' + modules.join(' | ') + ' ]',
|
|
213
|
-
description: 'Choose which modules to execute. Can be multiple'
|
|
214
|
-
},
|
|
215
|
-
{
|
|
216
|
-
name: 'report-type',
|
|
217
|
-
alias: 'r',
|
|
218
|
-
type: String,
|
|
219
|
-
typeLabel: '[ ' + reports.join(' | ') + ' ]',
|
|
220
|
-
description: 'Convert the evaluation to `earl` or `earl-a` (earl-aggregated).'
|
|
221
|
-
},
|
|
222
|
-
{
|
|
223
|
-
name: 'save-name',
|
|
224
|
-
alias: 's',
|
|
225
|
-
type: String,
|
|
226
|
-
typeLabel: '{underline name}',
|
|
227
|
-
description: 'The name to save the aggregated earl reports (earl-a).'
|
|
228
|
-
},
|
|
229
|
-
{
|
|
230
|
-
name: 'timeout',
|
|
231
|
-
alias: 't',
|
|
232
|
-
type: Number,
|
|
233
|
-
typeLabel: '{underline number}',
|
|
234
|
-
description: 'Timeout for loading page.'
|
|
235
|
-
},
|
|
236
|
-
{
|
|
237
|
-
name: 'waitUntil',
|
|
238
|
-
alias: 'w',
|
|
239
|
-
type: String,
|
|
240
|
-
typeLabel: '[ load | domcontentloaded | networkidle0 | networkidle2 ]',
|
|
241
|
-
description: 'Specify which events to wait before starting the evaluation. Can be multiple.'
|
|
242
|
-
},
|
|
243
|
-
{
|
|
244
|
-
name: 'maxParallelEvaluations',
|
|
245
|
-
alias: 'p',
|
|
246
|
-
type: Number,
|
|
247
|
-
typeLabel: '{underline number}',
|
|
248
|
-
description: 'Evaluates multiples urls at the same time.'
|
|
249
|
-
},
|
|
250
|
-
{
|
|
251
|
-
name: 'json',
|
|
252
|
-
alias: 'j',
|
|
253
|
-
type: String,
|
|
254
|
-
typeLabel: '{underline path-to-json}',
|
|
255
|
-
description: 'Loads a json file with the configs to execute.'
|
|
256
|
-
},
|
|
257
|
-
{
|
|
258
|
-
name: 'help',
|
|
259
|
-
alias: 'h',
|
|
260
|
-
description: 'Print this usage guide.',
|
|
261
|
-
type: Boolean
|
|
262
|
-
}
|
|
263
|
-
];
|
|
264
|
-
const sections = [
|
|
265
|
-
{
|
|
266
|
-
content: header,
|
|
267
|
-
raw: true
|
|
268
|
-
},
|
|
269
|
-
{
|
|
270
|
-
header: 'QualWeb CLI',
|
|
271
|
-
content: 'QualWeb command line interface.'
|
|
272
|
-
},
|
|
273
|
-
{
|
|
274
|
-
header: 'Usage',
|
|
275
|
-
content: [
|
|
276
|
-
'$ qw [OPTION] ...',
|
|
277
|
-
'$ qw [OPTION] ... [-r] ...',
|
|
278
|
-
'$ qw [-m] act [-act-rules | -act-levels | -act-principles] ...',
|
|
279
|
-
'$ qw [-m] wcag [-wcag-techniques | -wcag-levels | -wcag-principles] ...',
|
|
280
|
-
'$ qw [-m] bp [-best-practices] ...'
|
|
281
|
-
]
|
|
282
|
-
},
|
|
283
|
-
{
|
|
284
|
-
header: 'Options',
|
|
285
|
-
optionList: options
|
|
286
|
-
},
|
|
287
|
-
{
|
|
288
|
-
header: 'Viewport Options',
|
|
289
|
-
optionList: viewport
|
|
290
|
-
},
|
|
291
|
-
{
|
|
292
|
-
header: 'Module Filters',
|
|
293
|
-
optionList: moduleFilters
|
|
294
|
-
}
|
|
295
|
-
];
|
|
296
|
-
exports.sections = sections;
|
|
297
|
-
const optionList = [...options, ...viewport, ...moduleFilters];
|
|
298
|
-
exports.optionList = optionList;
|
|
299
|
-
//# sourceMappingURL=options.js.map
|
package/dist/lib/options.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"options.js","sourceRoot":"","sources":["../../src/lib/options.ts"],"names":[],"mappings":";;;;;;AAAA,sFAAoD;AAEpD,MAAM,MAAM,GAAG;;;;iEAIkD,CAAC;AAElE,MAAM,OAAO,GAAG,EAAE,CAAC;AAwRY,0BAAO;AAvRtC,MAAM,OAAO,GAAG,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAoB,SAAS,CAAC,CAAC;AAuR0B,0BAAO;AAtR3G,MAAM,OAAO,GAAG,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;AAsRoC,0BAAO;AArR9E,MAAM,QAAQ,GAAG,CAAC,GAAG,gCAAY,CAAC,UAAU,EAAE,GAAG,gCAAY,CAAC,MAAM,CAAC,CAAC;AAqR9B,4BAAQ;AApRhD,MAAM,cAAc,GAAG;IACrB,YAAY;IACZ,YAAY;IACZ,YAAY;IACZ,YAAY;IACZ,YAAY;IACZ,YAAY;IACZ,YAAY;IACZ,YAAY;IACZ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AC3C;IACD;QACE,MAAM,EAAE,OAAO;QACf,OAAO,EAAE;YACP,mBAAmB;YACnB,4BAA4B;YAC5B,gEAAgE;YAChE,yEAAyE;YACzE,oCAAoC;SACrC;KACF;IACD;QACE,MAAM,EAAE,SAAS;QACjB,UAAU,EAAE,OAAO;KACpB;IACD;QACE,MAAM,EAAE,kBAAkB;QAC1B,UAAU,EAAE,QAAQ;KACrB;IACD;QACE,MAAM,EAAE,gBAAgB;QACxB,UAAU,EAAE,aAAa;KAC1B;CACF,CAAC;AAImB,4BAAQ;AAF7B,MAAM,UAAU,GAAG,CAAC,GAAG,OAAO,EAAE,GAAG,QAAQ,EAAE,GAAG,aAAa,CAAC,CAAC;AAEtD,gCAAU"}
|
package/dist/lib/parser.d.ts
DELETED
package/dist/lib/parser.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"parser.d.ts","sourceRoot":"","sources":["../../src/lib/parser.ts"],"names":[],"mappings":";AAQA,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAsH/C,iBAAe,KAAK,IAAI,OAAO,CAAC,cAAc,CAAC,CAmD9C;AAED,SAAS,KAAK,CAAC"}
|