You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the nx build command for an Expo app within an Nx workspace, the build process copies the entire package.json from the root directory into the app's directory. This is unnecessary because only the dependencies specified in the app's package.json should be considered.
Expected Behavior
Only the dependencies specified in the app's package.json should be taken into account during the build process, without copying the entire root package.json file into the app's directory.
GitHub Repo
No response
Steps to Reproduce
Create an Nx workspace with an Expo app.
Add dependencies in the app's package.json.
Also add global dependencies in the root package.json.
Run the nx build command to build the Expo app.
Observe that the root package.json file is copied into the app's directory during the build process.
Current Behavior
When running the nx build command for an Expo app within an Nx workspace, the build process copies the entire package.json from the root directory into the app's directory. This is unnecessary because only the dependencies specified in the app's package.json should be considered.
Expected Behavior
Only the dependencies specified in the app's package.json should be taken into account during the build process, without copying the entire root package.json file into the app's directory.
GitHub Repo
No response
Steps to Reproduce
Nx Report
Failure Logs
Package Manager Version
No response
Operating System
Additional Information
Hier is the code that copies package.json link
The text was updated successfully, but these errors were encountered: