When we import build file from npm, we ask the user for package name and version. In most cases, the version requested will be latest and if it is latest we don't need to verify it exists because it always does.
Steps to Reproduce
Use the generator and when generator asks for version just press enter (as latest is default) or enter latest, it will take time to show you the next prompt because it will verify the version.
Expected Behaviour
The generator should not check for the version if it is latest.
Actual Behaviour
The generator unnecessarily checks whether version is valid or not and this takes time.
Description
When we import build file from npm, we ask the user for package name and version. In most cases, the version requested will be latest and if it is latest we don't need to verify it exists because it always does.
Steps to Reproduce
Use the generator and when generator asks for version just press enter (as latest is default) or enter latest, it will take time to show you the next prompt because it will verify the version.
Expected Behaviour
The generator should not check for the version if it is latest.
Actual Behaviour
The generator unnecessarily checks whether version is valid or not and this takes time.