{"id":22400112,"url":"https://github.com/currents-dev/currents-nx-example","last_synced_at":"2026-02-09T20:41:24.698Z","repository":{"id":42453873,"uuid":"429729668","full_name":"currents-dev/currents-nx-example","owner":"currents-dev","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-11T02:03:27.000Z","size":2762,"stargazers_count":0,"open_issues_count":9,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-29T21:26:43.623Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/currents-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-11-19T08:53:08.000Z","updated_at":"2024-11-19T06:58:58.000Z","dependencies_parsed_at":"2025-07-22T23:44:54.556Z","dependency_job_id":null,"html_url":"https://github.com/currents-dev/currents-nx-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/currents-dev/currents-nx-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/currents-dev%2Fcurrents-nx-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/currents-dev%2Fcurrents-nx-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/currents-dev%2Fcurrents-nx-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/currents-dev%2Fcurrents-nx-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/currents-dev","download_url":"https://codeload.github.com/currents-dev/currents-nx-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/currents-dev%2Fcurrents-nx-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29280432,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-09T19:05:41.198Z","status":"ssl_error","status_checked_at":"2026-02-09T19:05:37.449Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-05T08:11:26.136Z","updated_at":"2026-02-09T20:41:24.678Z","avatar_url":"https://github.com/currents-dev.png","language":"TypeScript","readme":"# currents-nx-example\n\nExample of using [`@currents/nx`](https://www.npmjs.com/package/@currents/nx) plugin for integrating cypress with alternative orchestration services - [Currents](https://currents.dev) and [Sorry Cypress](https://sorry-cypress.dev)\n\n## Walkthrough\n\n[`@currents/nx`](https://github.com/currents-dev/currents-nx/tree/main) is an NX plugin that runs cypress tests with the provided configuration options while using alternative orchestration services.\n\nYou can recreate the example following the next steps.\n\n```sh\n\n# Create an \"empty\" workspace\nnpx create-nx-workspace@latest currents-nx-example\ncd currents-nx-example\n\n# Create a dummy web project, choose any CSS styling\n# That will create a new project with `@nrwl/cypress` pre-installed and configured\nnpm i -D @nx/web\nnx g @nx/web:app frontend\n\n# Install @currents/nx\nnpm i -D @currents/nx\n\n# Configure a new target in apps/frontend-e2e/project.json\nvim apps/frontend-e2e/project.json\n```\n\nSet executor value to `\"@currents/nx:currents\"`\n\n```json\n{\n  \"executor\": \"@currents/nx:currents\",\n  \"options\": {\n    \"record\": true,\n    \"parallel\": true,\n    \"cypressConfig\": \"apps/app-e2e/cypres.config.ts\",\n    \"devServerTarget\": \"my-react-app:serve\",\n    \"testingType\": \"e2e\"\n  }\n}\n```\n\n- Get `projectId` and `recordKey` from https://app.currents.dev\n- Update the projectId in `cypress.config.js` file\n- Set the key either in configuration or as CLI flag\n\nNow you can start recording your tests to Currents or Sorry Cypress.\n\n```sh\nnx run frontend-e2e:currents --record --key \u003ckey\u003e --ci-build-id hello-currents-nx\n```\n\nWhile having those options defined, you can omit the corresponding CLI flags:\n\n```sh\nnx run frontend-e2e:currents  --ci-build-id hello-currents-nx-001\n```\n\n### Misc\n\n- Learn more about [Parallelizing Cypress](https://currents.dev/readme/guides/parallelization) tests\n- Explore how to use [CI Build ID](https://currents.dev/readme/guides/cypress-ci-build-id) to organize your builds\n\nHere's a visual example of this demo project sending the results to Currents dashboard\n\n![Kapture 2021-11-19 at 01 14 50](https://user-images.githubusercontent.com/1637928/142597762-3cc0009f-d030-46aa-b273-1c31300c65f6.gif)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcurrents-dev%2Fcurrents-nx-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcurrents-dev%2Fcurrents-nx-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcurrents-dev%2Fcurrents-nx-example/lists"}