@visual-regression-tracker/agent-codeceptjs 5.0.0 → 6.0.0-rc.1
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 +10 -2
- package/package.json +15 -13
package/README.md
CHANGED
|
@@ -6,8 +6,8 @@ Adds `I.vrtStart()`, `I.vrtTrack()` and `I.vrtStop()` to [CodeceptJS](https://co
|
|
|
6
6
|
|
|
7
7
|
## Requirements
|
|
8
8
|
|
|
9
|
-
- CodeceptJS 3.7+ or 4
|
|
10
|
-
- Node.js
|
|
9
|
+
- CodeceptJS 3.7+ or 4
|
|
10
|
+
- Node.js 26 or later
|
|
11
11
|
- One of the Playwright, Puppeteer, WebDriver or Appium helpers
|
|
12
12
|
- Visual Regression Tracker server 5.0.8 or later; 6 is recommended
|
|
13
13
|
|
|
@@ -193,6 +193,14 @@ Every push to `master` runs [semantic-release](https://semantic-release.gitbook.
|
|
|
193
193
|
It then publishes to npm through trusted publishing with provenance, tags `vX.Y.Z`, and writes the GitHub release.
|
|
194
194
|
The `version` field in `package.json` is a placeholder. The released version lives in the tags and on npm.
|
|
195
195
|
|
|
196
|
+
### Release candidates
|
|
197
|
+
|
|
198
|
+
Every push to `next` releases a pre-release of the next version, `X.Y.Z-rc.N` (`6.0.0-rc.1` once a breaking change is in). It goes to npm under the `next` dist-tag, never `latest`: `npm install @visual-regression-tracker/agent-codeceptjs@next` installs the candidate, and a plain install keeps getting the last stable release. Its GitHub release is marked as a pre-release.
|
|
199
|
+
|
|
200
|
+
Breaking changes go into `next` through pull requests that target it. Merge `master` into `next` when `master` gets new commits.
|
|
201
|
+
|
|
202
|
+
To release the final version, merge `next` into `master` with a merge commit, not a squash, so that semantic-release still sees the breaking commits. That push releases it to `latest`. The repository deletes merged branches, so create `next` again from `master` before the next round of candidates.
|
|
203
|
+
|
|
196
204
|
## License
|
|
197
205
|
|
|
198
206
|
[Apache-2.0](LICENSE)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@visual-regression-tracker/agent-codeceptjs",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.0-rc.1",
|
|
4
4
|
"description": "CodeceptJS helper for Visual Regression Tracker",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
],
|
|
10
10
|
"scripts": {
|
|
11
11
|
"build": "tsc",
|
|
12
|
-
"test": "
|
|
13
|
-
"test:cov": "
|
|
12
|
+
"test": "tsc -p tsconfig.spec.json && vitest run",
|
|
13
|
+
"test:cov": "tsc -p tsconfig.spec.json && vitest run --coverage"
|
|
14
14
|
},
|
|
15
15
|
"repository": {
|
|
16
16
|
"type": "git",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
},
|
|
29
29
|
"homepage": "https://github.com/Visual-Regression-Tracker/agent-codeceptjs#readme",
|
|
30
30
|
"engines": {
|
|
31
|
-
"node": ">=
|
|
31
|
+
"node": ">=26"
|
|
32
32
|
},
|
|
33
33
|
"publishConfig": {
|
|
34
34
|
"access": "public",
|
|
@@ -47,17 +47,19 @@
|
|
|
47
47
|
"@visual-regression-tracker/sdk-js": "^5.8.1"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@types/
|
|
51
|
-
"@
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"typescript": "^6.0.3"
|
|
50
|
+
"@types/node": "^26.6.6",
|
|
51
|
+
"@vitest/coverage-v8": "^5.1.0",
|
|
52
|
+
"typescript": "^6.0.3",
|
|
53
|
+
"vitest": "^5.1.0"
|
|
55
54
|
},
|
|
56
55
|
"release": {
|
|
56
|
+
"branches": [
|
|
57
|
+
"master",
|
|
58
|
+
{
|
|
59
|
+
"name": "next",
|
|
60
|
+
"prerelease": "rc"
|
|
61
|
+
}
|
|
62
|
+
],
|
|
57
63
|
"preset": "conventionalcommits"
|
|
58
|
-
},
|
|
59
|
-
"overrides": {
|
|
60
|
-
"glob": "^14.0.2",
|
|
61
|
-
"minimatch": "^11.0.1"
|
|
62
64
|
}
|
|
63
65
|
}
|