UNPKG

@nx/devkit

Version:

The Nx Devkit is used to customize Nx for different technologies and use cases. It contains many utility functions for reading and writing files, updating configuration, working with Abstract Syntax Trees(ASTs), and more. Learn more about [extending Nx by

69 lines (45 loc) 2.32 kB
<p style="text-align: center;"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-dark.svg"> <img alt="Nx - Smart Repos · Fast Builds" src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-light.svg" width="100%"> </picture> </p> <div style="text-align: center;"> [![CircleCI](https://circleci.com/gh/nrwl/nx.svg?style=svg)](https://circleci.com/gh/nrwl/nx) [![License](https://img.shields.io/npm/l/@nx/workspace.svg?style=flat-square)]() [![NPM Version](https://badge.fury.io/js/nx.svg)](https://www.npmjs.com/package/nx) [![Semantic Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=flat-square)]() [![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/) [![Join the chat at https://gitter.im/nrwl-nx/community](https://badges.gitter.im/nrwl-nx/community.svg)](https://gitter.im/nrwl-nx/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Join us on the Official Nx Discord Server](https://img.shields.io/discord/1143497901675401286?label=discord)](https://go.nx.dev/community) </div> <hr> # Nx: Smart Repos · Fast Builds Get to green PRs in half the time. Nx optimizes your builds, scales your CI, and fixes failed PRs. Built for developers and AI agents. This package contains a set of utilities for creating Nx plugins. ## Getting Started ### Creating an Nx Workspace **Using `npx`** ```bash npx create-nx-workspace ``` **Using `npm init`** ```bash npm init nx-workspace ``` **Using `yarn create`** ```bash yarn create nx-workspace ``` ### Adding Nx to an Existing Repository Run: ```bash npx nx@latest init ``` ## Documentation & Resources - [Nx.Dev: Documentation, Guides, Tutorials](https://nx.dev) - [Intro to Nx](https://nx.dev/getting-started/intro) - [Official Nx YouTube Channel](https://www.youtube.com/@NxDevtools) - [Blog Posts About Nx](https://nx.dev/blog) <p style="text-align: center;"><a href="https://nx.dev/#learning-materials" target="_blank" rel="noreferrer"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-courses-and-videos.svg" width="100%" alt="Nx - Smart Repos · Fast Builds"></a></p>