Commit d9f3f0c
authored
[INTERNAL] Replace depcheck with knip (#779)
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-11261 parent 71d00c0 commit d9f3f0c
3 files changed
Lines changed: 618 additions & 703 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
0 commit comments