Skip to content

[INTERNAL] Replace depcheck with knip#830

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

[INTERNAL] Replace depcheck with knip#830
werwolf2303 merged 5 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: 96.262%. remained the same
when pulling 2b5cdc8 on feature/depcheck-to-knip
into 4eae7b0 on v4.

@werwolf2303 werwolf2303 force-pushed the feature/depcheck-to-knip branch from 4b34c2f to 67c3b1e Compare February 9, 2026 15:21
@werwolf2303 werwolf2303 merged commit d1cda14 into v4 Feb 12, 2026
19 checks passed
@werwolf2303 werwolf2303 deleted the feature/depcheck-to-knip branch February 12, 2026 14:37
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