@public-ui/visual-tests 2.2.24-rc.1 → 2.2.24-rc.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 +9 -5
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -15,16 +15,20 @@ It takes screenshots of every component defined in the [React Sample App](https:
|
|
|
15
15
|
|
|
16
16
|
## Installation
|
|
17
17
|
|
|
18
|
-
It is recommended to configure
|
|
18
|
+
It is recommended to configure npm via `.npmrc`:
|
|
19
19
|
|
|
20
20
|
```bash
|
|
21
|
-
# - npm
|
|
22
21
|
engine-strict=true
|
|
23
22
|
save-exact=true
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
pnpm reads its settings from `pnpm-workspace.yaml`:
|
|
24
26
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
27
|
+
```yaml
|
|
28
|
+
engineStrict: true
|
|
29
|
+
saveExact: true
|
|
30
|
+
shamefullyHoist: true # this is required for the visual tests to work
|
|
31
|
+
workspaceConcurrency: 1
|
|
28
32
|
```
|
|
29
33
|
|
|
30
34
|
You can install the `KoliBri` Visual Tests with `npm`, `pnpm` or `yarn`:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@public-ui/visual-tests",
|
|
3
|
-
"version": "2.2.24-rc.
|
|
3
|
+
"version": "2.2.24-rc.2",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"homepage": "https://public-ui.github.io",
|
|
6
6
|
"repository": {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"email": "kolibri@itzbund.de"
|
|
17
17
|
},
|
|
18
18
|
"engines": {
|
|
19
|
-
"pnpm": "^
|
|
19
|
+
"pnpm": "^12"
|
|
20
20
|
},
|
|
21
21
|
"type": "module",
|
|
22
22
|
"sideEffects": false,
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
"kolibri-visual-test": "src/index.js"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
+
"@public-ui/sample-react": "2.2.24-rc.2",
|
|
28
29
|
"axe-playwright": "2.2.2",
|
|
29
30
|
"http-server": "14.1.1",
|
|
30
|
-
"portfinder": "1.0.38"
|
|
31
|
-
"@public-ui/sample-react": "2.2.24-rc.1"
|
|
31
|
+
"portfinder": "1.0.38"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@babel/eslint-parser": "7.29.7",
|