finos / openfin-react-hooks

A collection of React Hooks built on top of the Openfin API - from Scott Logic
Apache License 2.0
48 stars 19 forks source link

Adds automated licence validation #27

Closed ColinEberhardt closed 4 years ago

ColinEberhardt commented 4 years ago

ref #24

Adds an npm run script that uses license-validation to check that licences for dependencies conform to the rules for Apache 2.0. As per:

https://finosfoundation.atlassian.net/wiki/spaces/FINOS/pages/75530375/Contribution+Compliance+Requirements#ContributionComplianceRequirements-Identifyingacceptablelicenses

Note, the license-validation tool analyses the node_modules folder 'on disk', so npm prune / install is executed beforehand to ensure only production dependencies are present.

ColinEberhardt commented 4 years ago

Note, I've updated package lock in a separate commit https://github.com/ScottLogic/openfin-react-hooks/pull/27/commits/a497ffd158db9b2fb9fbbc1e4bc593ce8c115a9d - there are a lot of changes in there that are nothing to do with this PR, I guess previous commits have omitted this change?