Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deduplicate yarn licenses list #5074

Open
Haroenv opened this issue Dec 11, 2017 · 3 comments
Open

Deduplicate yarn licenses list #5074

Haroenv opened this issue Dec 11, 2017 · 3 comments

Comments

@Haroenv
Copy link
Member

Haroenv commented Dec 11, 2017

Do you want to request a feature or report a bug?

feature

What is the current behavior?

If the current behavior is a bug, please provide the steps to reproduce.

if you have a lot of dependencies, it's a very long list of packages with the same license

What is the expected behavior?

a list of the licenses used, and some second way to see which package use license X (in the case that you for example can't use GPL or something, and quickly want to check for that)

Please mention your node.js, yarn and operating system version.

9.2.1
1.3.2
macOS 10.13.2

@ghost ghost assigned torifat Dec 11, 2017
@ghost ghost added the triaged label Dec 11, 2017
@torifat
Copy link
Member

torifat commented Dec 13, 2017

Seems like a good idea. Any thought @yarnpkg/core?

@rally25rs
Copy link
Contributor

I've been asked more than once to "provide a list of all 3rd party libraries and what license they use" so as long as we won't lose the ability to list all deps and what license they use (not necessarily the full license text), then I'm fine with some additional cleaner listings.

@Daniel15
Copy link
Member

yarn licenses generate-disclaimer already dedupes licenses with identical text (#552) so it seems reasonable to do this for yarn licenses list too.

iansu added a commit to iansu/yarn that referenced this issue Dec 19, 2017
agoldis added a commit to agoldis/yarn that referenced this issue Feb 2, 2018
…readdir_files

* upstream/master: (34 commits)
  feat(upgrade, add): Separately log added/upgraded dependencies (yarnpkg#5227)
  feat(publish): Publish command uses publishConfig.access in package.json (yarnpkg#5290)
  fix(CLI): Use process exit instead of exitCode for node < 4 (yarnpkg#5291)
  feat(cli): error on missing workspace directory (yarnpkg#5206) (yarnpkg#5222)
  feat: better error when package is not found (yarnpkg#5213)
  Allow scoped package as alias source (yarnpkg#5229)
  fix(cli): Use correct directory for upgrade-interactive (yarnpkg#5272)
  nohoist baseline implementation (yarnpkg#4979)
  1.4.1
  1.4.0
  Show current version, when new version is not supplied on "yarn publish" (yarnpkg#4947)
  fix(install): use node-gyp from homebrew npm (yarnpkg#4994)
  Fix transient symlinks overriding direct ones v2 (yarnpkg#5016)
  fix(auth): Fixes authentication conditions and logic with registries (yarnpkg#5216)
  chore(package): move devDeps to appropriate place (yarnpkg#5166)
  fix(resolution) Eliminate "missing peerDep" warning when dep exists at root level. (yarnpkg#5088)
  fix(cli): improve guessing of package names that contain a dot (yarnpkg#5102) (yarnpkg#5135)
  feat(cli): include notice with license when generating disclaimer (yarnpkg#5072) (yarnpkg#5111)
  feat(cli): group by license in licenses list (yarnpkg#5074) (yarnpkg#5110)
  feat(cli): improve error message when file resolver can't find file (yarnpkg#5134) (yarnpkg#5145)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants