@visual-regression-tracker/agent-cypress 5.9.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.
Files changed (2) hide show
  1. package/README.md +9 -1
  2. package/package.json +13 -13
package/README.md CHANGED
@@ -7,7 +7,7 @@ Adds `cy.vrtStart()`, `cy.vrtTrack()` and `cy.vrtStop()` to [Cypress](https://ww
7
7
  ## Requirements
8
8
 
9
9
  - Cypress 12.17.1 or later
10
- - Node.js 18 or later
10
+ - Node.js 26 or later
11
11
  - Visual Regression Tracker server 5.0.8 or later; 6 is recommended
12
12
 
13
13
  ## Install
@@ -170,6 +170,14 @@ Every push to `master` runs [semantic-release](https://semantic-release.gitbook.
170
170
  It then publishes to npm through trusted publishing with provenance, tags `vX.Y.Z`, and writes the GitHub release.
171
171
  The `version` field in `package.json` is a placeholder. The released version lives in the tags and on npm.
172
172
 
173
+ ### Release candidates
174
+
175
+ 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-cypress@next` installs the candidate, and a plain install keeps getting the last stable release. Its GitHub release is marked as a pre-release.
176
+
177
+ Breaking changes go into `next` through pull requests that target it. Merge `master` into `next` when `master` gets new commits.
178
+
179
+ 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.
180
+
173
181
  ## License
174
182
 
175
183
  [Apache-2.0](LICENSE)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visual-regression-tracker/agent-cypress",
3
- "version": "5.9.0",
3
+ "version": "6.0.0-rc.1",
4
4
  "description": "Visual Regression Tracker integration plugin for Cypress",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/",
@@ -9,7 +9,7 @@
9
9
  ],
10
10
  "scripts": {
11
11
  "build": "tsc",
12
- "test": "jest",
12
+ "test": "tsc -p tsconfig.spec.json && vitest run",
13
13
  "semantic-release": "semantic-release"
14
14
  },
15
15
  "repository": {
@@ -28,19 +28,16 @@
28
28
  },
29
29
  "homepage": "https://github.com/Visual-Regression-Tracker/agent-cypress#readme",
30
30
  "engines": {
31
- "node": ">=16.16.0"
31
+ "node": ">=26"
32
32
  },
33
33
  "dependencies": {
34
34
  "@visual-regression-tracker/sdk-js": "^5.8.1"
35
35
  },
36
36
  "devDependencies": {
37
- "@jest/globals": "^30.5.2",
38
- "@types/jest": "^30.0.0",
39
- "@types/node": "^22.20.5",
37
+ "@types/node": "^26.6.6",
40
38
  "cypress": "^16.2.1",
41
- "jest": "^30.5.2",
42
- "ts-jest": "^29.4.15",
43
- "typescript": "^6.0.3"
39
+ "typescript": "^6.0.3",
40
+ "vitest": "^5.1.0"
44
41
  },
45
42
  "peerDependencies": {
46
43
  "cypress": ">=12.17.1"
@@ -48,11 +45,14 @@
48
45
  "publishConfig": {
49
46
  "access": "public"
50
47
  },
51
- "overrides": {
52
- "glob": "^14.0.2",
53
- "minimatch": "^11.0.1"
54
- },
55
48
  "release": {
49
+ "branches": [
50
+ "master",
51
+ {
52
+ "name": "next",
53
+ "prerelease": "rc"
54
+ }
55
+ ],
56
56
  "preset": "conventionalcommits"
57
57
  }
58
58
  }