Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ jobs:
- name: Compile TypeScript
run: yarn lint:tsc

- name: Check licenses
run: yarn lint:license:check

toolkit_build_check:
name: Toolkit build check
needs: [ code_quality ]
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,4 @@ yarn-error.log*
# build outputs
/tools/preset-sync/index.js
/toolkit/package/dist
license.json
6 changes: 6 additions & 0 deletions .license-reportrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"exclude": [
// It currently has two licenses (MIT and Apache-2.0), which are not correctly recognized by license-report-check.
"@helia/verified-fetch"
]
}
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"lint:eslint": "eslint .",
"lint:eslint:fix": "eslint . --fix",
"lint:tsc": "tsc -p ./tsconfig.json",
"lint:license:check": "license-report > ./license.json && license-report-check --source=./license.json --output=table --forbidden=n/a",
"lint:envs-validator:test": "cd ./deploy/tools/envs-validator && ./test.sh",
"prepare": "husky install",
"svg:format": "svgo -r --config svgo.config.format.js ./icons ./toolkit/chakra/assets",
Expand Down Expand Up @@ -175,6 +176,8 @@
"globals": "15.12.0",
"husky": "^8.0.0",
"jsdom": "27.3.0",
"license-report": "6.8.1",
"license-report-check": "0.1.2",
"lint-staged": ">=10",
"mockdate": "^3.0.5",
"style-loader": "^3.3.1",
Expand Down
Loading
Loading