Skip to content

Commit

Permalink
Merge pull request #293 from javierbrea/chore/update-deps
Browse files Browse the repository at this point in the history
Update deps
  • Loading branch information
javierbrea committed Nov 21, 2023
2 parents 2ba6b89 + 1449600 commit 1ec73b1
Show file tree
Hide file tree
Showing 24 changed files with 8,476 additions and 5,946 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,17 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Removed
### BREAKING CHANGES

## [7.1.0] - 2023-11-21

### Added
- test: Add Cypress v13 tests. Use Cypress 13 in TypeScript tests

### Removed
- test: Drop Cypress 12 tests

### Changed
- chore(deps): Update devDependencies

## [7.0.3] - 2023-08-26

### Fixed
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,17 +241,18 @@ Note: The example above is only valid for Cypress versions lower than 10. Use th

## Tests

To ensure the plugin stability, the current major version is being tested with Cypress major versions 8.x, 9.x, 10.x, 11.x and 12.x, and new releases will be published for each new Cypress minor or major releases, updating the package E2E tests.
To ensure the plugin stability, the current major version is being tested with Cypress major versions 9.x, 10.x, 11.x, 12.x and 13.x, and new releases will be published for each new Cypress minor or major releases, updating the E2E tests.

Minor versions used in the E2E tests can be checked in the `devDependencies` of the `package.json` files of the E2E tests:
* [Cypress v8.x](https://github.com/javierbrea/cypress-fail-fast/blob/main/test-e2e/cypress-variants/cypress-8/package.json)
* [Cypress v9.x](https://github.com/javierbrea/cypress-fail-fast/blob/main/test-e2e/cypress-variants/cypress-9/package.json)
* [Cypress v10.x](https://github.com/javierbrea/cypress-fail-fast/blob/main/test-e2e/cypress-variants/cypress-10/package.json)
* [Cypress v11.x](https://github.com/javierbrea/cypress-fail-fast/blob/main/test-e2e/cypress-variants/cypress-11/package.json)
* [Cypress v12.x](https://github.com/javierbrea/cypress-fail-fast/blob/main/test-e2e/cypress-variants/cypress-12/package.json)
* [Cypress v13.x](https://github.com/javierbrea/cypress-fail-fast/blob/main/test-e2e/cypress-variants/cypress-13/package.json)

Even when current major version may work with previous Cypress versions, it is not tested, so, to be sure it works you should use:
Even when current major version may work with previous Cypress versions, it is not currently tested, so, to be sure it works you should use:

* Cypress 8.x may work, but it was tested until `cypress-fail-fast` 7.0.x
* If you need Cypress 7 support, use `cypress-fail-fast` 6.x
* If you need Cypress 6 support, use `cypress-fail-fast` 5.x
* If you need Cypress 5 or lower, use `cypress-fail-fast` <= 4.x
Expand Down
4,329 changes: 2,756 additions & 1,573 deletions package-lock.json

Large diffs are not rendered by default.

26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cypress-fail-fast",
"version": "7.0.3",
"version": "7.1.0",
"description": "Skip the rest of Cypress tests on first failure",
"keywords": [
"cypress",
Expand Down Expand Up @@ -47,22 +47,22 @@
"chalk": "4.1.2"
},
"devDependencies": {
"@babel/eslint-parser": "7.22.10",
"@stryker-mutator/core": "7.1.1",
"@stryker-mutator/jest-runner": "7.1.1",
"@babel/eslint-parser": "7.23.3",
"@stryker-mutator/core": "7.3.0",
"@stryker-mutator/jest-runner": "7.3.0",
"cross-env": "7.0.3",
"cypress": "12.17.3",
"eslint": "8.47.0",
"cypress": "13.5.1",
"eslint": "8.54.0",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-prettier": "5.0.0",
"eslint-plugin-react": "7.33.1",
"eslint-plugin-prettier": "5.0.1",
"eslint-plugin-react": "7.33.2",
"husky": "8.0.3",
"is-ci": "3.0.1",
"jest": "29.6.2",
"lint-staged": "14.0.0",
"prettier": "3.0.1",
"sinon": "15.2.0",
"typescript": "5.1.6"
"jest": "29.7.0",
"lint-staged": "15.1.0",
"prettier": "3.1.0",
"sinon": "17.0.1",
"typescript": "5.3.2"
},
"lint-staged": {
"*.js": "eslint",
Expand Down
12 changes: 6 additions & 6 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
{
"extends": [
"github>javierbrea/nodejs-ci-cd-shared-config"
"github>javierbrea/renovate-config"
],
"packageRules": [
{
"matchPaths": ["test-e2e/cypress-variants/cypress-8/package.json"],
"matchPackageNames": ["cypress"],
"allowedVersions": "8.x"
},
{
"matchPaths": ["test-e2e/cypress-variants/cypress-9/package.json"],
"matchPackageNames": ["cypress"],
Expand All @@ -28,6 +23,11 @@
"matchPackageNames": ["cypress"],
"allowedVersions": "12.x"
},
{
"matchPaths": ["test-e2e/cypress-variants/cypress-13/package.json"],
"matchPackageNames": ["cypress"],
"allowedVersions": "13.x"
},
{
"matchPaths": ["package.json"],
"matchPackageNames": ["chalk"],
Expand Down
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
sonar.organization=javierbrea
sonar.projectKey=javierbrea_cypress-fail-fast
sonar.projectVersion=7.0.3
sonar.projectVersion=7.1.0

sonar.javascript.file.suffixes=.js
sonar.sourceEncoding=UTF-8
Expand Down
24 changes: 13 additions & 11 deletions test-e2e/commands/support/variants.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,10 @@
const VARIANTS = [
{
name: "Cypress 8",
path: "cypress-8",
version: "8",
typescript: false,
skippable: true,
pluginFile: "preprocessor-babel-config",
copyPlugin: true,
},
{
name: "Cypress 9",
path: "cypress-9",
version: "9",
typescript: false,
skippable: false,
skippable: true,
pluginFile: "preprocessor-babel-config",
copyPlugin: true,
},
Expand All @@ -34,7 +25,7 @@ const VARIANTS = [
version: "11",
isLatest: false,
typescript: false,
skippable: false,
skippable: true,
configFile: "cypress.config.js",
supportFile: "e2e.js",
copyPlugin: false,
Expand All @@ -43,6 +34,17 @@ const VARIANTS = [
name: "Cypress 12",
path: "cypress-12",
version: "12",
isLatest: false,
typescript: false,
skippable: false,
configFile: "cypress.config.js",
supportFile: "e2e.js",
copyPlugin: false,
},
{
name: "Cypress 13",
path: "cypress-13",
version: "13",
isLatest: true,
typescript: false,
skippable: false,
Expand Down
14 changes: 7 additions & 7 deletions test-e2e/cypress-variants/cypress-10/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test-e2e/cypress-variants/cypress-10/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
"mochawesome": "7.1.3",
"mochawesome-merge": "4.3.0",
"mochawesome-report-generator": "6.2.0",
"webpack": "5.88.2"
"webpack": "5.89.0"
}
}
14 changes: 7 additions & 7 deletions test-e2e/cypress-variants/cypress-11/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test-e2e/cypress-variants/cypress-11/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
"mochawesome": "7.1.3",
"mochawesome-merge": "4.3.0",
"mochawesome-report-generator": "6.2.0",
"webpack": "5.88.2"
"webpack": "5.89.0"
}
}
14 changes: 7 additions & 7 deletions test-e2e/cypress-variants/cypress-12/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test-e2e/cypress-variants/cypress-12/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
"mochawesome": "7.1.3",
"mochawesome-merge": "4.3.0",
"mochawesome-report-generator": "6.2.0",
"webpack": "5.88.2"
"webpack": "5.89.0"
}
}

0 comments on commit 1ec73b1

Please sign in to comment.