-
Notifications
You must be signed in to change notification settings - Fork 82
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
Conversation
d9acaf1
to
91ae397
Compare
I also updated the tslint.json and replaced it with a standard version of angular cli. If you run |
a733550
to
b21e6ae
Compare
b21e6ae
to
6df4d77
Compare
Wow, that's a really comprehensive pull request. Give me some time to review, but a first glance: awesome! |
Sure, take your time! |
6df4d77
to
2574fc2
Compare
71ff3c4
to
be9b776
Compare
be9b776
to
eb6f734
Compare
eb6f734
to
461e8b1
Compare
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? |
At the moment I can't think of another way to get it done. |
Many many thanks for your great effort! @chrste90! I'm really sorry that using |
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. |
I already started a browser only port. Something like `mqtt.browser.ts`. It's not trivial to write though, because you have to replace not only process, but also node streams with ReadableStream and WriteableStream. Unfortunately they're not supported by all browsers. Nevertheless, this seems to be a fun task.Am 24.04.2018 09:41 schrieb chrste90 <notifications@github.com>: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.
—You are receiving this because you modified the open/close state.Reply to this email directly, view it on GitHub, or mute the thread.
|
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