nx icon indicating copy to clipboard operation
nx copied to clipboard

Are react-native sync-deps and ensure-symlink necessary?

Open ste7en opened this issue 10 months ago • 5 comments

Hi, I'm opening this issue more as a feedback / clarifications post than a real issue.

With react-native 0.72 Metro is finally shipped with support for symlinks and what I am wondering is if we still need to run the sync-deps and ensure-symlink targets in our applications.

Previously, I thought sync-deps was only needed as prerequisite for the ensure-symlink target in order to symlink the correct node_modules within the app folders, but do we really need to specify twice the dependencies of our apps both in the workspace and project's package.json files?

Also, is it safe to remove those targets from project.json?

Thanks for any clarification

ste7en avatar Aug 23 '23 12:08 ste7en