Skip to content

Conversation

@cacieprins
Copy link
Contributor

@cacieprins cacieprins commented Feb 9, 2026

  • Migrates @cypress/code-coverage to typescript, building with tsc for both cjs and esm projects
  • Removes dead code relating to Cypress <v10
  • Resolves CI issues with windows tests
  • Makes use of type hints for coverage data & placeholder object manipulation
  • Adds a test app for esm integration host projects

Note

Medium Risk
Touches the published module entrypoints and build/CI pipeline, so release-time packaging and runtime compatibility (Cypress plugin hooks, coverage merging) are the main risks despite largely type-focused refactors.

Overview
Migrates the package implementation from JS/CommonJS sources to a TypeScript build output. Core entrypoints (task, plugins, support, use-babelrc, and middleware) are rewritten/typed in TS and package.json now exports from dist/ via a new tsc build (tsconfig.json, build/prepublishOnly, updated prettier globs).

CI is reworked to build once and reuse dist across jobs (new build-dist, renamed/reshaped matrix verify-test-apps, Windows job now builds + installs test app deps). Adds a new test-apps/esm-example and documents it in the README.

Coverage utilities and tests are updated for the TS migration (typed NYC/coverage objects, js-yaml load API, simplified support-file filtering, vitest coverage include paths, and TS test rewrites), plus dependency updates for TypeScript and type packages.

Written by Cursor Bugbot for commit f195a06. This will update automatically on new commits. Configure here.

@cacieprins cacieprins requested a review from mschile February 9, 2026 19:01
@cacieprins cacieprins self-assigned this Feb 9, 2026
Base automatically changed from post-expose/vitest to breaking/cy-expose-config February 9, 2026 20:46
@cacieprins cacieprins force-pushed the post-expose/typescript branch from b38d38c to acb0816 Compare February 9, 2026 21:03
@mschile
Copy link
Contributor

mschile commented Feb 10, 2026

@cursor review

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

@cacieprins cacieprins merged commit 63d9632 into breaking/cy-expose-config Feb 10, 2026
25 checks passed
@cacieprins cacieprins deleted the post-expose/typescript branch February 10, 2026 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants