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

Initial support for npm workspaces #485

Merged
merged 1 commit into from
Mar 16, 2022
Merged

Initial support for npm workspaces #485

merged 1 commit into from
Mar 16, 2022

Conversation

jonabc
Copy link
Contributor

@jonabc jonabc commented Mar 15, 2022

ref #349 (comment)

This adds in some initial support for using licensed with npm workspaces. In total the small amount of changes here are:

  • remove the workspace package from the returned results
  • add notes in docs for npm source about npm version requirements

In order for licensed to work as expected when detecting dependencies used by an npm workspace project, npm 8.5.0 or greater is needed. Additionally, the expected workflow is that licensed is run from each workspace directory rather than from a workspace root. Running from the workspace root will technically work but it will require more manual configuration to ignore the workspace projects via the licensed configuration file.

- remove the workspace package from the returned results
- add notes in docs for npm source about npm version requirements
@jonabc jonabc merged commit dcfaa4d into master Mar 16, 2022
@jonabc jonabc deleted the npm-workspaces branch March 16, 2022 20:44
jonabc added a commit that referenced this pull request Mar 17, 2022
## 3.6.0

2022-03-17

### Added

- Composer dev dependencies can optionally be included in enumerated PHP dependencies (:tada: `@digilist` #486)
- Getting started usage documentation (#483)
- Initial support for NPM workspaces (#485)

### Changed

- Transitive dependencies are now enumerated by the `pip` source (#480)

### Fixed

- `licensed cache --force` will now correctly overwrite existing license classifications (#473)
@jonabc jonabc mentioned this pull request Mar 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants