nodeshift-archived / license-reporter

license-reporter is a tool that gathers licenses for project's dependencies and produces a output in XML, JSON, YAML and HTML format.
Apache License 2.0
13 stars 10 forks source link

💥 Only include dev deps if option set #242

Closed grdryn closed 6 years ago

grdryn commented 6 years ago

This introduces an '--include-dev-dependencies' option to the console, report, and save commands. The default behaviour changes here also to include only production dependencies by default.

Fixes #241.

coveralls commented 6 years ago

Coverage Status

Coverage remained the same at 90.316% when pulling 31130ba402f17804e5c4840e87aa338a2f5ef2ef on grdryn:production-only into 4e038daf2d54e55ecc062617165184a67b440211 on bucharest-gold:master.

coveralls commented 6 years ago

Coverage Status

Coverage remained the same at 90.316% when pulling 4406a229836fd80a7b22fb30cf830c4ae5718c15 on grdryn:production-only into 4e038daf2d54e55ecc062617165184a67b440211 on bucharest-gold:master.

grdryn commented 6 years ago

@helio-frota I've changed it now to only include runtime dependencies by default, and added an optional --include-dev-dependencies/--idd option that can be set to get the old behaviour.

helio-frota commented 6 years ago

@grdryn great! thanks!