dojo / cli

:rocket: Dojo - command line tooling.
http://dojo.io
Other
26 stars 34 forks source link

Eject command will likely fail for multiple commands #106

Closed tomdye closed 7 years ago

tomdye commented 7 years ago

Eject command builds package.json and runs npm install for every command it ejects one-by-one. The npm install command is an async process and nothing is currently waiting for it.

The eject command should ideally build up a list of files to copy and a combined package.json file before running npm install and copy files once only at the end. This will avoid making changes to the file system etc... before checking for clashes / issues.