Skip to content

Commit f90b3cf

Browse files
committed
chore: release v2.0.0
1 parent a98a56a commit f90b3cf

5 files changed

Lines changed: 3704 additions & 7732 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
# [2.0.0-beta.0](https://github.com/currents-dev/currents-nx/compare/0.2.1...v2.0.0-beta.0) (2023-04-04)
1+
# [2.0.0](https://github.com/currents-dev/currents-nx/compare/v2.0.0-beta.0...v2.0.0) (2023-04-05)
22

33
### Feat
44

55
- use cypress-cloud ([#18](https://github.com/currents-dev/currents-nx/issues/18)) ([8bec6fe](https://github.com/currents-dev/currents-nx/commit/8bec6fe1087c5d90bfb297c6346c31f19c5cf81b))
66

77
### BREAKING CHANGES
88

9-
- - Use cypress-cloud as an integration tool
9+
- Use cypress-cloud as an integration tool
1010

11-
* `@nrwl/cypress` no longer required, versions - the plugin is a standalone implementation that is not dependent on `@nrwl/cypress`
11+
- `@nrwl/cypress` no longer required, versions - the plugin is a standalone implementation that is not dependent on `@nrwl/cypress`
1212

1313
## [0.2.1](https://github.com/currents-dev/currents-nx/compare/0.2.0...0.2.1) (2022-12-10)
1414

README.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Debug, troubleshoot and record Cypress CI tests in Cloud
1+
# NX Plugin: Debug, troubleshoot and record Cypress CI tests in Cloud
22

33
[NX](https://nx.dev/) plugin for running cypress tests using [Currents](https://currents.dev) or [Sorry Cypress](https://sorry-cypress.dev).
44

@@ -16,11 +16,12 @@ npx nx run web-e2e:currents --key <recordKey> --ci-build-id hello-currents-nx
1616

1717
## Setup
1818

19-
Install `@currents/nx`
19+
Install npm dependencies:
2020

2121
```sh
22-
npm i --save-dev @currents/nx
23-
npx nx g @currents/nx:init <destination_project>
22+
npm i --save-dev @currents/nx cypress-cloud
23+
# install cypress if needed
24+
npm i --save-dev cypress
2425
```
2526

2627
Add target `currents` to your project configuration:
@@ -35,6 +36,7 @@ Add target `currents` to your project configuration:
3536
"record": true,
3637
"parallel": true,
3738
"cypressConfig": "apps/app-e2e/cypres.config.ts",
39+
// ... start a dev server if needed
3840
"devServerTarget": "my-react-app:serve",
3941
"testingType": "e2e"
4042
}
@@ -48,6 +50,8 @@ Create a new configuration file: `currents.config.js` next to `cypress.config.{j
4850
```js
4951
// currents.config.js
5052
module.exports = {
53+
// Get therecord key from https://app.currents.dev, can be any value for self-hosted instance of Sorry Cypress
54+
recordKey: 'XXX',
5155
// Set the `projectId` and the record key obtained from https://app.currents.dev or your self-hosted instance of Sorry Cypress
5256
projectId: 'Ij0RfK',
5357
// Sorry Cypress users - set the director service URL
@@ -88,7 +92,7 @@ npx nx run web-e2e:currents --key <recordKey> --ci-build-id hello-currents-nx
8892
8993
Options can be configured in `project.json` when defining the executor, or when invoking it. Read more about how to configure targets and executors here: https://nx.dev/reference/project-configuration#targets.
9094
91-
See the [schema.json](./src/executors/schema.json) for the list of available options
95+
See the [schema.json](./packages/nx/src/executors/schema.json) for the list of available options. This plugin uses `cypress-cloud` for integrating cypress to 3rd party services. Please refer to [cypress-cloud documentation](https://github.com/currents-dev/cypress-cloud) for additional details.
9296
9397
## Migration
9498
@@ -105,7 +109,8 @@ See the [schema.json](./src/executors/schema.json) for the list of available opt
105109
Create a new release (changelog, tags + github)
106110
107111
```sh
108-
npx nx release nx
112+
# run this command, review and stage the changelog
113+
cd ./packages/nx && npm run release
109114
```
110115
111116
Releasing beta channel:

0 commit comments

Comments
 (0)