<!-- Please make sure you have read the submission guidelines before posting an PR --> <!-- https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr --> <!-- Please make sure that your commit message follows our format --> <!-- Example: `fix(nx): must begin with lowercase` --> <!-- If this is a particularly complex change or feature addition, you can request a dedicated Nx release for this pull request branch. Mention someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they will confirm if the PR warrants its own release for testing purposes, and generate it for you if appropriate. --> ## Current Behavior The DX to migrate to project crystal isn't great right now - people have to run `convert-to-inferred` generators manually. ## Expected Behavior We should provide a smoother way to migrate, so we introduced an `@nx/workspace:infer-targets` generator that can handle multiple conversions at once, either for the whole workspace or at a project level. --------- Co-authored-by: Jack Hsu <jack.hsu@gmail.com>
45 KiB
45 KiB
-
Nx
- Getting Started
- Features
- Concepts
- Mental Model
- How Caching Works
- What is a Task Pipeline
- What Are Nx Plugins
- Inferred Tasks
- Types of Configuration
- Executors and Configurations
- Integrated Repos vs. Package-Based Repos vs. Standalone Apps
- Nx Daemon
- Sync Generators
- Nx and Turborepo
- Buildable and Publishable Libraries
- Module Federation
- Organizational Decisions
- Recipes
- Installation
- Tasks & Caching
- Configure Inputs for Task Caching
- Configure Outputs for Task Caching
- Define a Task Pipeline
- Run Custom Commands
- Pass Args to Commands
- Run Tasks in Parallel
- Run Root-Level NPM Scripts with Nx
- Workspace Watching
- Reduce Repetitive Configuration
- Change Cache Location
- Skip Task Caching
- Migrate to Inferred Tasks (Project Crystal)
- Adopting Nx
- React
- Angular
- Node
- Storybook
- Set up Storybook for React Projects
- Set up Storybook for Angular Projects
- Set up Storybook for Vue Projects
- Configuring Storybook on Nx
- One main Storybook instance for all projects
- One Storybook instance per scope
- One main Storybook instance using Storybook Composition
- How to configure Webpack and Vite for Storybook
- Setting up Storybook Interaction Tests with Nx
- Upgrading Storybook using the Storybook CLI
- Setting up Storybook Composition with Nx
- Angular: Set up Compodoc for Storybook on Nx
- Angular: Configuring styles and preprocessor options
- Cypress
- Next
- Nuxt
- Vite
- Webpack
- Module Federation
- Enforce Module Boundaries
- Tips and tricks
- Add a Package-based Project in an Integrated Repo
- Add an Integrated Project in a Package-based Repo
- Convert from a Standalone Repository to an Integrated Repository
- Configuring ESLint with Typescript
- Enable Typescript Batch Mode
- Define Secondary Entrypoints for Typescript Packages
- Compile Typescript Packages to Multiple Formats
- Keep Nx Versions in Sync
- Define Environment Variables
- Configuring Browser Support
- Include Assets in Build
- Include All package.json Files as Projects
- Identify Dependencies Between Folders
- Disable Graph Links Created from Analyzing Source Files
- Use JavaScript instead TypeScript
- Altering Migration Process
- Using Yarn PnP
- Switching to ESLint's flat config format
- Nx Console
- Nx Release
- Get Started with Nx Release
- Release Projects Independently
- Automatically Version with Conventional Commits
- Customize Conventional Commit Types
- File Based Versioning (Version Plans)
- Configure Custom Registries
- Publish in CI/CD
- Automate GitHub Releases
- Publish Rust Crates
- Update Your Local Registry Setup to use Nx Release
- Configure Changelog Format
- Publish a Custom Dist Directory
- Build Before Versioning
- Other
- Showcase
- Reference
- Troubleshooting
- Deprecated
- See Also
-
Extending-nx
-
Ci
-
Nx-api
- angular
- documents
- executors
- generators
- add-linting
- application
- component
- component-cypress-spec
- component-story
- component-test
- convert-to-application-executor
- directive
- federate-module
- init
- library
- library-secondary-entry-point
- remote
- move
- convert-to-with-mf
- host
- ng-add
- ngrx
- ngrx-feature-store
- ngrx-root-store
- pipe
- scam-to-standalone
- scam
- scam-directive
- scam-pipe
- setup-mf
- setup-ssr
- setup-tailwind
- stories
- storybook-configuration
- cypress-component-configuration
- web-worker
- create-nx-plugin
- create-nx-workspace
- cypress
- detox
- devkit
- esbuild
- eslint
- eslint-plugin
- expo
- express
- gradle
- jest
- js
- nest
- next
- node
- nuxt
- nx
- playwright
- plugin
- react
- react-native
- remix
- rollup
- storybook
- tao
- vite
- vue
- web
- webpack
- workspace
- angular