Skip to content
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

Merged
merged 5 commits into from
Oct 14, 2024
Merged

Add knip #228

merged 5 commits into from
Oct 14, 2024

Conversation

VanTanev
Copy link
Contributor

@VanTanev VanTanev commented Oct 13, 2024

As per the discussion in #225 (comment) - remove engines from the root package.json and add knip. Also add CI task for knip.

All published packages already have engines set at node >= 14.18.0.

Accidentally, this removed 4 dependencies from @manypkg/cli, because find-up dependency was unused.

References #221

Copy link

changeset-bot bot commented Oct 13, 2024

🦋 Changeset detected

Latest commit: 67e12ff

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@manypkg/cli Minor

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",
Copy link
Collaborator

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? 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

import { PackageJSON } from "@changesets/types";

"@manypkg/cli": minor
---

Add `knip` and fix all issues raised by it.
Copy link
Collaborator

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)

@Andarist Andarist merged commit 1cbdcb9 into Thinkmill:main Oct 14, 2024
4 checks passed
This was referenced Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants