Skip to content

Conversation

wraithgar
Copy link
Member

@wraithgar wraithgar commented Jan 3, 2025

Adds undeprecate command, adds logging info to output, and adds dry-run to deprecate and undeprecate

Closes: npm/statusboard#376

example of deperecate in dry-run mode showing new notice log messages

example of undeprecate in dry-run mode showing new notice log messages

example of deprecate with an empty message still logging undeprecate log messages

@wraithgar wraithgar requested a review from a team as a code owner January 3, 2025 18:08
@ljharb
Copy link
Contributor

ljharb commented Jan 3, 2025

nice, is this just sugar for deprecate with an empty string?

@wraithgar wraithgar force-pushed the gar/undeprecate branch 2 times, most recently from 988fbc4 to d5ead63 Compare January 3, 2025 18:33
@wraithgar
Copy link
Member Author

wraithgar commented Jan 3, 2025

nice, is this just sugar for deprecate with an empty string?

Yes, because npm deprecate pkg '' technically works but it's not a great experience.

@wraithgar
Copy link
Member Author

That logging could get very noisy if doing a LOT of versions.

@wraithgar wraithgar merged commit 7f6c997 into latest Jan 6, 2025
38 checks passed
@wraithgar wraithgar deleted the gar/undeprecate branch January 6, 2025 21:31
@github-actions github-actions bot mentioned this pull request Jan 6, 2025
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.

npm undeprecate
3 participants