Add Licensed to verify third party dependencies #22
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
GitHub has a tool called licensed which helps us to verify that the node modules we are using are appropriately licensed for what we are using them for. It also helps to verify that the license a node module claims to be under matches the license it.
If you were previously checking in a license in the dist file, this can replace that flow.
This PR adds:
main
branchlicensed.yml
file used to configurelicensed
.licenses
directory which contain our dependencies and their appropriate licensesHow does this impact me?
licensed cache
to update the dependency cache if you install a new production dependency.licensed cache
is unable to determine the dependency, you may need to modify the cache file yourself to put the correct license.