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

[BUGFIX release] Enable linking ember-source without prod files. #14975

Merged

Conversation

rwjblue
Copy link
Member

@rwjblue rwjblue commented Mar 1, 2017

Prior to these changes, in order to npm link ember-source you must run a production build of Ember. This is because of the list of files that we provide to stew.find (now Funnel) includes ember.prod.js and ember.min.js.

This commit does two main things:

Before this change the following would throw an error:

git clone [email protected]:emberjs/ember.js.git ember-canary
cd ember-canary
yarn install
./node_modules/.bin/ember build --environment=development
yarn link

cd ..
ember new test-app --yarn
cd test-app
yarn link ember-source
ember s

Prior to these changes, in order to `npm link ember-source` you must
run a production build of Ember. This is because of the list of files
that we provide to `stew.find` (now `Funnel`) includes `ember.prod.js`
and `ember.min.js`.

This commit does two main things:

* Remove usage of `stew.find` (and therefore remove `broccoli-stew` as a dep).
  It is likely that `stew.find` will be deprecated (stefanpenner/broccoli-stew#122).
* Only provide the list of files that are present to the `Funnel` `files` listing.

Before this change the following would throw an error:

```
git clone [email protected]:emberjs/ember.js.git ember-canary
cd ember-canary
yarn install
./node_modules/.bin/ember build --environment=development
yarn link

cd ..
ember new test-app --yarn
cd test-app
yarn link ember-source
ember s
```
@chadhietala chadhietala merged commit 3e30b50 into emberjs:master Mar 1, 2017
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.

2 participants