Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

yarn (11) Versions 0.3.1

Install Yarn package manager

Policyfile
Berkshelf
Knife
cookbook 'yarn', '= 0.3.1', :supermarket
cookbook 'yarn', '= 0.3.1'
knife supermarket install yarn
knife supermarket download yarn
README
Dependencies
Quality 57%

yarn-cookbook

Chef cookbook
license

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

  1. This cookbook is under development. Use at your own risk.
  2. 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.
  3. 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

Collaborator Number Metric
            

0.3.1 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.1 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.1 passed this metric

License Metric
            

0.3.1 passed this metric

No Binaries Metric
            

0.3.1 passed this metric

Testing File Metric
            

0.3.1 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.1 passed this metric