Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for yarn #496

Closed
wants to merge 3 commits into from
Closed

Conversation

drewtempelmeyer
Copy link
Contributor

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:

  • Specifying the yarn option:
EmberCli.configure do |c|
  c.app :frontend, yarn: true
end
  • Specifying the yarn_path:
EmberCli.configure do |c|
  c.app :frontend, yarn_path: "/home/app/bin/yarn"
end

@seanpdoyle seanpdoyle mentioned this pull request Oct 28, 2016
@seanpdoyle
Copy link
Contributor

Closing in favor of #501 (so that CI can run)

@seanpdoyle seanpdoyle closed this Oct 28, 2016
seanpdoyle pushed a commit that referenced this pull request Oct 28, 2016
#496

[yarn](https://github.com/yarnpkg/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:
* Specifying the `yarn` option:
```ruby
EmberCli.configure do |c|
  c.app :frontend, yarn: true
end
```
* Specifying the `yarn_path`:
```ruby
EmberCli.configure do |c|
  c.app :frontend, yarn_path: "/home/app/bin/yarn"
end
```
@seanpdoyle
Copy link
Contributor

Merged in 7fc1b3e.

Thanks!

Samsinite pushed a commit to Samsinite/ember-cli-rails that referenced this pull request Mar 10, 2020
thoughtbot#496

[yarn](https://github.com/yarnpkg/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:
* Specifying the `yarn` option:
```ruby
EmberCli.configure do |c|
  c.app :frontend, yarn: true
end
```
* Specifying the `yarn_path`:
```ruby
EmberCli.configure do |c|
  c.app :frontend, yarn_path: "/home/app/bin/yarn"
end
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants