Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
@nrwl/vite
Advanced tools
@nrwl/vite is a plugin for Nx that allows you to use Vite as a build tool for your applications. It integrates Vite with the Nx workspace, enabling you to leverage Vite's fast build times and modern features within the Nx ecosystem.
Vite Configuration
You can configure Vite within your Nx workspace by creating a vite.config.ts file. This allows you to customize Vite's behavior to suit your project's needs.
json
Nx Integration
The @nrwl/vite package integrates seamlessly with Nx, allowing you to use Vite as a build tool for your Nx projects. This means you can take advantage of Nx's powerful features, such as dependency graph visualization and affected command execution, while using Vite for fast builds.
json
Fast Builds
Vite is known for its fast build times, and using @nrwl/vite allows you to leverage this speed within your Nx workspace. This can significantly improve your development experience, especially for large projects.
json
Vite is a build tool that aims to provide a faster and leaner development experience for modern web projects. It is the core tool that @nrwl/vite integrates with Nx. While Vite can be used standalone, @nrwl/vite provides additional integration with the Nx ecosystem.
Nx is a set of extensible dev tools for monorepos, which helps you develop like Google, Facebook, and Microsoft. While Nx itself is not a build tool, it provides a powerful framework for managing large codebases. @nrwl/vite is a plugin that allows you to use Vite within an Nx workspace.
Webpack is a popular module bundler for JavaScript applications. It is highly configurable and has a large ecosystem of plugins. While Webpack is more established and has broader support, Vite offers faster build times and a more modern development experience. @nrwl/vite allows you to use Vite as an alternative to Webpack within an Nx workspace.
@nrwl/vite has been renamed to @nx/vite. Please use that instead.
@nrwl/vite will no longer be published in the future.
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.
FAQs
The Nx Plugin for building and testing applications using Vite
The npm package @nrwl/vite receives a total of 179,659 weekly downloads. As such, @nrwl/vite popularity was classified as popular.
We found that @nrwl/vite demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.