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

Pull toastr from npm instead of bower #16

Merged
merged 11 commits into from
May 4, 2017

Conversation

zomarg
Copy link
Contributor

@zomarg zomarg commented May 4, 2017

Resolve #14
Other changes:
Travis build file changed to test for node 4 and 6.
Remove testing for older nodes beacuse of ES6 language support.

Tests passing locally, travis is green also.

Copy link
Owner

@knownasilya knownasilya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this! Just a few comments, but everything else looks good.

index.js Outdated
target.import(
{
development: vendor + '/toastr/toastr.js',
production: vendor + '/toastr/build/toastr.min.js'
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This shouldn't be necessary since ember-cli does a production build itself.

index.js Outdated
target.import(
{
development: vendor + '/toastr/build/toastr.css',
production: vendor + '/toastr/build/toastr.min.css'
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above

package.json Outdated
@@ -43,7 +45,8 @@
"toastr"
],
"dependencies": {
"ember-cli-babel": "^5.0.0"
"ember-cli-babel": "^5.0.0",
"toastr": "^2.1.2"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this gets added to the user's project, it shouldn't be here (only in dev deps for dummy app).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great thanks for the comments will do the changes :D

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just for toastr, not for ember-cli-babel. That needs to stay for transpilation of the addon.

@knownasilya knownasilya merged commit 1fd9bd5 into knownasilya:master May 4, 2017
@roberkules
Copy link

i just tried to install ember-toastr and I noticed that it's still showing the Install toastr.js from bower blueprint. I guess it's because you didn't bump the package version (to 1.5.1 or 1.6)?!

@knownasilya
Copy link
Owner

I just merged this and haven't published the changes yet. Will try to get to it later today.

@roberkules
Copy link

alright, sorry for being impatient ;)

@zomarg
Copy link
Contributor Author

zomarg commented May 8, 2017

@knownasilya is there any way you could publish to npm please

knownasilya pushed a commit that referenced this pull request May 8, 2017
- Use npm for the toastr dependency, see #16
- Able to remove individual toasts, see #12
@knownasilya
Copy link
Owner

All set @gramozkrasniqi

@zomarg zomarg deleted the feature-npm-toastr branch May 8, 2017 21:56
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

3 participants