-
Notifications
You must be signed in to change notification settings - Fork 50
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 #228
Add knip #228
Conversation
🦋 Changeset detectedLatest commit: 67e12ff The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
@@ -27,6 +26,7 @@ | |||
"validate-npm-package-name": "^3.0.0" | |||
}, | |||
"devDependencies": { | |||
"@changesets/types": "^5.2.1", |
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.
where do we depend on this? 🤔
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.
manypkg/packages/cli/src/npm-tag.ts
Line 2 in 4a835ed
import { PackageJSON } from "@changesets/types"; |
.changeset/rude-geckos-happen.md
Outdated
"@manypkg/cli": minor | ||
--- | ||
|
||
Add `knip` and fix all issues raised by it. |
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.
Adding knip
is an internal change and the users (changesets target audience) don't care about this. Don't bother documenting what changes internally but please document the user-facing changes using changesets (like for example the removal of find-up
)
As per the discussion in #225 (comment) - remove
engines
from the rootpackage.json
and addknip
. Also add CI task forknip
.All published packages already have
engines
set atnode >= 14.18.0
.Accidentally, this removed 4 dependencies from
@manypkg/cli
, becausefind-up
dependency was unused.References #221