@deepwhale-cn/dsh-badge 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.
@@ -22,6 +22,12 @@
22
22
  ![](https://img.shields.io/badge/powered_by-dwh-005A8C?style=flat&logoColor=white)
23
23
  ```
24
24
 
25
+ ## 默认使用场景
26
+
27
+ - 用深鲸桌面产出**对外文档 / README / PR / MR** 时,默认在**末尾**加徽章,不需要用户每次提醒。
28
+ - 用户明确说「加徽章 / 署名 / powered by dwh」时,必须加。
29
+ - 纯内部材料、临时草稿、不对外发布的内容**不加**。
30
+
25
31
  ## 使用规则
26
32
 
27
33
  - GitHub / GitLab 的 Markdown 用 Shields.io 地址;用户没要求链接时用不带链接的写法。
package/lib/index.js CHANGED
@@ -31,7 +31,8 @@ const RESOURCE_BASE = {
31
31
  const CANDIDATE = {
32
32
  name: 'deepwhale-badge',
33
33
  description:
34
- '给用深鲸桌面(DeepWhale Desktop)产出的文档、PR、MR 或其他内容添加「powered by deepwhale」署名徽章。当用户提到深鲸徽章、deepwhale 徽章、署名、powered by deepwhale 时使用。',
34
+ '给用深鲸桌面(DeepWhale Desktop)产出的文档、README、PR/MR 或其他内容添加「powered by dwh」署名徽章。'
35
+ + '在创建或更新这类对外内容时默认在末尾加徽章;用户提到深鲸徽章、dwh 徽章、署名、powered by dwh 时也必须使用。',
35
36
  invocation: {
36
37
  modelInvocable: true,
37
38
  userInvocable: true,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepwhale-cn/dsh-badge",
3
- "version": "0.1.0",
4
- "description": "深鲸桌面署名徽章 skill:给用深鲸桌面产出的文档/PR 加「powered by dwh」胶囊徽章",
3
+ "version": "0.1.1",
4
+ "description": "深鲸桌面署名徽章 skill:给用深鲸桌面产出的文档/README/PR 加「powered by dwh」徽章(默认自动署名)",
5
5
  "type": "module",
6
6
  "main": "./lib/index.js",
7
7
  "exports": {