From d1da494dc872a5c6124a6d4d32ce1d7320afe595 Mon Sep 17 00:00:00 2001 From: Thomas Watson Date: Thu, 26 Mar 2020 09:51:54 +0100 Subject: [PATCH] Add license overrides --- src/dev/license_checker/config.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/dev/license_checker/config.ts b/src/dev/license_checker/config.ts index 8dccb9830526c70..15fedae80bdaa3a 100644 --- a/src/dev/license_checker/config.ts +++ b/src/dev/license_checker/config.ts @@ -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