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
{{ message }}
Repository navigation
allowedPackages bypasses detection of licences not in allowedLicenses #15
Running npm install && ./node_modules/.bin/license-to-fail gives the following output:
INDIRECT DEP - @progress/kendo-schematics@0.2.5 SEE LICENSE in LICENSE.md: https://github.com/telerik/kendo-schematics
INDIRECT DEP - colors@0.5.1 UNKNOWN: https://github.com/Marak/colors.js
This is fine as colors@0.5.1 does not have any license information attached and kendo-schematics refers to a custom license file in its package.json.
But after adding an exclusion for package colors the warning for kendo-schematics also vanishes:
..."allowedPackages": [
{
"name": "colors",
"reason": "checked manually: license is MIT, see https://github.com/Marak/colors.js/blob/master/LICENSE"
}
],
...
Furthermore, if name is set to foo only colors is reported. So any entry in allowedPackages makes the warnings for the kendo-schematics license disappear.
Activity