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

Add licenses command to pnpm #5567

Merged
merged 49 commits into from Nov 17, 2022
Merged

Commits on Nov 17, 2022

  1. feat: create licenses-command for PNPM

    Introduces a new command `licenses`-command which allows to list
    the licenses of the packages
    
    refs pnpm#2825
    Weyert de Boer authored and zkochan committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    5674706 View commit details
    Browse the repository at this point in the history
  2. style: resolve linting issues

    Weyert de Boer authored and zkochan committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    f32a997 View commit details
    Browse the repository at this point in the history
  3. chore: resolve weird port issue

    Weyert de Boer authored and zkochan committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    315b5de View commit details
    Browse the repository at this point in the history
  4. test: improve the tests

    Weyert de Boer authored and zkochan committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    3435dc8 View commit details
    Browse the repository at this point in the history
  5. fix: return exit code 0 instead of 1 as one indicates error

    Weyert de Boer authored and zkochan committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    2d4a475 View commit details
    Browse the repository at this point in the history
  6. fix: add version of package to JSON output

    Weyert de Boer authored and zkochan committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    1dfa87c View commit details
    Browse the repository at this point in the history
  7. fix: reset package version to 0.0.0 for the new packages

    Weyert de Boer authored and zkochan committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    7a38c8c View commit details
    Browse the repository at this point in the history
  8. fix: use lockfile walker to find all dependencies in the lock file

    Weyert de Boer authored and zkochan committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    3c542e5 View commit details
    Browse the repository at this point in the history
  9. fix: add changeset file for licenses component

    Weyert de Boer authored and zkochan committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    1c8bf24 View commit details
    Browse the repository at this point in the history
  10. feat: create licenses-command for PNPM

    Introduces a new command `licenses`-command which allows to list
    the licenses of the packages
    
    refs pnpm#2825
    Weyert de Boer authored and zkochan committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    adb9999 View commit details
    Browse the repository at this point in the history
  11. Revert "feat: create licenses-command for PNPM"

    This reverts commit 131f8d5.
    Weyert de Boer authored and zkochan committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    44a2e30 View commit details
    Browse the repository at this point in the history
  12. chore: force newer version of got

    Weyert de Boer authored and zkochan committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    f192f0f View commit details
    Browse the repository at this point in the history
  13. fix: avoid using node: in import statements

    Weyert de Boer authored and zkochan committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    4b0ed2f View commit details
    Browse the repository at this point in the history
  14. chore: attempt to make pnpm test happy

    Weyert de Boer authored and zkochan committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    d4bbe8c View commit details
    Browse the repository at this point in the history
  15. chore: attempt to make pnpm test happy

    Weyert de Boer authored and zkochan committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    fafe345 View commit details
    Browse the repository at this point in the history
  16. chore: attempt to make pnpm test happy

    Weyert de Boer authored and zkochan committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    5cb83b2 View commit details
    Browse the repository at this point in the history
  17. chore: ran the pnpm update-manifests command

    Weyert de Boer authored and zkochan committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    53bfcfa View commit details
    Browse the repository at this point in the history
  18. style: run lint --fix on the code

    Weyert de Boer authored and zkochan committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    a146a18 View commit details
    Browse the repository at this point in the history
  19. fix: rename packageDirectory to packageDir

    Weyert de Boer authored and zkochan committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    0bf9982 View commit details
    Browse the repository at this point in the history
  20. fix: update the comments in the code

    Weyert de Boer authored and zkochan committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    c32326a View commit details
    Browse the repository at this point in the history
  21. fix: cleanup the command line options and descriptions

    Weyert de Boer authored and zkochan committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    e475dd4 View commit details
    Browse the repository at this point in the history
  22. test: attempt to broken tests

    Weyert de Boer authored and zkochan committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    77beb8b View commit details
    Browse the repository at this point in the history
  23. test: attempt to make tests work on different platforms

    Weyert de Boer authored and zkochan committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    9898983 View commit details
    Browse the repository at this point in the history
  24. test: updated the tests and added some jsdoc comments

    Weyert de Boer authored and zkochan committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    76b71fa View commit details
    Browse the repository at this point in the history
  25. fix: fetch files from cafs diretory

    Updated the code so that the `getPkgInfo` function attempts to fetch
    the `package.json` and potential license files from the cafs directory
    by integrity id
    Weyert de Boer authored and zkochan committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    edeca6c View commit details
    Browse the repository at this point in the history
  26. chore: remove unnecessary dint-package

    Weyert de Boer authored and zkochan committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    c6b898d View commit details
    Browse the repository at this point in the history
  27. fix: update manifests

    Weyert de Boer authored and zkochan committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    2946604 View commit details
    Browse the repository at this point in the history
  28. fix: update manifests

    zkochan committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    783d037 View commit details
    Browse the repository at this point in the history
  29. style: fix styling issues in the code

    Weyert de Boer authored and zkochan committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    71d8d39 View commit details
    Browse the repository at this point in the history
  30. test: update the test case to avoid platform specific optional depend…

    …encies
    Weyert de Boer authored and zkochan committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    2066ff5 View commit details
    Browse the repository at this point in the history
  31. fix: update code based on feedback

    Improved handling of reading package manifest for packages resolving to
    workspace projects,and tarballs
    
    Improved the handlign of parsing the license from the `package.json`-file
    Weyert de Boer authored and zkochan committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    f3ac59b View commit details
    Browse the repository at this point in the history
  32. fix: package path so its correctly pointed to the virtual store

    Weyert de Boer authored and zkochan committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    567ebdc View commit details
    Browse the repository at this point in the history
  33. fix: missing vendor information when running command with --json ar…

    …gument
    Weyert de Boer authored and zkochan committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    3c76414 View commit details
    Browse the repository at this point in the history
  34. style: rename function parameter's name

    Weyert de Boer authored and zkochan committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    33c2a6b View commit details
    Browse the repository at this point in the history
  35. style: changed wording of changeset description

    Weyert de Boer authored and zkochan committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    7a9cabd View commit details
    Browse the repository at this point in the history
  36. fix: drop the use of fileExists in getPkgInfo-function

    Weyert de Boer authored and zkochan committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    2156c6f View commit details
    Browse the repository at this point in the history
  37. fix: renamed package from @pnpm/licenses to @pnpm/license-scanner

    Renamed the `@pnpm/licenses`-package to `@pnpm/license-scanner`
    
    Updated the keywords for the packages
    
    Renamed the main function of `@pnpm/license-scanner` to be `findDependencyLicenses`
    
    Renamed to the fields `vendorName`, `vendorUrl` to the original fields
    used in the packages: `author` and `homepage`
    tapico-weyert authored and zkochan committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    fe53519 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    56da30c View commit details
    Browse the repository at this point in the history
  39. docs: improve inline documentation

    tapico-weyert authored and zkochan committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    4dfcb94 View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    9fa13f5 View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    c50bdfc View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    aa74701 View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    2c1b57d View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    c1e0e0b View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    4e795f8 View commit details
    Browse the repository at this point in the history
  46. refactor: make a subcommand

    zkochan committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    2176e74 View commit details
    Browse the repository at this point in the history
  47. fix: remove not needed dep

    zkochan committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    84ab63f View commit details
    Browse the repository at this point in the history
  48. refactor: render table

    zkochan committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    4404057 View commit details
    Browse the repository at this point in the history
  49. test: fix

    zkochan committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    8cfc0d2 View commit details
    Browse the repository at this point in the history