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

@enio.ai/nx-install

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@enio.ai/nx-install

Generator to setup command to install dependencies through npm for each project

  • 0.2.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
9
increased by28.57%
Maintainers
1
Weekly downloads
 
Created
Source

npm NPM npm GitHub contributors (via allcontributors.org) GitHub Sponsors

nx-install is plugin for Nx workspaces to quickly setup a custom install command on your projects. This is especially convenient for running operations on multiple projects dynamically, like running build and test on affected projects, where installing dependencies beforehand is a prerequisite. It is created, maintained, and released as open source under MIT license by a group of passionate individuals in Enio.



Getting Started

Add the plugin to your Nx workspace:

npm install --save-dev @enio.ai/nx-install

Run the following command at the root directory of your workspace. If nx is not setup globaly, you may want to add it as npm script first (see details below) or prefix with npx when using npm. You can also run this command from the Nx Console extension for VSCode.

  nx g @enio.ai/nx-install

Installing Dependencies with nx-install

The previous command will have installed two new scripts in your root workspace package.json.

{
  "scripts": {
    "nx-install": "nx nx-install",
    "nx-install:affected": "nx affected --target=nx-install --all"
  }
}

Then you could run the following commands, where <project> is the name of the project in the nx workspace you want to run it for.

  // Installing dependencies for target project
  npm run nx-install <project>

  
  // Installing dependencies for all affected projects
  npm run nx-install:affected

Contributors


Sponsors

Maintenance of this project is made possible by all the contributors and sponsors. If you'd like to sponsor this project and have your avatar or company logo appear below click here. 💖

(This list will be automatically generated in the future.)

Keywords

FAQs

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