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

  • 1.0.0-beta.1
  • 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 using Currents or Sorry Cypress as an orchestration service.

The plugin is intended for usage in CI environments and runs Cypress in headless mode. Please use @nrwl/cypress for running cypress in interactive mode.

Setup

Install @currents/nx

npm i --save-dev @currents/nx

Add target currents to your project configuration:

{
  // ...
  "targets": {
    "currents": {
      "executor": "@currents/nx:currents",
      "options": {
        "record": true,
        "parallel": true,
        "cypressConfig": "apps/app-e2e/cypres.config.ts",
        "devServerTarget": "my-react-app:serve",
        "testingType": "e2e"
      }
    }
  }
  // ...

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.

nx run project:currents --group nx --record --key <key> --ci-build-id hello-currents-nx

Configuration

See the schema.json for the list of available options

Example

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

Migration

Version 1.0.0

  • @nrwl/cypress no longer required - the plugin is a standalone implementation that is not dependent on @nrwl/cypress. Use the available configuration options to configure the execution of cypress runs.

Keywords

FAQs

Package last updated on 10 Jan 2023

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