Temasys / AdapterJS

AdapterJS Javascript Polyfill and Tools for WebRTC - Skylink WebRTC
http://skylink.io/web
Other
428 stars 100 forks source link

webrtc-adapter dependency to npm dependency from git submodule #283

Closed NTARelix closed 7 years ago

NTARelix commented 7 years ago

AdapterJS depends on webrtc/adapter (webrtc-adapter on npm). We currently declare this dependency via git submodules when ideally it would be in package.json. There are multiple reasons for this (one of which I've run into with bug #262, as well as being unable to install this dependency in a minimal CI slave that doesn't have git).

The build involves hooking into the npm lifecycle (see postinstall in package.json) to build this webrtc-adapter dependency before injecting it into this package's output. I've removed the submodule in favor of a pre-built npm dependency.

NTARelix commented 7 years ago

I opened this pull request yesterday, but did a hard reset on master and force pushed so the old pull request got closed automatically. https://github.com/Temasys/AdapterJS/pull/282

These changes are on the development branch now.

johache commented 7 years ago

@letchoo LGTM. I'll merge if that's good for you.