Skip to content

chore(deps): update dependencies and CI tooling - #273

Merged
pashidlos merged 1 commit into
masterfrom
chore/deps-update
Oct 24, 2026
Merged

pashidlos merged 1 commit into
masterfrom
chore/deps-update

Conversation

@pashidlos

Copy link
Copy Markdown
Member

Summary

agent-cypress has not been updated since 2023-10. This refreshes dependencies and CI tooling. It is the base for the follow-up that picks up the sdk-js fix for Visual-Regression-Tracker/Visual-Regression-Tracker#486 (cy.vrtStop() does not finish the build).

Supersedes the open Dependabot PRs #248 (jest / @types/jest), #268 (@babel/traverse) and #271 (@types/node). All are included here at newer versions, so they can be closed once this is merged.

Dependencies

package from to
@visual-regression-tracker/sdk-js 5.7.0 5.7.1 (still an exact pin, as decided in #153)
cypress (dev; peer range >=12.17.1 unchanged) 12.17 16.2
typescript 5.1 6.0 (ts-jest does not support 7 yet)
jest / @types/jest 29 30
ts-jest 29.1 29.4
@types/node 16 22
semantic-release 21 25

Plus npm audit fix. The only remaining findings are in the npm copy bundled by @semantic-release/npm (release tooling only).

Config changes needed by the bumps

  • tsconfig.json: TypeScript 6 deprecates moduleResolution: node (node10) and baseUrl, and requires an explicit rootDir. The moduleResolution line is dropped (default resolution, same as sdk-js), baseUrl is replaced by rootDir: ./lib. dist/ layout is unchanged.
  • lib/plugin.ts, lib/types.ts, lib/utils.ts: TypeScript >= 5.5 stopped adding /// <reference types="cypress|node" /> to emitted .d.ts files. They are now written explicitly with preserve="true", so the published typings keep referencing Cypress/Node types as before. I diffed dist/ against a master build: the only differences are this directive's preserve attribute and cosmetic emit changes (export placement, _a temp names, | undefined in optional params).
  • Workflows: Node 22 in CI and release (semantic-release 25 needs ^22.14 || >=24.10, Cypress 16 needs ^22 || ^24), actions/checkout and actions/setup-node v5.

Test plan

  • npm ci && npm run build: passes with no type errors
  • No unit tests exist in this repo yet. The follow-up fix PR adds them.
  • Cypress e2e specs under cypress/ need a running VRT instance, so they were not run.

🤖 Generated with Claude Code

- @visual-regression-tracker/sdk-js 5.7.0 -> 5.7.1 (still pinned exactly)
- cypress 12 -> 16, typescript 5.1 -> 6.0, jest 29 -> 30, @types/jest 30,
  ts-jest 29.4, @types/node 16 -> 22, semantic-release 21 -> 25
  (+ npm audit fix)
- tsconfig: TypeScript 6 deprecates moduleResolution node10 and baseUrl
  and needs an explicit rootDir
- keep the cypress/node reference directives in the published .d.ts
  files (TypeScript >= 5.5 no longer adds them on its own)
- CI/release: Node 22 (semantic-release 25 and Cypress 16 need it),
  checkout and setup-node v5

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@pashidlos
pashidlos merged commit 88f8ac2 into master Oct 24, 2026
1 check passed
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 5.7.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant