Socket
Socket
Sign inDemoInstall

@nrwl/tao

Package Overview
Dependencies
141
Maintainers
7
Versions
1306
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @nrwl/tao

CLI for generating code and running commands


Version published
Weekly downloads
4.4M
increased by4.27%
Maintainers
7
Install size
20.6 MB
Created
Weekly downloads
 

Package description

What is @nrwl/tao?

The @nrwl/tao package is part of the Nx monorepo toolset provided by Nrwl. It provides a set of utilities for workspace management, task orchestration, and abstracts away the configuration for building and testing applications. It is designed to help developers create and maintain monorepo setups more efficiently.

What are @nrwl/tao's main functionalities?

Workspace Management

This feature allows you to read the workspace configuration file, which is useful for understanding the structure and configuration of projects within the workspace.

const { readWorkspaceJson } = require('@nrwl/tao/src/core/file-utils');
const workspaceJson = readWorkspaceJson();

Task Orchestration

This feature enables you to programmatically execute tasks such as building or testing a project within the workspace. It is useful for automating workflows and integrating with other tools.

const { runCommand } = require('@nrwl/tao/src/commands/run-command');
runCommand('build', { project: 'my-app' }, { interactive: false });

Configuration Abstraction

This feature provides utility functions to work with the workspace's root path and other configuration details, simplifying the process of setting up and maintaining a monorepo.

const { getWorkspacePath } = require('@nrwl/tao/src/utils/app-root');
const workspacePath = getWorkspacePath();

Other packages similar to @nrwl/tao

Readme

Source

@nrwl/tao has been merged with nx!

@nrwl/tao has been deprecated in favor of nx. Please use that instead.

Read more here

@nrwl/tao will no longer be published in Nx v19.

Nx - Smart Monorepos · Fast CI

Nx: Smart Monorepos · Fast CI

Nx is a build system with built-in tooling and advanced CI capabilities. It helps you maintain and scale monorepos, both locally and on CI.

Keywords

FAQs

Last updated on 17 Apr 2024

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc