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

@nrwl/workspace

Package Overview
Dependencies
Maintainers
7
Versions
1653
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nrwl/workspace

The Workspace plugin contains executors and generators that are useful for any Nx workspace. It should be present in every Nx workspace and other plugins build on it.

  • 0.0.0-pr-27957-7e3588c
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.9M
decreased by-10.1%
Maintainers
7
Weekly downloads
 
Created

What is @nrwl/workspace?

The @nrwl/workspace npm package is part of Nx, which is a set of extensible dev tools for monorepos. It provides a consistent dev experience for different tools and frameworks, and it helps with tasks like running tasks, generating components, and managing dependencies within a monorepo.

What are @nrwl/workspace's main functionalities?

Creating a new workspace

This command sets up a new workspace. It's the first step when starting a project with Nx.

npx create-nx-workspace@latest myworkspace

Generating code

This command generates a new React component within a specified project in the workspace.

nx generate @nrwl/react:component my-component --project=myapp

Running tasks

This command builds a specific application within the workspace.

nx run myapp:build

Dependency Graph

This command visualizes the dependency graph of projects in the workspace, helping to understand the structure and dependencies of the monorepo.

nx dep-graph

Running affected commands

This command runs tests only for the projects affected by the latest changes, optimizing the CI process.

nx affected:test

Other packages similar to @nrwl/workspace

Keywords

FAQs

Package last updated on 17 Sep 2024

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