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

Update Ember-CLI and add tests/dummy/public #50

Merged
merged 7 commits into from Dec 19, 2017
Merged

Update Ember-CLI and add tests/dummy/public #50

merged 7 commits into from Dec 19, 2017

Conversation

RobbieTheWagner
Copy link
Collaborator

I updated to Ember-CLI 2.17.1 and ran the related blueprints with ember init.

I also think I have a partial solution for #29

I added a check in src/index.js like:

if(isAddon) {
  defaultOpts.sourceDirs.push('tests/dummy/public');
}

So we should be automatically adding tests/dummy/public to the directories we look through, if you are inside an addon.

I tried linking locally to an addon to test, but when I ran ember s the addon could not access http://localhost:4200/ember-svg-jar/index.html so I am not 100% sure if this works or not, but I think it should. I was able to see that isAddon was evaluating correctly and pushing to the source directories.

I updated to Ember-CLI 2.17.1 and ran the related blueprints.

I also, I think have a partial solution for #29

I added a check in src/index.js like:

```js
if(isAddon) {
  defaultOpts.sourceDirs.push('tests/dummy/public');
  }
```

So we should be automatically adding `tests/dummy/public` to the directories we look through, if you are inside an addon.

I tried linking locally to an addon to test, but when I ran `ember s` the addon could not access http://localhost:4200/ember-svg-jar/index.html so I am not 100% sure if this works or not, but I think it should.
@RobbieTheWagner
Copy link
Collaborator Author

It looks like there are issues with Ember 1.10.0 for some reason. Can we just support 1.13+? Those versions are really old now, so not sure how important it is to you to support them.

@voltidev
Copy link
Collaborator

That's cool. Thank you. I'll take a look at it.

@RobbieTheWagner
Copy link
Collaborator Author

I went ahead and updated support to be >= 1.13.13.

@RobbieTheWagner
Copy link
Collaborator Author

@ivanvotti any questions for me or anything I can do to help get this merged? Happy to help any way I can!

@voltidev voltidev merged commit 570001d into evoactivity:master Dec 19, 2017
@RobbieTheWagner RobbieTheWagner deleted the update-deps-add-dummy branch December 19, 2017 20:31
@RobbieTheWagner
Copy link
Collaborator Author

Thanks for merging! Would you mind releasing as well?

@voltidev
Copy link
Collaborator

Sure. I'll probably do it today.

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