dsh-sidebar-marks 0.1.0 → 0.1.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.1 — 2026-10-02
4
+
5
+ - 修正安装说明:pnpm 11 对**首次添加**的包会自动写入 `minimumReleaseAgeExclude`,发布当天即可安装(0.1.0 的文档误称会被 24 小时门槛拦下,实测 `pnpm add dsh-sidebar-marks` 3.2 秒装上了)。
6
+
3
7
  ## 0.1.0
4
8
 
5
9
  首个公开版本(GitHub: [QIN-SMART/dsh-sidebar-marks](https://github.com/QIN-SMART/dsh-sidebar-marks))。
package/README.md CHANGED
@@ -27,9 +27,7 @@ dsh plugin --profile web add "link:$PWD/dsh-sidebar-marks"
27
27
 
28
28
  仓库根就是包根(`package.json` 在第一层),所以 `github:` 与 npm 两种方式装到的都是同一个包。
29
29
 
30
- > **刚发布的 24 小时内**:pnpm 11 默认 `minimumReleaseAge=1440` 分钟,会跳过太新的版本,
31
- > 这时 `add dsh-sidebar-marks` 可能报 `No matching version found`。钉住版本即可(pnpm 会自动把它写进 profile 的
32
- > `minimumReleaseAgeExclude` 放行):`dsh plugin --profile web add dsh-sidebar-marks@0.1.0`。
30
+ > **关于刚发布的版本**:pnpm 11 的 `minimumReleaseAge`(默认 1440 分钟)会拦住太新的版本,但**首次添加**时它会自动把该版本写进 profile 的 `minimumReleaseAgeExclude`(并打印一行 `Added 1 entry to minimumReleaseAgeExclude`),所以发布当天就能装 —— 实测 `pnpm add dsh-sidebar-marks` 3 秒装上 0.1.0。只有显式设置了 `minimumReleaseAgeStrict: true` 才会真的被拦,那时钉版本即可:`dsh plugin --profile web add dsh-sidebar-marks@0.1.0`。
33
31
 
34
32
  ## 怎么用
35
33
 
package/README_EN.md CHANGED
@@ -49,10 +49,12 @@ dsh plugin --profile web add "link:/absolute/path/to/dsh-sidebar-marks"
49
49
  dsh plugin --profile web add dsh-sidebar-marks
50
50
  ```
51
51
 
52
- > **Within 24 hours of a release**: pnpm 11 defaults to `minimumReleaseAge=1440` minutes and
53
- > skips versions that young, so `add dsh-sidebar-marks` can fail with `No matching version found`.
54
- > Pin the version instead - pnpm then records it in the profile's `minimumReleaseAgeExclude`
55
- > and installs it: `dsh plugin --profile web add dsh-sidebar-marks@0.1.0`.
52
+ > **About a brand-new release**: pnpm 11's `minimumReleaseAge` (1440 minutes by default) gates
53
+ > versions that young, but for a **first-time add** it records the version in the profile's
54
+ > `minimumReleaseAgeExclude` automatically (and prints `Added 1 entry to minimumReleaseAgeExclude`),
55
+ > so installing on release day works - `pnpm add dsh-sidebar-marks` pulled 0.1.0 in 3 seconds in a
56
+ > test. Only an explicit `minimumReleaseAgeStrict: true` actually blocks it; then pin the version:
57
+ > `dsh plugin --profile web add dsh-sidebar-marks@0.1.0`.
56
58
 
57
59
  Then reload the browser page. No host restart is needed for a package the running host has already resolved; a plugin that is new to the process is picked up when the profile recomposes, and their client bundle loads on the next page load.
58
60
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-sidebar-marks",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Mark DSH sidebar conversations with a tinted background, a colored dot at the row's end, and a per-conversation title size.",
5
5
  "icon": "./icon.svg",
6
6
  "type": "module",