The motivation is that the version for tools should be defined at 1 place. This place can often be the Package.swift or the Package.locked file. Package.resolved is a JSON file with the exact revision we are looking for and we don't want to resolve to a different version by using Package.swift, so only supporting Package.resolved first is fine.
The motivation is that the version for tools should be defined at 1 place. This place can often be the Package.swift or the Package.locked file. Package.resolved is a JSON file with the exact revision we are looking for and we don't want to resolve to a different version by using Package.swift, so only supporting Package.resolved first is fine.