Skip to content

Commit

Permalink
Add license overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
watson committed Mar 26, 2020
1 parent cc960cf commit d1da494
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/dev/license_checker/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,18 @@ export const DEV_ONLY_LICENSE_WHITELIST = ['MPL-2.0'];

// Globally overrides a license for a given package@version
export const LICENSE_OVERRIDES = {
// The following packages doesn't have a LICENSE file in their distribution,
// but are all forks from another project which at the time of the fork was
// licensed with a propriettary Facebook license [1]. Later these projects
// have all coverted to MIT. For details see [2].
//
// 1: https://github.com/graphql/graphql-language-service/blob/a80c0a5035c0bbd57e5c1fd7e2b64d65013a6f66/LICENSE
// 2: https://github.com/apollographql/apollo-tooling/issues/1553#issuecomment-571303621
'@apollgraphql/graphql-language-service-interface@2.0.2': ['Facebook Propriettary License'],
'@apollgraphql/graphql-language-service-parser@2.0.2': ['Facebook Propriettary License'],
'@apollgraphql/graphql-language-service-types@2.0.2': ['Facebook Propriettary License'],
'@apollgraphql/graphql-language-service-utils@2.0.2': ['Facebook Propriettary License'],

'cycle@1.0.3': ['CC0-1.0'], // conversion to a public-domain like license
'jsts@1.1.2': ['Eclipse Distribution License - v 1.0'], // cf. https://github.com/bjornharrtell/jsts
'@mapbox/jsonlint-lines-primitives@2.0.2': ['MIT'], // license in readme https://github.com/tmcw/jsonlint
Expand Down

0 comments on commit d1da494

Please sign in to comment.