mirror of
https://github.com/cypress-io/cypress.git
synced 2026-04-22 15:12:27 -05:00
92e428a357
* chore: add type linting + compilation checks to runner package * empty commit * A bunch of tslint fixes * wow it is building * Fix issue with CT not mounting correctly with comments within it * Fix net-stubbing.ct.ts failures * Fix tslint: disable comment * move target into compilerOptions * fix tslint disable comment * update proxy-logging to undo changes * standardize the tslint:disable comments * fix comment * fix the banner content not displaying and write a test for this situation * fix ct reference * put target to es2020 * actually set the property with replaced title * Update packages/reporter/src/hooks/hook-model.ts Co-authored-by: Ryan Manuel <ryanm@cypress.io> * Fix eslint/tslint settings for system-tests with vue 3 * bump CI cache * update types/react resolution * add return * lint fix * tslint disable for empty blocks * exclude dist files from ts linting * update to exclude all dist folder * exclude dist file * change to await * fix line numbers of stack trace with linting updating vue file --------- Co-authored-by: Ryan Manuel <ryanm@cypress.io>
Runner
This is an old package, deprecated in favor of @packages/app. It has two remaining responsibilities before it can be entirely removed:
- Bundles
@packages/reporterand@packages/drivervia webpack. Once those can be directly imported to@packages/app, we can remove this. - Bundles styles for
@packages/reporter, loaded inmain.scss. Ideally, reporter should import its own styles. - Contains
dom.js, which uses proprietary webpack loaders and cannot easily be imported with Vite (dev server in@packages/app). Oncedom.jsis free of webpack-specific loader code, we should move it to@packages/app. - Contains Cypress Studio Recorder code, which was marked as experimental in Cypress 9.x and won't be part of Cypress 10.x initially. It will return at a later date. Until then, the code will be here. It's not currently used in the app. @see https://github.com/cypress-io/cypress/issues/22870
- Contains Legacy Cypress styles, most of these can likely be removed.
Implicit Dependencies
We have the following implicit dependencies defined in package.json
- @packages/driver
- @packages/config
- @packages/reporter
The source code from these packages are bundled into dist/cypress_runner.js when this package is built. Because of this, we need to specify to Nx that any changes in the source files of the above packages need to invalidate the build cache for this package so that it gets rebuilt.