Ensures that the used dependencies versions are valid.
**Bad**: (invalid format)
{
"dependencies": {
"foo": "~~1.0.0"
}
}
**Good**:
{
"dependencies": {
"foo": "~1.0.0"
}
}
**Bad**: (notice the space before the asterisk)
{
"dependencies": {
"foo": "workspace: *"
}
}
**Good**:
{
"dependencies": {
"foo": "workspace:*"
}
}
**Bad**: (dist-tag does not exist)
{
"dependencies": {
"foo": "badDistTag"
}
}
**Good**:
{
"dependencies": {
"foo": "latest"
}
}