@glasshome/widget-cli 0.4.5 → 0.4.6
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@glasshome/widget-cli",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.6",
|
|
4
4
|
"description": "CLI for creating and managing GlassHome widgets",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -17,14 +17,14 @@
|
|
|
17
17
|
],
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"@types/bun": "latest",
|
|
20
|
-
"@types/semver": "^7.0.0"
|
|
21
|
-
"vite-plugin-solid": "^2.11.0"
|
|
20
|
+
"@types/semver": "^7.0.0"
|
|
22
21
|
},
|
|
23
22
|
"dependencies": {
|
|
24
23
|
"@clack/prompts": "^0.10.0",
|
|
25
24
|
"@glasshome/widget-sdk": "0.2.3",
|
|
26
25
|
"open": "^11.0.0",
|
|
27
|
-
"semver": "^7.6.0"
|
|
26
|
+
"semver": "^7.6.0",
|
|
27
|
+
"vite-plugin-solid": "^2.11.0"
|
|
28
28
|
},
|
|
29
29
|
"repository": {
|
|
30
30
|
"type": "git",
|
|
@@ -35,7 +35,7 @@ This creates `src/{widget-name}/index.tsx` and `src/{widget-name}/manifest.json`
|
|
|
35
35
|
Connect your widgets to a running GlassHome instance:
|
|
36
36
|
|
|
37
37
|
```bash
|
|
38
|
-
bun widget connect http
|
|
38
|
+
bun widget connect http://homeassistant.local:3123
|
|
39
39
|
```
|
|
40
40
|
|
|
41
41
|
This builds all widgets, serves them on your LAN IP, registers them with the dashboard, and watches for file changes. Widgets hot-reload as you edit.
|