
Security News
NVD Concedes Inability to Keep Pace with Surging CVE Disclosures in 2025
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.
The Nx Plugin for Nest contains executors and generators for allowing your workspace to create powerful Nest best in class APIs.
@nx/nest is an Nx plugin that provides tools and utilities for building and managing NestJS applications within an Nx workspace. It helps streamline the development process by offering generators, executors, and other utilities tailored for NestJS projects.
Generate a new NestJS application
This command generates a new NestJS application within the Nx workspace. It sets up the necessary files and configurations to get started with a NestJS project.
nx generate @nx/nest:application my-app
Generate a new NestJS library
This command creates a new NestJS library within the Nx workspace. Libraries can be shared across multiple applications, promoting code reuse and modularity.
nx generate @nx/nest:library my-lib
Serve a NestJS application
This command starts the NestJS application in development mode, enabling live reload and other development features.
nx serve my-app
Build a NestJS application
This command builds the NestJS application for production, optimizing the output for deployment.
nx build my-app
Test a NestJS application
This command runs the unit tests for the specified NestJS application, ensuring code quality and correctness.
nx test my-app
The @nestjs/cli package provides a command-line interface for creating and managing NestJS projects. While it offers similar functionalities like generating applications and libraries, it is not integrated into the Nx workspace and does not provide the same level of workspace management and tooling as @nx/nest.
The nx package is the core Nx tool that provides a set of extensible dev tools for monorepos, which can be used with various frameworks including Angular, React, and NestJS. While it offers a broader range of functionalities, @nx/nest is specifically tailored for NestJS projects within an Nx workspace.
Lerna is a tool for managing JavaScript projects with multiple packages. It helps in managing monorepos, similar to Nx, but does not provide specific generators and executors for NestJS projects like @nx/nest does.
Nx is a build system, optimized for monorepos, with plugins for popular frameworks and tools and advanced CI capabilities including caching and distribution.
This package is a NestJS plugin for Nx.
Using npx
npx create-nx-workspace
Using npm init
npm init nx-workspace
Using yarn create
yarn create nx-workspace
Run:
npx nx@latest init
FAQs
The Nx Plugin for Nest contains executors and generators for allowing your workspace to create powerful Nest best in class APIs.
We found that @nx/nest demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
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.
Security News
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.
Security Fundamentals
Attackers use obfuscation to hide malware in open source packages. Learn how to spot these techniques across npm, PyPI, Maven, and more.
Security News
Join Socket for exclusive networking events, rooftop gatherings, and one-on-one meetings during BSidesSF and RSA 2025 in San Francisco.