matterbridge-example-accessory-platform 1.0.7 → 1.0.8
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/README.md +2 -0
- package/package.json +10 -6
- package/.eslintrc.json +0 -46
- package/.gitattributes +0 -2
- package/.prettierignore +0 -2
- package/.prettierrc.json +0 -12
package/README.md
CHANGED
|
@@ -12,4 +12,6 @@
|
|
|
12
12
|
|
|
13
13
|
Matterbridge accessory platform example plugin is a template to develop your own plugin using the accessory platform.
|
|
14
14
|
|
|
15
|
+
It exposes a cover device that continuously moves position and shows how to use the command handlers (you can control the device).
|
|
16
|
+
|
|
15
17
|
See the guidelines on [Matterbridge](https://github.com/Luligu/matterbridge/blob/main/README.md) for more information.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "matterbridge-example-accessory-platform",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
4
4
|
"description": "Matterbridge accessory platform plugin example",
|
|
5
5
|
"author": "https://github.com/Luligu",
|
|
6
6
|
"license": "MIT",
|
|
@@ -14,6 +14,10 @@
|
|
|
14
14
|
"bugs": {
|
|
15
15
|
"url": "https://github.com/Luligu/matterbridge-example-accessory-platform/issues"
|
|
16
16
|
},
|
|
17
|
+
"funding": {
|
|
18
|
+
"type": "buymeacoffee",
|
|
19
|
+
"url": "https://www.buymeacoffee.com/luligugithub"
|
|
20
|
+
},
|
|
17
21
|
"keywords": [
|
|
18
22
|
"matterbridge",
|
|
19
23
|
"homebridge",
|
|
@@ -55,16 +59,16 @@
|
|
|
55
59
|
},
|
|
56
60
|
"devDependencies": {
|
|
57
61
|
"@stylistic/eslint-plugin": "^1.7.0",
|
|
58
|
-
"@tsconfig/node-lts": "^20.1.
|
|
59
|
-
"@types/node": "^20.
|
|
60
|
-
"@typescript-eslint/eslint-plugin": "^7.
|
|
61
|
-
"@typescript-eslint/parser": "^7.
|
|
62
|
+
"@tsconfig/node-lts": "^20.1.3",
|
|
63
|
+
"@types/node": "^20.12.2",
|
|
64
|
+
"@typescript-eslint/eslint-plugin": "^7.4.0",
|
|
65
|
+
"@typescript-eslint/parser": "^7.4.0",
|
|
62
66
|
"eslint-config-prettier": "^9.1.0",
|
|
63
67
|
"eslint-plugin-prettier": "^5.1.3",
|
|
64
68
|
"prettier": "^3.2.5",
|
|
65
69
|
"typescript": "^5.4.3"
|
|
66
70
|
},
|
|
67
71
|
"dependencies": {
|
|
68
|
-
"node-ansi-logger": "^1.9.
|
|
72
|
+
"node-ansi-logger": "^1.9.3"
|
|
69
73
|
}
|
|
70
74
|
}
|
package/.eslintrc.json
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"ignorePatterns":["dist/", "node_modules/"],
|
|
3
|
-
"plugins": [
|
|
4
|
-
"@typescript-eslint",
|
|
5
|
-
"@stylistic",
|
|
6
|
-
"prettier"
|
|
7
|
-
],
|
|
8
|
-
"parser": "@typescript-eslint/parser",
|
|
9
|
-
"parserOptions": {
|
|
10
|
-
"ecmaVersion": "latest",
|
|
11
|
-
"sourceType": "module"
|
|
12
|
-
},
|
|
13
|
-
"env": {
|
|
14
|
-
"browser": true,
|
|
15
|
-
"es2021": true,
|
|
16
|
-
"node": true
|
|
17
|
-
},
|
|
18
|
-
"extends": [
|
|
19
|
-
"eslint:recommended",
|
|
20
|
-
"plugin:@typescript-eslint/eslint-recommended",
|
|
21
|
-
"plugin:@typescript-eslint/recommended",
|
|
22
|
-
"prettier"
|
|
23
|
-
],
|
|
24
|
-
"rules": {
|
|
25
|
-
"prettier/prettier": ["error"],
|
|
26
|
-
"indent": ["error", 2, { "SwitchCase": 1 }],
|
|
27
|
-
"max-len": ["warn", 200],
|
|
28
|
-
"no-console": ["warn"],
|
|
29
|
-
"quotes": ["error", "single", { "avoidEscape": true, "allowTemplateLiterals": false }],
|
|
30
|
-
"comma-spacing": ["error", { "before": false, "after": true }],
|
|
31
|
-
"space-before-function-paren": ["error", { "anonymous": "always", "named": "never", "asyncArrow": "always" }],
|
|
32
|
-
"keyword-spacing": ["error", { "before": true, "after": true }],
|
|
33
|
-
"no-multi-spaces": "error",
|
|
34
|
-
"object-curly-spacing": ["error", "always"],
|
|
35
|
-
"@typescript-eslint/type-annotation-spacing": ["error", {
|
|
36
|
-
"before": false,
|
|
37
|
-
"after": true,
|
|
38
|
-
"overrides": {
|
|
39
|
-
"arrow": {
|
|
40
|
-
"before": true,
|
|
41
|
-
"after": true
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
}]
|
|
45
|
-
}
|
|
46
|
-
}
|
package/.gitattributes
DELETED
package/.prettierignore
DELETED
package/.prettierrc.json
DELETED