Skip to content

[INTERNAL] Replace depcheck with knip#855

Merged
werwolf2303 merged 3 commits intov4from
feature/depcheck-to-knip
Feb 12, 2026
Merged

[INTERNAL] Replace depcheck with knip#855
werwolf2303 merged 3 commits intov4from
feature/depcheck-to-knip

Conversation

@werwolf2303
Copy link
Contributor

@werwolf2303 werwolf2303 commented Feb 9, 2026

Due to the deprecation of depcheck we migrated to knip, which is in active development and has more features. As a first step we only activate the checking of unused dependencies.

The reason why we replaced the docdash jsdoc template path lookup in the jsdoc script is that knip fails to detect that a dependency (jsdoc) is used when a command inside of the package.json contains JavaScript code (via sub-shell).

JIRA: CPOUI5FOUNDATION-1126

@coveralls
Copy link

coveralls commented Feb 9, 2026

Coverage Status

coverage: 95.719%. remained the same
when pulling 9100a6d on feature/depcheck-to-knip
into 6cb48c7 on v4.

@werwolf2303 werwolf2303 force-pushed the feature/depcheck-to-knip branch from 4b857d3 to 6d31f1b Compare February 9, 2026 15:18
@werwolf2303 werwolf2303 merged commit 67ec57b into v4 Feb 12, 2026
17 checks passed
@werwolf2303 werwolf2303 deleted the feature/depcheck-to-knip branch February 12, 2026 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants