@sebbo2002/vestaboard2mqtt 5.0.2-develop.11 → 5.0.2-develop.13
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 +1 -4
- package/dist/bin/start.cjs +9 -9
- package/dist/bin/start.cjs.map +1 -1
- package/dist/bin/start.js +1 -1
- package/dist/bin/start.js.map +1 -1
- package/dist/{chunk-B7GBNBHM.js → chunk-JCVHJVDZ.js} +10 -10
- package/dist/{chunk-B7GBNBHM.js.map → chunk-JCVHJVDZ.js.map} +1 -1
- package/dist/lib/index.cjs +9 -9
- package/dist/lib/index.cjs.map +1 -1
- package/dist/lib/index.d.cts +6 -6
- package/dist/lib/index.d.ts +6 -6
- package/dist/lib/index.js +1 -1
- package/package.json +76 -72
package/dist/lib/index.d.cts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
declare class Vestaboard2MQTT {
|
|
2
|
-
private readonly mqtt;
|
|
3
2
|
private readonly board;
|
|
4
|
-
private readonly pageConfig;
|
|
5
|
-
private subscriptionIds?;
|
|
6
3
|
private currentMessage?;
|
|
7
4
|
private currentTimer?;
|
|
8
|
-
|
|
5
|
+
private readonly mqtt;
|
|
6
|
+
private readonly pageConfig;
|
|
7
|
+
private subscriptionIds?;
|
|
9
8
|
constructor();
|
|
10
|
-
|
|
9
|
+
static run(): Promise<Vestaboard2MQTT>;
|
|
11
10
|
private debug;
|
|
12
11
|
private handleMessage;
|
|
13
|
-
private updateCurrentMessage;
|
|
14
12
|
private renderMessage;
|
|
15
13
|
private sendMessage;
|
|
14
|
+
private setupBrokerSubscriptions;
|
|
15
|
+
private updateCurrentMessage;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
export { Vestaboard2MQTT as default };
|
package/dist/lib/index.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
declare class Vestaboard2MQTT {
|
|
2
|
-
private readonly mqtt;
|
|
3
2
|
private readonly board;
|
|
4
|
-
private readonly pageConfig;
|
|
5
|
-
private subscriptionIds?;
|
|
6
3
|
private currentMessage?;
|
|
7
4
|
private currentTimer?;
|
|
8
|
-
|
|
5
|
+
private readonly mqtt;
|
|
6
|
+
private readonly pageConfig;
|
|
7
|
+
private subscriptionIds?;
|
|
9
8
|
constructor();
|
|
10
|
-
|
|
9
|
+
static run(): Promise<Vestaboard2MQTT>;
|
|
11
10
|
private debug;
|
|
12
11
|
private handleMessage;
|
|
13
|
-
private updateCurrentMessage;
|
|
14
12
|
private renderMessage;
|
|
15
13
|
private sendMessage;
|
|
14
|
+
private setupBrokerSubscriptions;
|
|
15
|
+
private updateCurrentMessage;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
export { Vestaboard2MQTT as default };
|
package/dist/lib/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-JCVHJVDZ.js";export{a as default};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,74 +1,78 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
"
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
"
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
2
|
+
"author": "Sebastian Pekarek <mail@sebbo.net>",
|
|
3
|
+
"bin": {
|
|
4
|
+
"vestaboard2mqtt": "./dist/bin/start.js"
|
|
5
|
+
},
|
|
6
|
+
"bugs": {
|
|
7
|
+
"url": "https://github.com/sebbo2002/vestaboard2mqtt/issues"
|
|
8
|
+
},
|
|
9
|
+
"dependencies": {
|
|
10
|
+
"async-mqtt": "^2.6.3",
|
|
11
|
+
"node-ical": "^0.20.1",
|
|
12
|
+
"vestaboard-api": "^1.1.5"
|
|
13
|
+
},
|
|
14
|
+
"description": "Small script to connect a Vestaboard with my home automation via MQTT.",
|
|
15
|
+
"devDependencies": {
|
|
16
|
+
"@eslint/js": "^9.25.0",
|
|
17
|
+
"@qiwi/semantic-release-gh-pages-plugin": "^5.4.3",
|
|
18
|
+
"@sebbo2002/semantic-release-docker": "^5.0.1-develop.4",
|
|
19
|
+
"@semantic-release/changelog": "^6.0.3",
|
|
20
|
+
"@semantic-release/exec": "^7.0.3",
|
|
21
|
+
"@semantic-release/git": "^10.0.1",
|
|
22
|
+
"@semantic-release/npm": "^12.0.1",
|
|
23
|
+
"@types/express": "^5.0.1",
|
|
24
|
+
"@types/mocha": "^10.0.10",
|
|
25
|
+
"@types/node": "^22.14.0",
|
|
26
|
+
"@types/node-fetch": "^3.0.3",
|
|
27
|
+
"@types/ws": "^8.18.1",
|
|
28
|
+
"c8": "^10.1.3",
|
|
29
|
+
"eslint": "^9.25.1",
|
|
30
|
+
"eslint-config-prettier": "^10.1.2",
|
|
31
|
+
"eslint-plugin-jsonc": "^2.20.0",
|
|
32
|
+
"eslint-plugin-perfectionist": "^4.12.3",
|
|
33
|
+
"esm": "^3.2.25",
|
|
34
|
+
"husky": "^9.1.7",
|
|
35
|
+
"license-checker": "^25.0.1",
|
|
36
|
+
"mocha": "^11.1.0",
|
|
37
|
+
"mochawesome": "^7.1.3",
|
|
38
|
+
"prettier": "^3.5.3",
|
|
39
|
+
"semantic-release-license": "^1.0.3",
|
|
40
|
+
"source-map-support": "^0.5.21",
|
|
41
|
+
"tsup": "^8.4.0",
|
|
42
|
+
"tsx": "^4.19.3",
|
|
43
|
+
"typedoc": "^0.28.2",
|
|
44
|
+
"typescript": "^5.8.3",
|
|
45
|
+
"typescript-eslint": "^8.31.1"
|
|
46
|
+
},
|
|
47
|
+
"engines": {
|
|
48
|
+
"node": "18 || 20 || >=22.0.0"
|
|
49
|
+
},
|
|
50
|
+
"exports": {
|
|
51
|
+
"import": "./dist/lib/index.js",
|
|
52
|
+
"require": "./dist/lib/index.cjs"
|
|
53
|
+
},
|
|
54
|
+
"files": [
|
|
55
|
+
"/dist"
|
|
56
|
+
],
|
|
57
|
+
"homepage": "https://github.com/sebbo2002/vestaboard2mqtt#readme",
|
|
58
|
+
"license": "MIT",
|
|
59
|
+
"main": "./dist/lib/index.cjs",
|
|
60
|
+
"module": "./dist/lib/index.js",
|
|
61
|
+
"name": "@sebbo2002/vestaboard2mqtt",
|
|
62
|
+
"repository": {
|
|
63
|
+
"type": "git",
|
|
64
|
+
"url": "git+https://github.com/sebbo2002/vestaboard2mqtt.git"
|
|
65
|
+
},
|
|
66
|
+
"scripts": {
|
|
67
|
+
"build": "tsup && cp ./dist/lib/index.d.ts ./dist/lib/index.d.cts",
|
|
68
|
+
"build-all": "./.github/workflows/build.sh",
|
|
69
|
+
"coverage": "c8 mocha",
|
|
70
|
+
"develop": "tsx src/bin/start.ts",
|
|
71
|
+
"license-check": "license-checker --production --summary",
|
|
72
|
+
"lint": "npx eslint . --fix && npx prettier . --write",
|
|
73
|
+
"start": "node ./dist/bin/start.js",
|
|
74
|
+
"test": "mocha"
|
|
75
|
+
},
|
|
76
|
+
"type": "module",
|
|
77
|
+
"version": "5.0.2-develop.13"
|
|
74
78
|
}
|