tonik / theme

Tonik is a WordPress Starter Theme which aims to modernize, organize and enhance some aspects of WordPress theme development.
http://labs.tonik.pl/theme/
MIT License
1.33k stars 140 forks source link

Yarn over NPM #54

Closed jrah closed 6 years ago

jrah commented 6 years ago

Is there a possibility to use Yarn over NPM in a future iteration? Yarn is exceptionally fast to load dependencies.

rybkowskigrzegorz commented 6 years ago

Hi jrah, you can use Yarn if you want to, I mean anyways you need to install Yarn locally on your computer and the only thing is keeping yarn.lock in our repository - which in my opinion does not make a difference

jedrzejchalubek commented 6 years ago

As far I know Yarn is a drop-in replacement for NPM. You are free to use it with the starter as long as you have it installed globally.

We keep locks files out of the repository, but they are not ignored. They will be generated and used once you run npm install or yarn.

mcglonelevi commented 6 years ago

I am using Tonik and yarn at work. It is a drop-in replacement.

nr1q commented 6 years ago

Me too! BTW Yarn seems to be a little bit better when developing from both Linux and OSX, I didn't had dependency issues.