Skip to content

Commit

Permalink
convert repo to esm
Browse files Browse the repository at this point in the history
  • Loading branch information
bwp91 committed Sep 1, 2024
1 parent 3062503 commit 8e346ac
Show file tree
Hide file tree
Showing 64 changed files with 3,953 additions and 3,805 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/alpha-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
publish:
if: ${{ github.repository == 'homebridge/ciao' }}
uses: homebridge/.github/.github/workflows/npm-publish.yml@latest
uses: homebridge/.github/.github/workflows/npm-publish-esm.yml@latest
with:
tag: alpha
dynamically_adjust_version: true
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/beta-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ on:
jobs:
build_and_test:
uses: homebridge/.github/.github/workflows/nodejs-build-and-test.yml@latest
with:
enable_coverage: true
# with:
# enable_coverage: true # will fail until https://github.com/bcoe/v8-coverage/pull/2 is merged
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
lint:
Expand All @@ -21,7 +21,7 @@ jobs:

if: ${{ github.repository == 'homebridge/ciao' }}

uses: homebridge/.github/.github/workflows/npm-publish.yml@latest
uses: homebridge/.github/.github/workflows/npm-publish-esm.yml@latest
with:
tag: beta
dynamically_adjust_version: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ on:
jobs:
build_and_test:
uses: homebridge/.github/.github/workflows/nodejs-build-and-test.yml@latest
with:
enable_coverage: true
# with:
# enable_coverage: true # will fail until https://github.com/bcoe/v8-coverage/pull/2 is merged
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
lint:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ on:
jobs:
build_and_test:
uses: homebridge/.github/.github/workflows/nodejs-build-and-test.yml@latest
with:
enable_coverage: true
# with:
# enable_coverage: true # will fail until https://github.com/bcoe/v8-coverage/pull/2 is merged
secrets:
token: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -19,6 +19,6 @@ jobs:

if: ${{ github.repository == 'homebridge/ciao' }}

uses: homebridge/.github/.github/workflows/npm-publish.yml@latest
uses: homebridge/.github/.github/workflows/npm-publish-esm.yml@latest
secrets:
npm_auth_token: ${{ secrets.npm_token }}
2 changes: 1 addition & 1 deletion docs/assets/main.js

Large diffs are not rendered by default.

23 changes: 12 additions & 11 deletions docs/classes/CiaoService.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/classes/Responder.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/enums/Protocol.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
<p>As of RFC 6763 7. TCP must be used for any applications using tcp.
For applications using any other transport protocol UDP must be used.
This applies to all other transport protocols like SCTP, DCCP, RTMFP, etc</p>
</div><div class="tsd-comment tsd-typography"></div></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/homebridge/ciao/blob/a9e1a6366815cbe9767ebb2a81d43e15c622f7f0/src/index.ts#L37">index.ts:37</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Enumeration Members</h3><div class="tsd-index-list"><a href="Protocol.html#TCP" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-16"></use></svg><span>TCP</span></a>
</div><div class="tsd-comment tsd-typography"></div></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/homebridge/ciao/blob/5afe64b16644a8be06d01d3f0c5fc7b8b97f5fe2/src/index.ts#L45">index.ts:45</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Enumeration Members</h3><div class="tsd-index-list"><a href="Protocol.html#TCP" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-16"></use></svg><span>TCP</span></a>
<a href="Protocol.html#UDP" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-16"></use></svg><span>UDP</span></a>
</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Enumeration Members"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Enumeration Members</h2></summary><section><section class="tsd-panel tsd-member"><a id="TCP" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>TCP</span><a href="#TCP" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-enum-member">TCP</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;tcp&quot;</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/homebridge/ciao/blob/a9e1a6366815cbe9767ebb2a81d43e15c622f7f0/src/index.ts#L38">index.ts:38</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="UDP" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>UDP</span><a href="#UDP" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-enum-member">UDP</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;udp&quot;</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/homebridge/ciao/blob/a9e1a6366815cbe9767ebb2a81d43e15c622f7f0/src/index.ts#L39">index.ts:39</a></li></ul></aside></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="tsd-otp-Enumeration Members"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Enumeration Members</summary><div><a href="#TCP" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-16"></use></svg><span>TCP</span></a><a href="#UDP" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-16"></use></svg><span>UDP</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@homebridge/ciao - v1.3.1</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer></footer><div class="overlay"></div></body></html>
</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Enumeration Members"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Enumeration Members</h2></summary><section><section class="tsd-panel tsd-member"><a id="TCP" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>TCP</span><a href="#TCP" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-enum-member">TCP</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;tcp&quot;</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/homebridge/ciao/blob/5afe64b16644a8be06d01d3f0c5fc7b8b97f5fe2/src/index.ts#L46">index.ts:46</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="UDP" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>UDP</span><a href="#UDP" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-enum-member">UDP</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;udp&quot;</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/homebridge/ciao/blob/5afe64b16644a8be06d01d3f0c5fc7b8b97f5fe2/src/index.ts#L47">index.ts:47</a></li></ul></aside></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="tsd-otp-Enumeration Members"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Enumeration Members</summary><div><a href="#TCP" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-16"></use></svg><span>TCP</span></a><a href="#UDP" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-16"></use></svg><span>UDP</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@homebridge/ciao - v1.3.1</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer></footer><div class="overlay"></div></body></html>
Loading

0 comments on commit 8e346ac

Please sign in to comment.