Remove the depcheck-based dependency checker in favor of Knip#1443
Remove the depcheck-based dependency checker in favor of Knip#1443filipsobol wants to merge 13 commits into
Conversation
SummaryThe migration addresses the linked issue and recognizes literal dynamic imports, but it does not preserve several existing validation guarantees. Package-local development dependencies, missing relative CSS imports, and self-imports can now pass validation. The version checker also cannot launch on Windows. Changes
NotesLocal baseline checks passed: dependency validation, version validation, typecheck, targeted lint, and script tests. CircleCI validation and release preparation were still pending at review time. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 396253f. Configure here.
…on tests, so the checks are portable across platforms.
… the layout of the other repositories.

🚀 Summary
Removed the
@ckeditor/ckeditor5-dev-dependency-checkerpackage. It was built on top of the deprecated and archiveddepchecklibrary, whose ownREADMErecommendsknipas the modern replacement. This repository now uses external tools directly: Knip (check-dependencies— unused, missing, and misplaced dependencies; now also executed on CI) and syncpack (check-versions-match— version consistency, keeping the same CLI contract including--fix). Self-imports are covered by theckeditor5-rules/no-scoped-imports-within-packageESLint rule. A major-breaking changelog entry is included, as consumers of the removed package need to migrate toknip.📌 Related issues
See: https://github.com/ckeditor/ckeditor5-internal/issues/4564
💡 Additional information
check-dependencieswas not part of CI. It is now.cleanuppackages()in release tools still strips thedepcheckIgnorefield from publishedpackage.jsonfiles, because repositories that have not migrated yet may carry it.upath(web-crawler),@types/css(build-tools), andsemver(root) removed; unlisted@ckeditor/ckeditor5-dev-changelogadded (its binary is used by thenicescript).