-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: upgrade cypress to 14.0.0 (#35)
* chore: upgrade cypress to 14.0.0 update the specs type for method onSpecsChange update the just in time compile since it's default enabled in cypress 14 * chore: update the test
- Loading branch information
Showing
14 changed files
with
100 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Cypress Rspack Dev Server | ||
|
||
## Project Overview | ||
|
||
This project implements a development server for Cypress using Rspack as the bundler. Here's a comprehensive breakdown of its architecture and components: | ||
|
||
### Core Purpose | ||
- Development server specifically designed for Cypress component testing | ||
- Uses Rspack (Rust-based bundler) as a faster alternative to Webpack | ||
|
||
### Key Components | ||
|
||
1. **devServer.ts** | ||
- Main entry point | ||
- Handles server creation and configuration | ||
- Supports multiple frameworks | ||
- Provides flexible configuration system | ||
|
||
2. **makeRspackConfig.ts** | ||
- Manages Rspack configuration generation | ||
- Handles custom plugin management | ||
- Merges configurations with user settings | ||
- Addresses Cypress-specific requirements | ||
|
||
3. **CypressCTRspackPlugin.ts** | ||
- Custom Rspack plugin for Cypress Component Testing | ||
|
||
4. **createRspackDevServer.ts** | ||
- Manages dev server instance creation and setup | ||
|
||
### Notable Features | ||
- Framework-agnostic design | ||
- Smart configuration merging | ||
- Built-in optimization | ||
- Debug support through 'debug' library | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.