You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Basically we extend the package.json with a list of allowed license (patterns) and run a "*install" hook to prevent the installation of packages, that are not supposed to be installed because of their license.
Is there any reason this has not been implemented yet in the npm world? I am coming from the composer world and the hooks are basically the way to go if you want to prevent stuff like that.
The text was updated successfully, but these errors were encountered:
Basically we extend the
package.json
with a list of allowed license (patterns) and run a "*install" hook to prevent the installation of packages, that are not supposed to be installed because of their license.Inspiration: https://packagist.org/packages/arokettu/composer-license-manager
Is there any reason this has not been implemented yet in the npm world? I am coming from the composer world and the hooks are basically the way to go if you want to prevent stuff like that.
The text was updated successfully, but these errors were encountered: