@riverbankcms/qa 0.2.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/README.md +44 -0
- package/dist/cli.js +2178 -0
- package/dist/cli.js.map +1 -0
- package/package.json +58 -0
package/README.md
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# qa
|
|
2
|
+
|
|
3
|
+
Local TypeScript CLI scaffold.
|
|
4
|
+
|
|
5
|
+
## Development
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
npm install
|
|
9
|
+
npm run dev -- --help
|
|
10
|
+
npm run dev -- https://example.com
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Build
|
|
14
|
+
|
|
15
|
+
```sh
|
|
16
|
+
npm run build
|
|
17
|
+
./dist/cli.js --help
|
|
18
|
+
./dist/cli.js https://example.com
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Outputs
|
|
22
|
+
|
|
23
|
+
Default output root is `qa-output/`. Each run creates a new subdirectory under it (timestamp + slugified URL) containing:
|
|
24
|
+
|
|
25
|
+
- `report.json`
|
|
26
|
+
- `report.html`
|
|
27
|
+
- `run-metadata.json`
|
|
28
|
+
|
|
29
|
+
Phase 4 also writes:
|
|
30
|
+
|
|
31
|
+
- `screenshots/<breakpoint>/*.png`
|
|
32
|
+
|
|
33
|
+
## CI
|
|
34
|
+
|
|
35
|
+
- `--ci` exits non-zero if any `error` issues are found (but still writes reports).
|
|
36
|
+
- `--fail-on none|info|warning|error` controls the failure threshold (default: `none`).
|
|
37
|
+
|
|
38
|
+
## External links
|
|
39
|
+
|
|
40
|
+
External links are off by default. To enable:
|
|
41
|
+
|
|
42
|
+
```sh
|
|
43
|
+
./dist/cli.js https://example.com --external-links true --max-external-links 100
|
|
44
|
+
```
|