-
Notifications
You must be signed in to change notification settings - Fork 4
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
Fix: Clear up workspace subdependencies (fixes #629) #630
Conversation
First pass was excellent @oliverfoster :
Post intall script removed erroneous sub deps in workspaces and also in root modules ( Ran |
This will all hopefully be fixed by itself for the most part once the repos are registered on npm. This is as the subdependencies when defined with |
@oliverfoster is it possible to have this run after |
Probably. Although it may be that you just need to run npm install to do updates. Here's the documentation for how scripts are named with pre and post. https://docs.npmjs.com/cli/v10/using-npm/scripts And the update command. https://docs.npmjs.com/cli/v10/commands/npm-update You could also run it manually with |
Great tips thank you 💯 |
@chris-steele did you find a way to get it to work on |
Yes @oliverfoster I can run |
Did you try adding the same script at |
Is there any progress on this? |
I did try |
It is not, correct. |
Looks to have fizzled out and died a death |
fixes #629
Allows workspaces to use giturl dependencies and peer dependencies by cleaning up erroneously installed duplicates of the workspace modules.
Fix
Test