tricknotes / ember-cli-rails

Unify your EmberCLI and Rails Workflows
http://thoughtbot.github.io/ember-cli-rails/
MIT License
713 stars 205 forks source link

Add support for yarn #496

Closed drewtempelmeyer closed 7 years ago

drewtempelmeyer commented 7 years ago

yarn has significantly reduced the time it takes to install npm packages. Given the benefits of yarn, I've added opt-in support for using yarn install instead of npm install.

Enabling yarn can be done by either:

EmberCli.configure do |c|
  c.app :frontend, yarn: true
end
EmberCli.configure do |c|
  c.app :frontend, yarn_path: "/home/app/bin/yarn"
end
seanpdoyle commented 7 years ago

Closing in favor of https://github.com/thoughtbot/ember-cli-rails/pull/501 (so that CI can run)

seanpdoyle commented 7 years ago

Merged in https://github.com/thoughtbot/ember-cli-rails/commit/7fc1b3ee92b045971ad867344a13579089ebcc7c.

Thanks!