The ts-prune to knip package has been deprecated since December 2023 and it is recommended to upgrade to Knip.
Knip uses different detection algorithms and the output format is different too, so simply switching from ts-prune to knip will break the build.