@nx/expo - workspace package.json resolutions/overrides could be added to the project's package.json #28249
Closed
franzmoro
started this conversation in
Feature Requests
Replies: 1 comment
-
@xiongemi tagging you because I don't know who else can/should be involved. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When running
nx build expo-app
, the build executor copies dependencies and devDependencies of the workspace package.json (seecopyPackageJsonAndLock
function: https://github.com/nrwl/nx/blob/master/packages/expo/src/executors/build/build.impl.ts#L113C10-L164).The build executor does not copy the
resolutions
object (for yarn) nor theoverrides
object (for npm).Use case:
resolutions
object in package.json to use a single version of that package. I am currently using my own script to copy the package.json and add the resolutions object before the expo build runs.I'd be happy to submit a PR for this.
EDIT: see #28254.
Beta Was this translation helpful? Give feedback.
All reactions