From 1a3d1e97b7c79bb49090ae2dcfab0270b93a62b5 Mon Sep 17 00:00:00 2001 From: Alex Eagle Date: Mon, 15 Apr 2019 09:45:35 -0700 Subject: [PATCH] build: skip license check for @bazel packages need to fix them upstream --- .circleci/config.yml | 2 ++ scripts/validate-licenses.ts | 8 ++++++++ 2 files changed, 10 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index ce1a41cae5b8..e365961a5230 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -101,6 +101,7 @@ jobs: environment: BASH_ENV: ~/.profile NPM_CONFIG_PREFIX: ~/.npm-global + PATH: ~/.npm-global/bin:$PATH resource_class: xlarge parallelism: 4 steps: @@ -115,6 +116,7 @@ jobs: environment: BASH_ENV: ~/.profile NPM_CONFIG_PREFIX: ~/.npm-global + PATH: ~/.npm-global/bin:$PATH resource_class: xlarge parallelism: 4 steps: diff --git a/scripts/validate-licenses.ts b/scripts/validate-licenses.ts index 2aaa0478804c..40b8f0bce473 100644 --- a/scripts/validate-licenses.ts +++ b/scripts/validate-licenses.ts @@ -73,6 +73,14 @@ const ignoredPackages = [ 'true-case-path@1.0.2', // Apache-2.0 but broken license in package.json 'uws@9.14.0', // zlib license + // * Need to publish these with LICENSE files + // see https://github.com/bazelbuild/rules_nodejs/pull/696 + // TODO(alexeagle): remove these after a release that fixes it + '@bazel/bazel@0.24.1', + '@bazel/bazel-linux_x64@0.24.1', + '@bazel/buildifier@0.22.0', + '@bazel/buildifier-linux_x64@0.22.0', + // * Other 'font-awesome@4.7.0', // (OFL-1.1 AND MIT) 'stream-json@0.5.2', // 'New BSD'