wesleytodd / YeoPress

A Yeoman generator for WordPress
Other
1.08k stars 163 forks source link

Download WP with npm #153

Open wesleytodd opened 9 years ago

wesleytodd commented 9 years ago

As recommended here: https://github.com/yeoman/generator/issues/800#issuecomment-94304880 Due to this problem: #152

We should look at using npm to install WP. I am not entirely sure it is the BEST way, but it might be a fairly simple way to avoid the problems that #152 revealed.

Toddses commented 9 years ago

How would we go about this? Include WordPress git repo as a dependency in the package manifest?

wesleytodd commented 9 years ago

TBH, I'm not really sure what the best way would be. I was thinking something like making a tmp directory with a package.json, then moving everything over. But that seems ripe for problems.

escobar022 commented 9 years ago

There is another generator that is currently using .zip vs .tar, seems there might be an issue how tar is now being handled. I will fork and look into it. Is there a particular preference or reason why it should be tar?