qa360 1.2.1 → 1.2.2
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 +24 -0
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -7,16 +7,40 @@
|
|
|
7
7
|
|
|
8
8
|
## Installation
|
|
9
9
|
|
|
10
|
+
### Option 1: Global installation (recommended for regular use)
|
|
11
|
+
|
|
10
12
|
```bash
|
|
13
|
+
# macOS: use sudo if you get EACCES permission errors
|
|
14
|
+
sudo npm install -g qa360
|
|
15
|
+
|
|
16
|
+
# Or configure npm prefix (one-time setup)
|
|
17
|
+
mkdir -p ~/.npm-global
|
|
18
|
+
npm config set prefix '~/.npm-global'
|
|
19
|
+
echo 'export PATH=~/.npm-global/bin:$PATH' >> ~/.zshrc
|
|
20
|
+
source ~/.zshrc
|
|
11
21
|
npm install -g qa360
|
|
12
22
|
```
|
|
13
23
|
|
|
24
|
+
### Option 2: Direct usage with npx (no installation needed)
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
# Run directly without installing
|
|
28
|
+
npx qa360@latest run test.yml
|
|
29
|
+
npx qa360@latest verify proof.json
|
|
30
|
+
npx qa360@latest doctor
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
**Note**: On first run, Playwright browsers will be automatically downloaded (~100MB). This happens only once.
|
|
34
|
+
|
|
14
35
|
## Usage
|
|
15
36
|
|
|
16
37
|
```bash
|
|
17
38
|
# System health check
|
|
18
39
|
qa360 doctor
|
|
19
40
|
|
|
41
|
+
# Run test pack
|
|
42
|
+
qa360 run test.yml
|
|
43
|
+
|
|
20
44
|
# Verify proof bundle
|
|
21
45
|
qa360 verify proof.json
|
|
22
46
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "qa360",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.2",
|
|
4
4
|
"description": "QA360 Proof CLI - Quality as Cryptographic Proof",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -27,7 +27,8 @@
|
|
|
27
27
|
"prepublishOnly": "npm run build:bundle && sed -i.bak 's/\"qa360-core\": \"workspace:\\*\",//g' package.json && rm -f package.json.bak",
|
|
28
28
|
"postpublish": "git checkout package.json 2>/dev/null || true",
|
|
29
29
|
"publish:dry": "npm run build:bundle && sed -i.bak 's/\"qa360-core\": \"workspace:\\*\",//g' package.json && npm publish --dry-run; git checkout package.json",
|
|
30
|
-
"publish:real": "npm run build:bundle && npm publish --access public
|
|
30
|
+
"publish:real": "npm run build:bundle && npm publish --access public",
|
|
31
|
+
"postinstall": "npx playwright install chromium --with-deps 2>/dev/null || echo 'Playwright browsers will be installed on first run'"
|
|
31
32
|
},
|
|
32
33
|
"dependencies": {
|
|
33
34
|
"@playwright/test": "^1.49.0",
|