cookbook 'yarn', '= 0.2.0'
yarn (11) Versions 0.2.0 Follow1
Install Yarn package manager
cookbook 'yarn', '= 0.2.0', :supermarket
knife supermarket install yarn
knife supermarket download yarn
yarn-cookbook
WIP
Chef cookbook to install Yarn package manager.
Recipes
yarn::default
Install or upgrade (default action) Yarn (it depends on node['yarn']['upgrade_package']
attribute, which defaults to true
).
yarn::install_package
Install Yarn.
yarn::upgrade_package
Install the latest version of Yarn.
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 (14.04 has been tested so far)
License
MIT @ Alexander Pyatkin
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
License Metric
0.2.0 passed this metric
0.2.0 passed this metric