@ericality/dsh-notice-banner 0.11.60 → 0.11.61

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
@@ -2,9 +2,13 @@
2
2
 
3
3
  本文件记录 @ericality/dsh-notice-banner 的版本变更;格式参考 Keep a Changelog,版本号遵循语义化版本。
4
4
 
5
- ## [0.11.60] - 未发布
5
+ ## [0.11.61] - 2026-12-01
6
6
 
7
- 当前仓库版本,待发布。
7
+ ### 修改
8
+
9
+ - 依赖声明改为自动安装:自有共享库从 peerDependencies 移入 dependencies(安装本包时自动带齐;缺可选配套按降级处理,不再出现缺库或空列表)。
10
+
11
+ ## [0.11.60] - 2026-11-29
8
12
 
9
13
  ### 修复
10
14
 
package/README.md CHANGED
@@ -12,7 +12,7 @@ Renders cost, queue, notification and ledger events as foldable banner cards ins
12
12
  dsh plugin --profile web add @ericality/dsh-notice-banner@0.11.60
13
13
  ```
14
14
 
15
- 本包以 peer 方式依赖共享底座与横幅工具库,profile 顶层需显式安装并保持单实例:先安装 @ericality/dsh-host-compat 与 @ericality/dsh-banner-kit,再安装本包。
15
+ 依赖自动安装:`@ericality/dsh-host-compat` 与 `@ericality/dsh-banner-kit` 随本包安装自动带入;profile 顶层若已装会复用,保持单实例。
16
16
 
17
17
  ## 功能
18
18
 
@@ -34,7 +34,7 @@ dsh plugin --profile web add @ericality/dsh-notice-banner@0.11.60
34
34
 
35
35
  ## 与其他插件的关系
36
36
 
37
- - 依赖:@ericality/dsh-host-compat 与 @ericality/dsh-banner-kit,均以 peer 方式引用。
37
+ - 依赖:@ericality/dsh-host-compat 与 @ericality/dsh-banner-kit,均随装自动带入(profile 顶层复用单实例)。
38
38
  - 被依赖:费用、队列、通知、重启与适配状态等插件写入的横幅事件由本包渲染。
39
39
  - 可选协同:与 @ericality/dsh-notify 配合时,通知摘要可写入会话横幅(默认关闭)。
40
40
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ericality/dsh-notice-banner",
3
- "version": "0.11.60",
3
+ "version": "0.11.61",
4
4
  "description": "把费用、队列、通知、账本等事件渲染成可折叠的会话横幅卡。",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -34,9 +34,7 @@
34
34
  "@deepseek-ai/dsh": "^0.2.2-rc.1",
35
35
  "@deepseek-ai/cordis": "~4.1.0",
36
36
  "@deepseek-ai/schemastery": "~3.19.0",
37
- "react": "^18.2.0",
38
- "@ericality/dsh-host-compat": ">=0.1.1 <0.2.0",
39
- "@ericality/dsh-banner-kit": ">=0.1.0 <0.2.0"
37
+ "react": "^18.2.0"
40
38
  },
41
39
  "peerDependenciesMeta": {
42
40
  "react": {
@@ -75,5 +73,9 @@
75
73
  },
76
74
  "publishConfig": {
77
75
  "access": "public"
76
+ },
77
+ "dependencies": {
78
+ "@ericality/dsh-banner-kit": ">=0.1.0 <0.2.0",
79
+ "@ericality/dsh-host-compat": ">=0.1.1 <0.2.0"
78
80
  }
79
81
  }