@homebridge-plugins/homebridge-august 2.2.8-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.json +86 -0
- package/.github/FUNDING.yml +4 -0
- package/.github/ISSUE_TEMPLATE/bug-report.yml +97 -0
- package/.github/ISSUE_TEMPLATE/config.yml +8 -0
- package/.github/ISSUE_TEMPLATE/feature-request.yml +38 -0
- package/.github/ISSUE_TEMPLATE/support-request.yml +85 -0
- package/.github/ISSUE_TEMPLATE.md +48 -0
- package/.github/PULL_REQUEST_TEMPLATE/pull_request.md +27 -0
- package/.github/dependabot.yml +17 -0
- package/.github/labeler.yml +38 -0
- package/.github/npm-version-script-esm.js +85 -0
- package/.github/workflows/beta-release.yml +55 -0
- package/.github/workflows/build.yml +18 -0
- package/.github/workflows/changerelease.yml +11 -0
- package/.github/workflows/labeler.yml +9 -0
- package/.github/workflows/release-drafter.yml +14 -0
- package/.github/workflows/release.yml +35 -0
- package/.github/workflows/stale.yml +12 -0
- package/CHANGELOG.md +197 -0
- package/LICENSE +14 -0
- package/README.md +45 -0
- package/SECURITY.md +19 -0
- package/branding/Homebridge_x_August.svg +32 -0
- package/branding/icon.png +0 -0
- package/config.schema.json +489 -0
- package/dist/devices/device.d.ts +55 -0
- package/dist/devices/device.d.ts.map +1 -0
- package/dist/devices/device.js +219 -0
- package/dist/devices/device.js.map +1 -0
- package/dist/devices/lock.d.ts +44 -0
- package/dist/devices/lock.d.ts.map +1 -0
- package/dist/devices/lock.js +353 -0
- package/dist/devices/lock.js.map +1 -0
- package/dist/homebridge-ui/public/index.html +203 -0
- package/dist/homebridge-ui/server.d.ts +2 -0
- package/dist/homebridge-ui/server.d.ts.map +1 -0
- package/dist/homebridge-ui/server.js +47 -0
- package/dist/homebridge-ui/server.js.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +11 -0
- package/dist/index.js.map +1 -0
- package/dist/platform.d.ts +91 -0
- package/dist/platform.d.ts.map +1 -0
- package/dist/platform.js +481 -0
- package/dist/platform.js.map +1 -0
- package/dist/settings.d.ts +177 -0
- package/dist/settings.d.ts.map +1 -0
- package/dist/settings.js +9 -0
- package/dist/settings.js.map +1 -0
- package/docs/.nojekyll +1 -0
- package/docs/assets/highlight.css +22 -0
- package/docs/assets/icons.js +18 -0
- package/docs/assets/icons.svg +1 -0
- package/docs/assets/main.js +60 -0
- package/docs/assets/navigation.js +1 -0
- package/docs/assets/search.js +1 -0
- package/docs/assets/style.css +1493 -0
- package/docs/functions/default.html +1 -0
- package/docs/index.html +39 -0
- package/docs/modules.html +2 -0
- package/eslint.config.js +50 -0
- package/package.json +92 -0
- package/typedoc.json +17 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>default | @homebridge-plugins/homebridge-august</title><meta name="description" content="Documentation for @homebridge-plugins/homebridge-august"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@homebridge-plugins/homebridge-august</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@homebridge-plugins/homebridge-august</a></li><li><a href="default.html">default</a></li></ul><h1>Function default</h1></div><section class="tsd-panel"><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="default" class="tsd-anchor"></a><span class="tsd-kind-call-signature">default</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">api</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#default" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">api</span>: <span class="tsd-signature-type">API</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/homebridge-plugins/homebridge-august/blob/6736b3a9b087222b88d03895a13a3822d206e163/src/index.ts#L11">index.ts:11</a></li></ul></aside></li></ul></section></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></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-plugins/homebridge-august</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>
|
package/docs/index.html
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>@homebridge-plugins/homebridge-august</title><meta name="description" content="Documentation for @homebridge-plugins/homebridge-august"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="assets/style.css"/><link rel="stylesheet" href="assets/highlight.css"/><script defer src="assets/main.js"></script><script async src="assets/icons.js" id="tsd-icons-script"></script><script async src="assets/search.js" id="tsd-search-script"></script><script async src="assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base="."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="index.html" class="title">@homebridge-plugins/homebridge-august</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><h1>@homebridge-plugins/homebridge-august</h1></div><div class="tsd-panel tsd-typography"><span align="center">
|
|
2
|
+
<p><a href="https://github.com/homebridge/verified/blob/master/verified-plugins.json"><img alt="homebridge-verified" src="https://raw.githubusercontent.com/homebridge-plugins/homebridge-august/latest/branding/Homebridge_x_August.svg?sanitize=true" width="350px"></a></p>
|
|
3
|
+
<a id="md:homebridge-august" class="tsd-anchor"></a><h1 class="tsd-anchor-link">Homebridge August<a href="#md:homebridge-august" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h1><p><a href="https://www.npmjs.com/package/homebridge-august"><img title="npm version" src="https://badgen.net/npm/v/homebridge-august?icon=npm&label" ></a>
|
|
4
|
+
<a href="https://www.npmjs.com/package/homebridge-august"><img title="npm downloads" src="https://badgen.net/npm/dt/homebridge-august?label=downloads" ></a>
|
|
5
|
+
<a href="https://discord.gg/8fpZA4S"><img title="discord-august" src="https://badgen.net/discord/online-members/8fpZA4S?icon=discord&label=discord" ></a>
|
|
6
|
+
<a href="https://paypal.me/donavanbecker"><img title="donate" src="https://badgen.net/badge/donate/paypal/yellow" ></a></p>
|
|
7
|
+
<p>The Homebridge <a href="https://august.com">August</a>
|
|
8
|
+
plugin allows you to access your <a href="https://august.com">August</a> & <a href="https://shopyalehome.com">Yale</a> Lock(s) from HomeKit with
|
|
9
|
+
<a href="https://homebridge.io">Homebridge</a>.
|
|
10
|
+
</p>
|
|
11
|
+
</span>
|
|
12
|
+
<a id="md:installation" class="tsd-anchor"></a><h2 class="tsd-anchor-link">Installation<a href="#md:installation" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h2><ol>
|
|
13
|
+
<li>Search for "August" on the plugin screen of <a href="https://github.com/oznu/homebridge-config-ui-x" target="_blank" class="external">Homebridge Config UI X</a>.</li>
|
|
14
|
+
<li>Click <strong>Install</strong>.</li>
|
|
15
|
+
</ol>
|
|
16
|
+
<a id="md:configuration" class="tsd-anchor"></a><h2 class="tsd-anchor-link">Configuration<a href="#md:configuration" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h2><ol>
|
|
17
|
+
<li>
|
|
18
|
+
<p>Input your August E-mail/Phone Number into the August Account Info.</p>
|
|
19
|
+
</li>
|
|
20
|
+
<li>
|
|
21
|
+
<p>August Validate code will be sent after restarting Homebridge.</p>
|
|
22
|
+
</li>
|
|
23
|
+
<li>
|
|
24
|
+
<p>Input your Validate Code into the August Account Info.</p>
|
|
25
|
+
</li>
|
|
26
|
+
<li>
|
|
27
|
+
<p>Finally Restart Homebridge.</p>
|
|
28
|
+
</li>
|
|
29
|
+
</ol>
|
|
30
|
+
<a id="md:supported-august-devices" class="tsd-anchor"></a><h2 class="tsd-anchor-link">Supported August Devices<a href="#md:supported-august-devices" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h2><ul>
|
|
31
|
+
<li>August Smart lock (AUG-SL04-C03-N04)</li>
|
|
32
|
+
<li>August Smart Lock Pro 3rd Gee (AUG-SL03-C02-G03-C)</li>
|
|
33
|
+
<li>August WiFi Smart Lock (Gen 4)</li>
|
|
34
|
+
<li>Yale Assure Lock (AUG-MD01)</li>
|
|
35
|
+
<li>Yale Assure Lock 2 (YDR410)</li>
|
|
36
|
+
<li>Yale Assure Lock SL (YDR256)</li>
|
|
37
|
+
</ul>
|
|
38
|
+
<a id="md:thanks" class="tsd-anchor"></a><h2 class="tsd-anchor-link">Thanks<a href="#md:thanks" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h2><p>Thank you to <a href="https://github.com/hufftheweevil" target="_blank" class="external">hufftheweevil</a> for the <a href="https://github.com/hufftheweevil/august-api" target="_blank" class="external">august-api</a> module.</p>
|
|
39
|
+
</div></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"><a href="#md:homebridge-august"><span>Homebridge <wbr/>August</span></a><ul><li><a href="#md:installation"><span>Installation</span></a></li><li><a href="#md:configuration"><span>Configuration</span></a></li><li><a href="#md:supported-august-devices"><span>Supported <wbr/>August <wbr/>Devices</span></a></li><li><a href="#md:thanks"><span>Thanks</span></a></li></ul></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="modules.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="assets/icons.svg#icon-1"></use></svg><span>@homebridge-plugins/homebridge-august</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>
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>@homebridge-plugins/homebridge-august</title><meta name="description" content="Documentation for @homebridge-plugins/homebridge-august"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="assets/style.css"/><link rel="stylesheet" href="assets/highlight.css"/><script defer src="assets/main.js"></script><script async src="assets/icons.js" id="tsd-icons-script"></script><script async src="assets/search.js" id="tsd-search-script"></script><script async src="assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base="."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="index.html" class="title">@homebridge-plugins/homebridge-august</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="modules.html">@homebridge-plugins/homebridge-august</a></li></ul><h1>@homebridge-plugins/homebridge-august</h1></div><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><h3 class="tsd-index-heading uppercase">Index</h3><section class="tsd-index-section"><h3 class="tsd-index-heading">Functions</h3><div class="tsd-index-list"><a href="functions/default.html" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="assets/icons.svg#icon-64"></use></svg><span>default</span></a>
|
|
2
|
+
</div></section></section></section></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></div><div class="site-menu"><nav class="tsd-navigation"><a href="modules.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="assets/icons.svg#icon-1"></use></svg><span>@homebridge-plugins/homebridge-august</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>
|
package/eslint.config.js
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import antfu from '@antfu/eslint-config'
|
|
2
|
+
|
|
3
|
+
export default antfu(
|
|
4
|
+
{
|
|
5
|
+
ignores: ['dist', 'docs'],
|
|
6
|
+
jsx: false,
|
|
7
|
+
typescript: true,
|
|
8
|
+
formatters: {
|
|
9
|
+
markdown: true,
|
|
10
|
+
},
|
|
11
|
+
rules: {
|
|
12
|
+
'curly': ['error', 'multi-line'],
|
|
13
|
+
'import/extensions': ['error', 'ignorePackages'],
|
|
14
|
+
'import/order': 0,
|
|
15
|
+
'jsdoc/check-alignment': 'error',
|
|
16
|
+
'jsdoc/check-line-alignment': 'error',
|
|
17
|
+
'perfectionist/sort-exports': 'error',
|
|
18
|
+
'perfectionist/sort-imports': [
|
|
19
|
+
'error',
|
|
20
|
+
{
|
|
21
|
+
groups: [
|
|
22
|
+
'builtin-type',
|
|
23
|
+
'external-type',
|
|
24
|
+
'internal-type',
|
|
25
|
+
['parent-type', 'sibling-type', 'index-type'],
|
|
26
|
+
'builtin',
|
|
27
|
+
'external',
|
|
28
|
+
'internal',
|
|
29
|
+
['parent', 'sibling', 'index'],
|
|
30
|
+
'object',
|
|
31
|
+
'unknown',
|
|
32
|
+
],
|
|
33
|
+
order: 'asc',
|
|
34
|
+
type: 'natural',
|
|
35
|
+
},
|
|
36
|
+
],
|
|
37
|
+
'perfectionist/sort-named-exports': 'error',
|
|
38
|
+
'perfectionist/sort-named-imports': 'error',
|
|
39
|
+
'sort-imports': 0,
|
|
40
|
+
'style/brace-style': ['error', '1tbs', { allowSingleLine: true }],
|
|
41
|
+
'style/quote-props': ['error', 'consistent-as-needed'],
|
|
42
|
+
'test/no-only-tests': 'error',
|
|
43
|
+
'unicorn/no-useless-spread': 'error',
|
|
44
|
+
'unused-imports/no-unused-vars': ['error', { caughtErrors: 'none' }],
|
|
45
|
+
'no-new': 0, // Disable the no-new rule
|
|
46
|
+
'new-cap': 0, // Disable the new-cap rule
|
|
47
|
+
'no-undef': 0, // Disable the no-undef rule
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
)
|
package/package.json
ADDED
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@homebridge-plugins/homebridge-august",
|
|
3
|
+
"displayName": "August",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"version": "2.2.8-beta.0",
|
|
6
|
+
"description": "The August plugin allows you to access your August & Yale device(s) from HomeKit.",
|
|
7
|
+
"author": {
|
|
8
|
+
"name": "donavanbecker",
|
|
9
|
+
"url": "https://github.com/donavanbecker"
|
|
10
|
+
},
|
|
11
|
+
"license": "ISC",
|
|
12
|
+
"funding": [
|
|
13
|
+
{
|
|
14
|
+
"type": "Paypal",
|
|
15
|
+
"url": "https://paypal.me/donavanbecker"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"type": "GitHub",
|
|
19
|
+
"url": "https://github.com/sponsors/donavanbecker"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"homepage": "https://github.com/homebridge-plugins/homebridge-august",
|
|
23
|
+
"maintainers": [
|
|
24
|
+
"donavanbecker"
|
|
25
|
+
],
|
|
26
|
+
"repository": {
|
|
27
|
+
"type": "git",
|
|
28
|
+
"url": "https://github.com/homebridge-plugins/homebridge-august.git"
|
|
29
|
+
},
|
|
30
|
+
"bugs": {
|
|
31
|
+
"url": "https://github.com/homebridge-plugins/homebridge-august/issues"
|
|
32
|
+
},
|
|
33
|
+
"keywords": [
|
|
34
|
+
"homebridge-plugin",
|
|
35
|
+
"august",
|
|
36
|
+
"yale",
|
|
37
|
+
"lock"
|
|
38
|
+
],
|
|
39
|
+
"main": "dist/index.js",
|
|
40
|
+
"icon": "https://raw.githubusercontent.com/homebridge-plugins/homebridge-august/beta-1.3.2/branding/icon.png",
|
|
41
|
+
"engines": {
|
|
42
|
+
"homebridge": "^1.8.5 || ^2.0.0 || ^2.0.0-beta.11 || ^2.0.0-alpha.10",
|
|
43
|
+
"node": "^20 || ^22"
|
|
44
|
+
},
|
|
45
|
+
"scripts": {
|
|
46
|
+
"check": "npm install && npm outdated",
|
|
47
|
+
"update": "ncu -u && npm update && npm install",
|
|
48
|
+
"lint": "eslint src/**/*.ts",
|
|
49
|
+
"lint:fix": "eslint src/**/*.ts --fix",
|
|
50
|
+
"watch": "npm run build && npm run plugin-ui && npm link && nodemon",
|
|
51
|
+
"plugin-ui": "rsync ./src/homebridge-ui/public/index.html ./dist/homebridge-ui/public/",
|
|
52
|
+
"build": "npm run clean && tsc && npm run plugin-ui",
|
|
53
|
+
"prepublishOnly": "npm run lint && npm run build && npm run plugin-ui ",
|
|
54
|
+
"postpublish": "npm run clean",
|
|
55
|
+
"clean": "shx rm -rf ./dist",
|
|
56
|
+
"test": "npm run lint",
|
|
57
|
+
"docs": "typedoc",
|
|
58
|
+
"lint-docs": "typedoc --emit none --treatWarningsAsErrors"
|
|
59
|
+
},
|
|
60
|
+
"publishConfig": {
|
|
61
|
+
"access": "public"
|
|
62
|
+
},
|
|
63
|
+
"dependencies": {
|
|
64
|
+
"@homebridge/plugin-ui-utils": "^1.0.3",
|
|
65
|
+
"august-yale": "^1.1.0",
|
|
66
|
+
"rxjs": "^7.8.1"
|
|
67
|
+
},
|
|
68
|
+
"devDependencies": {
|
|
69
|
+
"@antfu/eslint-config": "^3.8.0",
|
|
70
|
+
"@types/aes-js": "^3.1.4",
|
|
71
|
+
"@types/debug": "^4.1.12",
|
|
72
|
+
"@types/fs-extra": "^11.0.4",
|
|
73
|
+
"@types/jest": "^29.5.14",
|
|
74
|
+
"@types/mdast": "^4.0.4",
|
|
75
|
+
"@types/node": "^22.8.6",
|
|
76
|
+
"@types/semver": "^7.5.8",
|
|
77
|
+
"@types/source-map-support": "^0.5.10",
|
|
78
|
+
"@vitest/coverage-v8": "^2.1.4",
|
|
79
|
+
"eslint": "^9.13.0",
|
|
80
|
+
"eslint-plugin-format": "^0.1.2",
|
|
81
|
+
"homebridge": "^1.8.5",
|
|
82
|
+
"homebridge-config-ui-x": "4.62.0",
|
|
83
|
+
"jest": "^29.7.0",
|
|
84
|
+
"nodemon": "^3.1.7",
|
|
85
|
+
"npm-check-updates": "^17.1.9",
|
|
86
|
+
"shx": "^0.3.4",
|
|
87
|
+
"ts-node": "^10.9.2",
|
|
88
|
+
"typedoc": "^0.26.10",
|
|
89
|
+
"typescript": "^5.6.3",
|
|
90
|
+
"vitest": "^2.1.4"
|
|
91
|
+
}
|
|
92
|
+
}
|
package/typedoc.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"out": "docs",
|
|
3
|
+
"exclude": ["src/**/*.spec.ts"],
|
|
4
|
+
"entryPoints": [
|
|
5
|
+
"src/index.ts"
|
|
6
|
+
],
|
|
7
|
+
"excludePrivate": true,
|
|
8
|
+
"excludeProtected": true,
|
|
9
|
+
"excludeExternals": true,
|
|
10
|
+
"hideGenerator": true,
|
|
11
|
+
"includeVersion": false,
|
|
12
|
+
"validation": {
|
|
13
|
+
"invalidLink": true,
|
|
14
|
+
"notExported": false
|
|
15
|
+
},
|
|
16
|
+
"inlineTags": ["@link", "@see"]
|
|
17
|
+
}
|