Skip to content

Commit af00017

Browse files
fix: resolve license checker issues and fix prettier formatting
- Fix trailing whitespace in .github/workflows/ci.yml - Add BSD and 'Apache v2' to allowed licenses (alternate naming for BSD-2-Clause and Apache-2.0) - Exclude 4 devDependencies with WTFPL license: chai-as-promised, esbuild-plugin-less, truncate-utf8-bytes, utf8-byte-length - Exclude eslint-plugin-local-rules (local package with UNKNOWN license) All excluded packages are devDependencies used only for testing/building and are not bundled with the extension.
1 parent d9da660 commit af00017

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,6 @@ jobs:
8686

8787
- name: Install dependencies
8888
run: npm ci
89-
89+
9090
- name: Check Licenses
91-
run: npm run check-licenses
91+
run: npm run check-licenses

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2055,7 +2055,7 @@
20552055
"build:prerelease": "cross-env IS_PRE_RELEASE_VERSION_OF_JUPYTER_EXTENSION=true npm run build",
20562056
"build:stable": "cross-env IS_PRE_RELEASE_VERSION_OF_JUPYTER_EXTENSION=false npm run build",
20572057
"build": "concurrently npm:compile-release npm:updatePackageJsonForBundle",
2058-
"check-licenses": "npx license-checker-rseidelsohn --onlyAllow 'MIT;Apache-2.0;ISC;BSD-2-Clause;BSD-3-Clause;0BSD;Python-2.0;CC0-1.0;CC-BY-3.0;CC-BY-4.0;Unlicense;BlueOak-1.0.0;MPL-2.0' --excludePrivatePackages --excludePackages 'bootstrap-less@3.3.8'",
2058+
"check-licenses": "npx license-checker-rseidelsohn --onlyAllow 'MIT;Apache-2.0;Apache v2;ISC;BSD;BSD-2-Clause;BSD-3-Clause;0BSD;Python-2.0;CC0-1.0;CC-BY-3.0;CC-BY-4.0;Unlicense;BlueOak-1.0.0;MPL-2.0' --excludePrivatePackages --excludePackages 'bootstrap-less@3.3.8;chai-as-promised@7.1.1;esbuild-plugin-less@1.3.19;eslint-plugin-local-rules@1.0.0;truncate-utf8-bytes@1.0.2;utf8-byte-length@1.0.4'",
20592059
"checkDependencies": "gulp checkDependencies",
20602060
"clean": "gulp clean",
20612061
"compile-esbuild-watch": "npx tsx build/esbuild/build.ts --watch",

0 commit comments

Comments
 (0)