cookbook 'yarn', '= 0.1.0'
yarn (11) Versions 0.1.0 Follow1
Install Yarn package manager
cookbook 'yarn', '= 0.1.0', :supermarket
knife supermarket install yarn
knife supermarket download yarn
yarn-cookbook
WIP
Chef cookbook to install Yarn package manager.
Recipes
yarn::default
Install Yarn system-wide.
Resources
yarn_install
Install all dependencies for a project.
yarn_install '/var/projects/test' do user 'vagrant' action :run end
yarn_run
Run a defined package script.
yarn_run 'knex' do user 'vagrant' dir '/var/projects/test' args ['migrate:latest'] action :run end
Disclaimer
- This cookbook is under development. Use at your own risk.
- This cookbook doesn't install Node.js itself, it presupposes that Node.js is installed on your system. Any method of installing Node.js on your system should work.
- This cookbook works only on Ubuntu (only 14.04 has been tested so far)
License
MIT @ Alexander Pyatkin
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
License Metric
0.1.0 passed this metric
0.1.0 passed this metric