Commit 108a573
committed
fix(core): remove CRA migration logic from nx init
## 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-41071 parent 100d4f4 commit 108a573
File tree
24 files changed
+14
-805
lines changed- e2e/nx-init/src
- files/cra
- public
- src
- packages/nx/src/command-line/init
- implementation
- react
24 files changed
+14
-805
lines changedThis file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | 93 | | |
100 | 94 | | |
101 | 95 | | |
| |||
127 | 121 | | |
128 | 122 | | |
129 | 123 | | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
| 124 | + | |
137 | 125 | | |
138 | 126 | | |
139 | 127 | | |
| |||
142 | 130 | | |
143 | 131 | | |
144 | 132 | | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | 133 | | |
157 | 134 | | |
158 | 135 | | |
| |||
0 commit comments