cookbook 'yarn', '= 0.3.2'
yarn (11) Versions 0.3.2 Follow1
Install Yarn package manager
cookbook 'yarn', '= 0.3.2', :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']['package']['upgrade']
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. E.g. by using the nodejs cookbook.
- This cookbook should work on modern Debian and RHEL based systems.
Testing
Run script/bootstrap
to install necessary Ruby Gems.
Run script/test
to perform KitchenCI tests.
License
MIT @ Alexander Pyatkin
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
Collaborator Number Metric
0.3.2 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.3.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.3.2 passed this metric
License Metric
0.3.2 passed this metric
No Binaries Metric
0.3.2 passed this metric
Testing File Metric
0.3.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.3.2 passed this metric
0.3.2 failed this metric
0.3.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.3.2 passed this metric
License Metric
0.3.2 passed this metric
No Binaries Metric
0.3.2 passed this metric
Testing File Metric
0.3.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.3.2 passed this metric
0.3.2 passed this metric
0.3.2 passed this metric
No Binaries Metric
0.3.2 passed this metric
Testing File Metric
0.3.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.3.2 passed this metric
0.3.2 passed this metric
0.3.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.3.2 passed this metric
0.3.2 passed this metric