microsoft / license-checker-webpack-plugin

Webpack plugin that verifies licenses of all external dependencies in a compilation, and outputs them to a file.
MIT License
135 stars 28 forks source link

`allow` value to allow all licenses #33

Open silverwind opened 3 years ago

silverwind commented 3 years ago

Is there a value for allow that would accept all licenses? I use this module to generate the output file and I don't really care about the actual licenses or their verification.

I'd suggest accepting a "all" or "any" value that would skip over the entire "checking" step of this module.

unindented commented 3 years ago

This package supports any valid SPDX expression. It uses spdx-satisfies under the hood. If you find an expression that works with spdx-satisfies, it'll work here too.

silverwind commented 3 years ago

Yeah I search already and my impression is that the SPDX syntax has no such expression, it only supports explicitely named licenses with combinators.

unindented commented 3 years ago

@silverwind I'm open to accepting a PR that adds this feature.

silverwind commented 3 years ago

Will take a look later. Do you have a preference for either "all" or "any"?

unindented commented 3 years ago

Let's use any.