Add ability to use ~ for a shorthand operator
What does this MR do and why?
Add ability to use a tilde ~
as a shorthand operator for fetching latest minor/patch versions.
Example: ~1.2
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Before
After
two digits:
This is NOT a breaking change, so it still works without the operator:
How to set up and validate locally
include
a component with a ~x
version like the screenshots above, and see that the correct version gets referenced and the linter shows no errors:sparkles:
Resolves: #455836 (closed)
Edited by Laura Montemayor