Skip to content

Conversation

wraithgar
Copy link
Member

@wraithgar wraithgar commented Jan 30, 2025

Single hyphen cli flags traditionally are single-character only, so they can be combined. npm already supports combining single-hyphen flags together, so it eventually needs stop supporting multi-character ones.

Also re-added -ws to undocumented shorthands, it was accidentally removed from the main config and not re-added to the internal one.

Finally, warnings on a few env configs that npm tosses around were suppressed for now.

Demonstration of the cli warning on some invalid single hyphen flags

Single hyphen cli flags traditionally are single-character only, so they can be combined. npm already supports combining single-hyphen flags together, so it eventually needs stop supporting multi-character ones. Also re-added -ws to undocumented shorthands, it was accidentally removed from the main config and not re-added to the internal one.
@wraithgar wraithgar requested a review from a team as a code owner January 30, 2025 17:52
@wraithgar wraithgar merged commit 593c849 into latest Jan 30, 2025
34 checks passed
@wraithgar wraithgar deleted the gar/invalid-config branch January 30, 2025 19:16
@github-actions github-actions bot mentioned this pull request Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants