yeelight-home 0.1.4 → 0.1.5

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/DISTRIBUTION.md CHANGED
@@ -15,7 +15,7 @@
15
15
  | AUR | Publishes `yeelight-home-bin` only when AUR SSH is configured. | `yay -S yeelight-home-bin` after publication. |
16
16
  | Snap | Builds/publishes only when Snapcraft credentials and store review are ready. | `sudo snap install yeelight-home` after store visibility. |
17
17
  | Docker GHCR | Publishes multi-arch images when registry credentials are available. | `docker run --rm ghcr.io/yeelight/yeelight-home:latest version` |
18
- | Docker Hub | Publishes multi-arch images when Docker Hub credentials are available. | `docker run --rm yeelight/yeelight-home:latest version` |
18
+ | Docker Hub | Publishes multi-arch images when Docker Hub credentials are available. | `docker run --rm yeelightdev/yeelight-home:latest version` |
19
19
  | pkg.go.dev | Indexes public `v*` module tags. | `https://pkg.go.dev/github.com/yeelight/yeelight-home` |
20
20
 
21
21
  ## Repository Layout Policy
@@ -114,7 +114,7 @@ Target artifacts:
114
114
  - Snap package once Snapcraft is configured
115
115
  - Container images:
116
116
  - `ghcr.io/yeelight/yeelight-home`
117
- - `yeelight/yeelight-home`
117
+ - `yeelightdev/yeelight-home`
118
118
 
119
119
  ## Required Release Settings
120
120
 
@@ -130,6 +130,7 @@ GitHub Actions provides `GITHUB_TOKEN` automatically for GitHub Releases and GHC
130
130
  | `AUR_KEY` | AUR SSH private key for `yeelight-home-bin`. |
131
131
  | `SNAPCRAFT_STORE_CREDENTIALS` | Snap store publish credentials. |
132
132
  | `WINGET_GITHUB_TOKEN` | Winget manifest PR token. |
133
+ | `YEELIGHT_HOME_RELEASE_TOKEN` | Push runtime mirror snapshots to `Yeelight/yeelight-home`. |
133
134
 
134
135
  | Repository Variable | Purpose |
135
136
  | --- | --- |
@@ -137,9 +138,20 @@ GitHub Actions provides `GITHUB_TOKEN` automatically for GitHub Releases and GHC
137
138
  | `WINGET_REPOSITORY_NAME` | Winget PR workspace fork name. |
138
139
  | `WINGET_REPOSITORY_BRANCH` | Optional Winget PR branch. Defaults to a release-specific branch. |
139
140
  | `AUR_GIT_URL` | Optional AUR Git URL override. Defaults to `ssh://aur@aur.archlinux.org/yeelight-home-bin.git`. |
141
+ | `DOCKERHUB_IMAGE` | Optional Docker Hub image override. Defaults to `<DOCKERHUB_USERNAME>/yeelight-home`. |
140
142
 
141
143
  Only configure settings for channels that are ready to publish.
142
144
  Without Winget token and PR workspace variables, the public release workflow skips Winget and still publishes core GitHub Release artifacts.
145
+ You can self-solve Winget by forking `microsoft/winget-pkgs` as the PR workspace and pointing the repository variables at that fork; no permanent Yeelight organization repository is required for Winget publication.
146
+ Without `YEELIGHT_HOME_RELEASE_TOKEN`, the monorepo mirror workflow cannot push runtime-only source snapshots into the public repository.
147
+ AUR is optional until the package repository and SSH key are available.
148
+ Snapcraft is optional until a Linux or Ubuntu runner can execute the login/export flow and store publication.
149
+
150
+ Reusable GitHub credential pattern:
151
+
152
+ - One GitHub PAT can be reused for `YEELIGHT_HOME_RELEASE_TOKEN`, `HOMEBREW_TAP_GITHUB_TOKEN`, `SCOOP_BUCKET_GITHUB_TOKEN`, and `WINGET_GITHUB_TOKEN` if it has write access to the target repos or PR workspace.
153
+ - `YEELIGHT_HOME_RELEASE_TOKEN` only needs write access to `Yeelight/yeelight-home`.
154
+ - The package-manager tokens only need write access to their own target repositories or PR workspace.
143
155
 
144
156
  ## npm Package Model
145
157
 
package/INSTALL.md CHANGED
@@ -182,7 +182,7 @@ docker run --rm ghcr.io/yeelight/yeelight-home:latest version
182
182
  Docker Hub:
183
183
 
184
184
  ```sh
185
- docker run --rm yeelight/yeelight-home:latest version
185
+ docker run --rm yeelightdev/yeelight-home:latest version
186
186
  ```
187
187
 
188
188
  Persist local config and credentials:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yeelight-home",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "Local Yeelight Home Runtime CLI installer and launcher.",
5
5
  "license": "UNLICENSED",
6
6
  "homepage": "https://github.com/Yeelight/yeelight-home#readme",