dsh-postbox 0.2.1 → 0.2.2

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,7 +17,15 @@
17
17
 
18
18
  ## 安装
19
19
 
20
- **从 GitHub 装(推荐,不需要 npm):**
20
+ **从 npm 装(推荐):**
21
+
22
+ ```powershell
23
+ dsh plugin --profile desktop add npm:dsh-postbox
24
+ ```
25
+
26
+ 需要钉住版本就写 `npm:dsh-postbox@0.2.2`。
27
+
28
+ **从 GitHub 装(想跟主干,或 npm 不可达时):**
21
29
 
22
30
  ```powershell
23
31
  dsh plugin --profile desktop add github:<owner>/dsh-postbox
@@ -25,15 +33,14 @@ dsh plugin --profile desktop add github:<owner>/dsh-postbox
25
33
 
26
34
  把 `<owner>` 换成仓库地址里的账号名(就是本页 URL 里 `github.com/` 后面那一段)。
27
35
 
28
- **从 tarball 装(不想用 git 的话):** 下载 Releases 里的 `dsh-postbox-0.2.1.tgz`,
36
+ **从 tarball 装(不想用 git 的话):** 下载 Releases 里的 `dsh-postbox-0.2.2.tgz`,
29
37
  在「设置 → 插件 → 添加插件」里选这个文件。
30
38
 
31
39
  装完在 **设置 → 插件 → 「邮箱 · Outlook / Hotmail」→ 配置** 里点「立即授权」,
32
40
  按设备码提示登录一次即可(账号会写进运行层配置,改账号免重启)。
33
41
 
34
- > 为什么没走 npm:本仓库发布时 `www.npmjs.com` 被 Cloudflare 拦(403),注册/登录都进不去,
35
- > 所以先用 GitHub 分发;`registry.npmjs.org` 本身是通的,等能登录了再补一次
36
- > `npm publish --registry https://registry.npmjs.org --access public` 即可,包内容已经就绪。
42
+ > 关于 npm 站点:某些网络下 `www.npmjs.com` 会被 Cloudflare 拦(403),那只影响**浏览/登录**,
43
+ > 不影响安装 —— `dsh plugin add npm:...` 走的是 `registry.npmjs.org`,始终可达。
37
44
 
38
45
  ## ⚠️ 前置条件(必读,否则一定连不上)
39
46
 
package/docs/DETAIL.md CHANGED
@@ -26,7 +26,13 @@
26
26
 
27
27
  ## 安装
28
28
 
29
- 从 GitHub 安装(推荐,不需要 npm):
29
+ 从 npm 安装(推荐):
30
+
31
+ ```bash
32
+ dsh plugin --profile desktop add npm:dsh-postbox
33
+ ```
34
+
35
+ 或者跟主干、或 npm 不可达时从 GitHub 装:
30
36
 
31
37
  ```bash
32
38
  dsh plugin --profile desktop add github:<owner>/dsh-postbox
@@ -34,7 +40,7 @@ dsh plugin --profile desktop add github:<owner>/dsh-postbox
34
40
 
35
41
  `<owner>` 就是仓库地址里的账号名。
36
42
 
37
- 或下载本仓库 Releases 里的 `dsh-postbox-0.2.1.tgz`,在「插件」页里选那个文件安装。
43
+ 或下载本仓库 Releases 里的 `dsh-postbox-0.2.2.tgz`,在「插件」页里选那个文件安装。
38
44
 
39
45
  装好后到「设置 → 插件 → 邮箱 · Outlook / Hotmail → 配置」绑定账号(设备码三步)。
40
46
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-postbox",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Outlook / Hotmail mail inside DSH: OAuth2 device-code auth, IMAP/SMTP, local archive with full-text search, IM notifications with one-time-code extraction. Zero-dependency pure Node.",
5
5
  "type": "module",
6
6
  "license": "MIT",