Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@currents/nx

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@currents/nx

Currents plugin for Nx

  • 0.2.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3.9K
increased by22.94%
Maintainers
1
Weekly downloads
 
Created
Source

@currents/nx

NX plugin for running cypress tests on Currents.dev

Setup

Install @currents/nx

npm i --save-dev @currents/nx

Add currents target to your project configuration


{
// ...
"targets": {
  "currents": {
    "executor": "@currents/nx:currents",
    "options": {
      "cypressExecutor": "e2e" // target name that runs "@nrwl/cypress:cypress"
    }
  },
 "e2e": {
    "executor": "@nrwl/cypress:cypress",
    "options": {
      // ...
    },
    "configurations": {
      // ...
    }
  }
}
// ...

Run cypress tests, using Currents.dev as a dashboard

nx run project:currents --group nx --record --key <key> --ci-build-id hello-currents-nx
  • The plugin requires an already installed @nrwl/cypress and a configured target that's running @nrwl/cypress:cypress
  • @currents/nx:currents will run @nrwl/cypress:cypress behind the scenes
  • You can set predefined options in target definition
  • Update your cypress.json file with projectId obtained at https://app.currents.dev
  • Use the record key obtained at https://app.currents.dev

Example

See https://github.com/currents-dev/currents-nx-example for example integration

Keywords

FAQs

Package last updated on 07 Dec 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc