Skip to content

Commit 55dde84

Browse files
authoredMar 4, 2025··
chore(deps-dev): switch license-checker package (#262)
`license-checker`, which we use for enforcing rules around allowed dependency licenses, appears to be no longer maintained and leads to various deprecation warnings when installing it. This commit changes the installed package to `license-checker-rseidelsohn`, which seems to be the most up-to-date and actively maintained fork. Also see: davglass/license-checker#245
1 parent cbc2245 commit 55dde84

File tree

3 files changed

+81
-361
lines changed

3 files changed

+81
-361
lines changed
 

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ The following hooks are specified in the `lefthook.yml`:
4848

4949
Before pushing, the following checks are additionally ran:
5050

51-
- `licenses-audit` - uses `license-checker` to verify depency licenses
51+
- `licenses-audit` - uses `license-checker-rseidelsohn` to verify depency licenses
5252
- `secrets-audit` - avoid accidental pushes of [secrets and sensitive information](https://thoughtworks.github.io/talisman/)
5353

5454
### Finish project setup

‎package-lock.json

+78-358
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"format:fix": "prettier --write --ignore-unknown .",
1919
"style:check": "npm run format:check && npm run lint:check",
2020
"style:fix": "npm run format:fix && npm run lint:fix",
21-
"audit:licences": "license-checker --production --excludePrivatePackages --onlyAllow '' --summary"
21+
"audit:licences": "license-checker-rseidelsohn --production --excludePrivatePackages --onlyAllow '' --summary"
2222
},
2323
"dependencies": {
2424
"@digitalservice4germany/angie": "^1.2.0",
@@ -48,7 +48,7 @@
4848
"globals": "^16.0.0",
4949
"jest": "^29.7.0",
5050
"jest-environment-jsdom": "^29.7.0",
51-
"license-checker": "^25.0.1",
51+
"license-checker-rseidelsohn": "^4.4.2",
5252
"prettier": "3.5.0",
5353
"ts-jest": "^29.2.5",
5454
"ts-node": "^10.9.2",

0 commit comments

Comments
 (0)
Please sign in to comment.