-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(react): update app and lib generators to support new TS solution setup #28808
base: master
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
☁️ Nx Cloud ReportCI is running/has finished running commands for commit 1543c88. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this CI Pipeline Execution ✅ Successfully ran 5 targets
Sent with 💌 from NxCloud. |
a454c45
to
a2e9734
Compare
🐳 We have a release for that!This PR has a release associated with it. You can try it out using this command: npx [email protected] my-workspace Or just copy this version and use it in your own command: 0.0.0-pr-28808-0f14212
To request a new release for this pull request, mention someone from the Nx team or the |
0f14212
to
e812720
Compare
4f67272
to
18a3a8b
Compare
18a3a8b
to
ca32248
Compare
89933b7
to
a392033
Compare
a392033
to
2a92442
Compare
00fd021
to
e453615
Compare
🐳 We have a release for that!This PR has a release associated with it. You can try it out using this command: npx [email protected] my-workspace Or just copy this version and use it in your own command: 0.0.0-pr-28808-f5b5ede
To request a new release for this pull request, mention someone from the Nx team or the |
7e9d513
to
161f587
Compare
c7802dd
to
9c5c661
Compare
9c5c661
to
9fd2fb8
Compare
9fd2fb8
to
e36b91f
Compare
🐳 We have a release for that!This PR has a release associated with it. You can try it out using this command: npx [email protected] my-workspace Or just copy this version and use it in your own command: 0.0.0-pr-28808-ae8ea8d
To request a new release for this pull request, mention someone from the Nx team or the |
…tup for the react stack
This PR updates app and lib generators in the following packages such that they will generate files with the TS solution setup if it is detected.
@nx/react
@nx/next
@nx/remix
@nx/expo
@nx/react-native
React apps and libs will be linked using npm/pnpm/yarn/bun workspaces feature rather than through tsconfig paths. This means that local aliases like
@/
will work with Next.js and Remix apps.Current Behavior
React generators are not compatible with TS solution setup (i.e. workspaces + TS project references).
Expected Behavior
React generators work with new TS solution setup (Plain, Next.js, Remix, Expo, React Native).
Related Issue(s)
#28322