Conversation
✅ Deploy Preview for nx-dev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for nx-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
|
View your CI Pipeline Execution ↗ for commit 1094534
☁️ Nx Cloud last updated this comment at |
## Current Behavior `nx init` has a special code path for Create React App (CRA) projects that installs Vite-related dependencies incompatible with `@nx/vite` when Vite 8 is resolved, causing failures for npm workspaces. ## Expected Behavior CRA projects are no longer special-cased in `nx init`. They flow through the normal npm repo path, which detects plugins like `@nx/vite` via the standard `detectPlugins()` mechanism. ## Related Issue(s) Fixes NXC-4107
leosvelperez
approved these changes
Mar 19, 2026
FrozenPandaz
pushed a commit
that referenced
this pull request
Mar 20, 2026
## Current Behavior `nx init` has a special code path for Create React App (CRA) projects that installs Vite-related dependencies incompatible with `@nx/vite` when Vite 8 is resolved, causing failures for npm workspaces. CRA is essentially unused for years so there's no point to keep it around. ## Expected Behavior CRA projects are no longer special-cased in `nx init`. They flow through the normal npm repo path, which detects plugins like `@nx/vite` via the standard `detectPlugins()` mechanism. <img width="1279" height="448" alt="Screenshot 2026-03-18 at 2 34 56 PM" src="https://github.com/user-attachments/assets/17da3c6d-8aef-450f-baaa-6014e03cf41f" /> <img width="1280" height="432" alt="Screenshot 2026-03-18 at 2 35 01 PM" src="https://github.com/user-attachments/assets/e02ccda5-9faf-428f-878d-348e4cc44d74" /> <img width="1270" height="821" alt="Screenshot 2026-03-18 at 2 35 15 PM" src="https://github.com/user-attachments/assets/fdd99af5-db7e-422b-be42-a817c9dcefa2" /> ## Related Issue(s) Closes NXC-4107
FrozenPandaz
pushed a commit
that referenced
this pull request
Mar 20, 2026
## Current Behavior `nx init` has a special code path for Create React App (CRA) projects that installs Vite-related dependencies incompatible with `@nx/vite` when Vite 8 is resolved, causing failures for npm workspaces. CRA is essentially unused for years so there's no point to keep it around. ## Expected Behavior CRA projects are no longer special-cased in `nx init`. They flow through the normal npm repo path, which detects plugins like `@nx/vite` via the standard `detectPlugins()` mechanism. <img width="1279" height="448" alt="Screenshot 2026-03-18 at 2 34 56 PM" src="https://github.com/user-attachments/assets/17da3c6d-8aef-450f-baaa-6014e03cf41f" /> <img width="1280" height="432" alt="Screenshot 2026-03-18 at 2 35 01 PM" src="https://github.com/user-attachments/assets/e02ccda5-9faf-428f-878d-348e4cc44d74" /> <img width="1270" height="821" alt="Screenshot 2026-03-18 at 2 35 15 PM" src="https://github.com/user-attachments/assets/fdd99af5-db7e-422b-be42-a817c9dcefa2" /> ## Related Issue(s) Closes NXC-4107
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Current Behavior
nx inithas a special code path for Create React App (CRA) projects that installs Vite-related dependencies incompatible with@nx/vitewhen Vite 8 is resolved, causing failures for npm workspaces.CRA is essentially unused for years so there's no point to keep it around.
Expected Behavior
CRA projects are no longer special-cased in
nx init. They flow through the normal npm repo path, which detects plugins like@nx/vitevia the standarddetectPlugins()mechanism.Related Issue(s)
Closes NXC-4107