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

nx-cloud

Package Overview
Dependencies
Maintainers
2
Versions
153
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nx-cloud

Distributed caching and task execution for Lerna and Nx

  • 16.0.2
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
2
Weekly downloads
 
Created

What is nx-cloud?

nx-cloud is an npm package that provides cloud-based caching and distributed task execution for Nx workspaces. It helps in speeding up the build process by caching previous builds and distributing tasks across multiple machines.

What are nx-cloud's main functionalities?

Distributed Task Execution

This feature allows you to distribute tasks across multiple machines, speeding up the build process. The code sample demonstrates how to execute a build task for a specific project using nx-cloud.

const { exec } = require('nx-cloud');

exec('build', { project: 'my-app' }).then(() => {
  console.log('Build completed!');
});

Cloud-based Caching

This feature enables cloud-based caching of build artifacts, which can significantly reduce build times by reusing previously cached results. The code sample shows how to cache a build task for a specific project.

const { cache } = require('nx-cloud');

cache('build', { project: 'my-app' }).then(() => {
  console.log('Build cached!');
});

Real-time Monitoring

This feature provides real-time monitoring of task execution, allowing you to track the progress of your builds. The code sample demonstrates how to monitor the progress of a build task.

const { monitor } = require('nx-cloud');

monitor('build', { project: 'my-app' }).on('progress', (progress) => {
  console.log(`Build progress: ${progress}%`);
});

Other packages similar to nx-cloud

Keywords

FAQs

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