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

nx-ignore

Package Overview
Dependencies
Maintainers
3
Versions
113
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nx-ignore

This package is used on Vercel to ignore builds if a project is not affected.

  • 16.1.3-beta.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
41K
decreased by-2.48%
Maintainers
3
Weekly downloads
 
Created
Source

nx-ignore

This package is used on Vercel to ignore builds if a project is not affected.

Usage

In the Settings > Git section on Vercel, use this script as Ignored Build Step.

npx nx-ignore <project-name>

Nx - Smart, Fast and Extensible Build System

Options

  • --base - Set a custom base SHA to compare changes (defaults to VERCEL_GIT_PREVIOUS_SHA).
  • --plugins - List of Nx plugins required (i.e. plugins that extend the Nx graph). Default plugins are read from nx.json.
  • --root - Set a custom workspace root (defaults to current working directory).
  • --verbose - Log more details information for debugging purposes.

Skipping and forcing deployment

Skip nx-ignore check and ignore deployment:

  • [skip ci]
  • [ci skip]
  • [no ci]
  • [nx skip ]

Skip nx-ignore check and force deployment:

  • [nx deploy]
  • [nx deploy ]

How it works

The nx-ignore command uses Nx to determine whether the current commit affects the specified app. It exits with an error code (1) when the app is affected, which tells Vercel to continue the build, otherwise it exits successfully, which tells Vercel to cancel the build.

Keywords

FAQs

Package last updated on 12 May 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