-
Notifications
You must be signed in to change notification settings - Fork 87
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
Inflated dependency tree when using ngxtension #304
Comments
Hi Kaemmelot, The reason why |
This seems to be a bigger problem than I initially realized. I have been experimenting with this over the last few days and I now assume that there is a structural problem with the package managers or the concept of migrations included within a library in general. First of all, I think there are a few unfavorable ways to handle such cases:
I guess what would be really needed here is either peerDevDependencies or an additional Not sure what the best course of action would be in this case. |
Closing this in favor of #410 Let's move our discussion over there as wel |
Please reduce the required (production) dependencies of ngxtension. (This is somehow related to #156)
Reason:
Currently ngxtension requires
nx
,@nx/devkit
andts-morph
as production dependencies. These packages are enormous and blow up the transitive dependencies in projects using ngxtension. Also, because of this, security scans (like Blackduck) currently see Nx and its dependencies as production code, which causes problems in our use case.I cannot see a reason why these dependencies cannot be declared as devDependencies instead.
Thanks for this great library!
The text was updated successfully, but these errors were encountered: