monaca / monaca-cli

Command line version of Monaca
Other
44 stars 14 forks source link

monaca create installs build dependency all the time #49

Closed masahirotanaka closed 8 years ago

masahirotanaka commented 8 years ago

monaca create installs build dependency all the time. I hope it will be skipped if they are installed already.

frandiox commented 8 years ago

@masahirotanaka Bryan and me were talking about this issue some weeks ago. I think he preferred to let npm do the job due to some problems while checking dependencies versions. I think it's possible to check the version if we include the package.json instead of the actual dependency while doing the check. I'll make a PR in monaca-lib repository.