mirror of
https://github.com/cypress-io/cypress.git
synced 2026-04-26 00:50:41 -05:00
9b3b023aa051e149a54c10328449aa52992ad45d
ts-node with tsx for parsing user configuration (#31520)
* feat: replace tsnode with tsx for parsing user configuration in all cases * bump ubuntu images from node 18 to 20 as node 18 is not supported in cypress 15 and allows us to not include the 18.19.0 workaround to use --import with tsx inside the ProjectConfigIpc * fix: issues finding tsx on windows as it needs the file:// protocol as absolute drive paths are not recognized as a file protocol in the node context * make sure to filter out stack code correctly for windows * fix: fix flake from windows on reporter menu not expanding (unrelated to this PR and should be merged into develop) * chore: update changelog with all issues tsx cutover closes * fix merge conflicts * chore: add regression tests for cypress projects that previously did not work but now do with tsx * build all binaries * chore: address issues from code review * update changelog * remove todo comment on testing legacy migration with tsx * refactor codeFrame calculation into a util function and add a unit test * updated node versions in project config ipc tests to remove 18 and test threshold / latest values. Removed redundant comments on ts-node.
…
…
breaking: remove support for React 16 and 17 for Cypress Component Testing. Additionally, remove the
cypress/react18 testing harness and merge it upstream with cypress/react (#30590)
Documentation | Changelog | Roadmap
The web has evolved. Finally, testing has too.
Fast, easy and reliable testing for anything that runs in a browser.
Join us, we're hiring.
What is Cypress?
Installing
Install Cypress for Mac, Linux, or Windows, then get started.
npm install cypress --save-dev
or
yarn add cypress --dev
or
pnpm add cypress --save-dev
Contributing
Please see our Contributing Guideline which explains repo organization, linting, testing, and other steps.
License
This project is licensed under the terms of the MIT license.
Badges
Configure a badge for your project's README to show your test status or test count in the Cypress Cloud.
Or let the world know your project is using Cypress with the badge below.
[](https://www.cypress.io/)
Languages
TypeScript
55.2%
JavaScript
37.1%
Vue
4%
HTML
3.1%
SCSS
0.4%
Other
0.2%
