Yarn plugin for mina
Add this line to your application's Gemfile:
gem 'mina-yarn'
And then execute:
$ bundle
Or install it yourself as:
$ gem install mina-yarn
require 'mina/yarn'
task :deploy => :environment do
deploy do
...
invoke 'yarn:install'
...
end
end
set :yarn_bin # default: 'yarn'
set :yarn_options # default: '--production'
Bug reports and pull requests are welcome on GitHub at https://github.com/alepee/mina-yarn. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
The gem is available as open source under the terms of the MIT License.