[]()
[]()
WIP
Chef cookbook to install Yarn package manager.
Install or upgrade (default action) Yarn (it depends on node['yarn']['package']['upgrade']
attribute, which defaults to true
).
Install Yarn.
Install the latest version of Yarn.
Install all dependencies for a project.
yarn_install '/var/projects/test' do
user 'vagrant'
action :run
end
Run a defined package script.
yarn_run 'knex' do
user 'vagrant'
dir '/var/projects/test'
args ['migrate:latest']
action :run
end
Run script/bootstrap
to install necessary Ruby Gems.
Run script/test
to perform KitchenCI tests.
MIT @ Alexander Pyatkin