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 to Angular6 and use CLI to build the library #61

Closed
wants to merge 1 commit into from

Conversation

chrste90
Copy link
Contributor

@chrste90 chrste90 commented Apr 5, 2018

Hi,

i updated the library to work with RXJS and Angular 6.

While i was on it, i also updated the library to use the Angular CLI to build and create the output in Angular Package Format.

I hope the changes are welcome, if not, let me know.

It would be nice to release a new version under @next soon if you like the changes.
Actually it is not possible to use the Library with RXJS 6 together.

Thanks,
Chris

@chrste90
Copy link
Contributor Author

chrste90 commented Apr 5, 2018

I also updated the tslint.json and replaced it with a standard version of angular cli. If you run ng lint there are many warnings. I can fix them in a future pr if you like.

@chrste90 chrste90 force-pushed the update-to-angular6 branch 2 times, most recently from a733550 to b21e6ae Compare April 5, 2018 13:31
@sclausen
Copy link
Owner

sclausen commented Apr 6, 2018

Wow, that's a really comprehensive pull request. Give me some time to review, but a first glance: awesome!

@chrste90
Copy link
Contributor Author

chrste90 commented Apr 6, 2018

Sure, take your time!

@chrste90
Copy link
Contributor Author

Hi @sclausen,

what is the way moving forward? I saw the discussion in the mqtt.js thread and it looks like the plan is to include mqtt with the browserified bundle to the bundle of this lib?

@sclausen
Copy link
Owner

sclausen commented Apr 23, 2018

At the moment I can't think of another way to get it done. angular-cli seems to just doesn't work here.

@sclausen
Copy link
Owner

Many many thanks for your great effort! @chrste90! I'm really sorry that using angular-cli as a build-tool doesn't seem to fit for this project.

@sclausen sclausen closed this Apr 23, 2018
@chrste90
Copy link
Contributor Author

Yeah, it's too bad. Maybe sometimes in the future it will work.

It would be nice to have a mqtt library without node shims because it increases the bundle size without any benefit.

@sclausen
Copy link
Owner

sclausen commented Apr 24, 2018 via email

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