-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(cli): adjust colors for unstable version updates (#5498)
This change special-cases the color indicator for updates to *unstable* package versions, to more accurately indicate backwards compatibility. For 0.x.y versions, increments to the *minor* version number will be considered a *major* version change, and increments to the *patch* number, will be considered a *minor* version change. For 0.0.x versions, increments to *any* version number will be considered a *major* version change. This matches the behavior of how yarn & npm treats updates to packages defined with a caret-range.
- Loading branch information
1 parent
b7956d8
commit f4ae8a6
Showing
3 changed files
with
109 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters