@chiimagnus/applebookscli 0.1.3 → 0.1.4-beta

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 CHANGED
@@ -17,6 +17,16 @@ npm install --global @chiimagnus/applebookscli
17
17
  applebookscli --version
18
18
  ```
19
19
 
20
+ Beta 版本使用独立 npm dist-tag,不会改动稳定版 `latest`:
21
+
22
+ ```sh
23
+ npm install --global @chiimagnus/applebookscli@beta
24
+ ```
25
+
26
+ ## Release channels
27
+
28
+ Git tag 是 release 版本的唯一 owner;源码不保存手工版本号。稳定版 tag 使用 `vMAJOR.MINOR.PATCH`(如 `v1.2.1`),beta 使用 `vMAJOR.MINOR.PATCH-beta` 或后续迭代的 `vMAJOR.MINOR.PATCH-beta.N`。push 合法 tag 后,GitHub Actions 会执行完整测试/隐私/license/package gate,再发布 npm 与 GitHub Release:稳定版进入 npm `latest` 并成为普通 GitHub Release,beta 进入 npm `beta` 并标记 GitHub prerelease。普通开发构建的 `applebookscli --version` 显示 `dev`;release binary 的版本由对应 tag 注入。
29
+
20
30
  ## 配置
21
31
 
22
32
  默认配置文件是 `~/.config/applebookscli/config.json`,不存在时按空配置运行。仓库提供 `Config/applebookscli.example.json` 示例;当前配置只用于:
package/bin/applebookscli CHANGED
Binary file
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@chiimagnus/applebookscli",
3
- "version": "0.1.3",
3
+ "version": "0.1.4-beta",
4
4
  "description": "Native Apple Books CLI for macOS on Apple Silicon.",
5
5
  "license": "AGPL-3.0-only",
6
6
  "repository": {
7
7
  "type": "git",
8
- "url": "git+https://github.com/chiimagnus/AppleBooksCLI.git"
8
+ "url": "https://github.com/chiimagnus/AppleBooksCLI.git"
9
9
  },
10
10
  "homepage": "https://github.com/chiimagnus/AppleBooksCLI",
11
11
  "bugs": {
@@ -17,6 +17,9 @@
17
17
  "cpu": [
18
18
  "arm64"
19
19
  ],
20
+ "publishConfig": {
21
+ "access": "public"
22
+ },
20
23
  "bin": {
21
24
  "applebookscli": "bin/applebookscli"
22
25
  },