-
Notifications
You must be signed in to change notification settings - Fork 27
Add knip checks #274
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add knip checks #274
Conversation
mifi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cool stuff. should we add it to uppy also or wdyt?
| "p-queue": "^9.0.1", | ||
| "recursive-readdir": "^2.2.3", | ||
| "tus-js-client": "^4.3.1", | ||
| "typanion": "^3.14.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ironically, this seems unused. and shouldn't that have been caught by knip?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typanion is a peer dependency of clipanion. node_modules/clipanion/package.json lists "typanion": "*" in peerDependencies and also lists it in its own dependencies. That’s why it should remain in node-sdk/package.json even without direct imports.
Knip doesn’t flag it because it treats peer‑required deps as needed (or because clipanion’s peer requirement effectively justifies it).
Yes i think so, still making some tweaks tho |
PRs opened: