[workspaces]: Allow the ability to control what packages can be installed based on their licenses #11307
nicolasperez19
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Allowing the ability to control what packages can be installed based on their licenses would help simplify dependency management within a monorepo.
The simplest solution would be to add the list of allowed licenses to the root
package.json
of the workspace. This solution however might break the compability with other package managersnpm
,pnpm
, etc.Example:
Another solution could be to add the list of allowed licenses to the build step.
Beta Was this translation helpful? Give feedback.
All reactions