Skip to content

Commit

Permalink
feat(testing): updates cypress and @cypress/webpack-dev-server (#22902)
Browse files Browse the repository at this point in the history
Updates `cypress` and `@cypress/webpack-dev-server` versions in
preparation to support the upcoming Angular v18, which requires support
for `webpack-dev-server` v5. The new versions are backwards compatible,
so they can be updated in advance.

<!-- Please make sure you have read the submission guidelines before
posting an PR -->
<!--
https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr
-->

<!-- Please make sure that your commit message follows our format -->
<!-- Example: `fix(nx): must begin with lowercase` -->

## Current Behavior
<!-- This is the behavior we have today -->

## Expected Behavior
<!-- This is the behavior we should expect with the changes in this PR
-->

## Related Issue(s)
<!-- Please link the issue being fixed so it gets closed when this is
merged. -->
<!-- Fixes NXP-705 -->

Fixes #
  • Loading branch information
leosvelperez committed May 7, 2024
1 parent 53693fd commit 8160f58
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
16 changes: 16 additions & 0 deletions packages/cypress/migrations.json
Expand Up @@ -82,6 +82,22 @@
"alwaysAddToPackageJson": false
}
}
},
"19.1.0": {
"version": "19.1.0-beta.0",
"requires": {
"cypress": "^13.0.0"
},
"packages": {
"cypress": {
"version": "^13.8.0",
"alwaysAddToPackageJson": false
},
"@cypress/webpack-dev-server": {
"version": "^3.8.0",
"alwaysAddToPackageJson": false
}
}
}
}
}
5 changes: 2 additions & 3 deletions packages/cypress/src/utils/versions.ts
Expand Up @@ -2,8 +2,7 @@ export const nxVersion = require('../../package.json').version;
export const eslintPluginCypressVersion = '^2.13.4';
export const typesNodeVersion = '18.16.9';
export const cypressViteDevServerVersion = '^2.2.1';
export const cypressVersion = '^13.6.6';
export const cypressWebpackVersion = '^2.0.0';
export const webpackHttpPluginVersion = '^5.5.0';
export const cypressVersion = '^13.8.0';
export const cypressWebpackVersion = '^3.8.0';
export const viteVersion = '~5.0.0';
export const htmlWebpackPluginVersion = '^5.5.0';

0 comments on commit 8160f58

Please sign in to comment.