Socket
Socket
Sign inDemoInstall

@nx/workspace

Package Overview
Dependencies
148
Maintainers
4
Versions
364
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @nx/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.


Version published
Maintainers
4
Install size
22.2 MB
Created

Package description

What is @nx/workspace?

The @nx/workspace npm package is part of the Nx monorepo toolset, which is designed to help developers build and scale applications with a unified approach to code management. It provides powerful tools for project scaffolding, dependency management, and build optimization across multiple frameworks and technologies.

What are @nx/workspace's main functionalities?

Project Scaffolding

This command sets up a new workspace. It's the first step in using Nx to manage a monorepo. The command creates a new directory called 'myworkspace' with all the necessary configuration and setup files.

npx create-nx-workspace@latest myworkspace

Adding applications and libraries

This command adds a new React application named 'myapp' to the workspace. It sets up all the necessary files and configuration specific to React, demonstrating Nx's capability to handle multiple frameworks seamlessly.

nx g @nrwl/react:app myapp

Dependency Graph

Generates a visual graph of the dependencies within the workspace. This helps in understanding how different projects within the monorepo are interconnected, which is crucial for large projects.

nx dep-graph

Other packages similar to @nx/workspace

Readme

Source

Nx - Smart Monorepos · Fast CI

CircleCI License NPM Version Semantic Release Commitizen friendly Join the chat at https://gitter.im/nrwl-nx/community Join us on the Official Nx Discord Server


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.

Getting Started

Creating an Nx Workspace

Using npx

npx create-nx-workspace

Using npm init

npm init nx-workspace

Using yarn create

yarn create nx-workspace

Adding Nx to an Existing Repository

Run:

npx nx@latest init

Documentation & Resources

Nx - Smart Monorepos · Fast CI

Keywords

FAQs

Last updated on 26 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