@michengai/dsh-btw 0.1.3 → 0.1.4

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,17 +2,20 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.1.4] - 2026-09-07
6
+
7
+ - Exclude repository-only screenshots and branding images from the published npm tarball, reducing the package size while keeping README images available on GitHub.
8
+ - Remove the standalone mock preview and its mock-only browser test so the repository no longer presents it as a real DSH plugin page.
9
+
5
10
  ## [0.1.3] - 2026-09-06
6
11
 
7
12
  - Fix the package path in GitHub Actions so npm treats the tarball as a local file, and validate it with an npm publish dry run before publishing.
8
13
  - Include the OIDC authorization check and its failure and credential-handling tests prepared for 0.1.2, whose publication failed before uploading a package.
9
- - Remove the references and credits section from both READMEs. Plugin behavior is unchanged.
10
14
 
11
15
  ## [0.1.2] - 2026-09-06
12
16
 
13
17
  - Add a GitHub Actions dry-run check that verifies the configured npm trusted publisher by exchanging an OIDC identity for a short-lived publishing credential without uploading a package.
14
18
  - Add authorization failure and credential-handling tests for the release workflow. Plugin behavior is unchanged.
15
- - Remove the references and credits section from both READMEs.
16
19
 
17
20
  ## [0.1.1] - 2026-09-06
18
21
 
@@ -2,17 +2,20 @@
2
2
 
3
3
  ## [未发布]
4
4
 
5
+ ## [0.1.4] - 2026-09-07
6
+
7
+ - 从 npm 发布包中排除仅供仓库展示的截图和品牌图片,在保留 GitHub README 图片的同时缩小安装包体积。
8
+ - 删除独立 mock 预览及仅验证该 mock 的浏览器测试,避免再将其当作真实 DSH 插件页面。
9
+
5
10
  ## [0.1.3] - 2026-09-06
6
11
 
7
12
  - 修复 GitHub Actions 安装包路径,确保 npm 将 tar 包识别为本地文件,并在正式发布前通过 npm publish dry run 验证。
8
13
  - 包含原定 0.1.2 的 OIDC 授权检查及授权失败、凭据处理测试;0.1.2 发布在上传安装包前失败。
9
- - 移除中英文 README 中的参考与致谢章节。插件功能保持不变。
10
14
 
11
15
  ## [0.1.2] - 2026-09-06
12
16
 
13
17
  - 为 GitHub Actions 的不发布验证增加 npm 可信发布检查,通过 OIDC 身份交换短期发布凭据,验证授权但不上传安装包。
14
18
  - 补充发布流程的授权失败和凭据处理测试。插件功能保持不变。
15
- - 移除中英文 README 中的参考与致谢章节。
16
19
 
17
20
  ## [0.1.1] - 2026-09-06
18
21
 
package/README.md CHANGED
@@ -126,7 +126,7 @@ npm ci --ignore-scripts
126
126
  npm run check
127
127
  ```
128
128
 
129
- `npm run check` runs type checking, tests, and a build. After building, use `npm run test:browser` for browser tests; Microsoft Edge is required locally. `npm run dev` provides a UI preview with mock answers.
129
+ `npm run check` runs type checking, tests, and a build.
130
130
 
131
131
  To install from source, run `dsh plugin --profile web add . --ignore-scripts` from the project directory, then reload DSH.
132
132
 
package/README.zh-CN.md CHANGED
@@ -124,7 +124,7 @@ npm ci --ignore-scripts
124
124
  npm run check
125
125
  ```
126
126
 
127
- `npm run check` 执行类型检查、测试和构建。构建后可运行 `npm run test:browser` 做浏览器测试,本地需要 Microsoft Edge。`npm run dev` 提供使用模拟回答的界面预览。
127
+ `npm run check` 执行类型检查、测试和构建。
128
128
 
129
129
  从源码安装时,在项目目录执行 `dsh plugin --profile web add . --ignore-scripts`,然后重新加载 DSH。
130
130
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@michengai/dsh-btw",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "DSH 一次性只读旁问气泡",
5
5
  "repository": {
6
6
  "type": "git",
@@ -27,7 +27,6 @@
27
27
  },
28
28
  "files": [
29
29
  "lib",
30
- "assets",
31
30
  "cordis.patch.yml",
32
31
  "README.md",
33
32
  "README.zh-CN.md",
@@ -56,9 +55,6 @@
56
55
  "test": "vitest run",
57
56
  "test:release": "node --test tests/release.test.mjs tests/npm-oidc.test.mjs",
58
57
  "check": "npm run typecheck && npm test && npm run test:release && npm run build",
59
- "preview": "vite preview --host 127.0.0.1",
60
- "dev": "vite --host 127.0.0.1",
61
- "test:browser": "playwright test",
62
58
  "prepack": "npm run build"
63
59
  },
64
60
  "engines": {
@@ -92,18 +88,14 @@
92
88
  "@deepseek-ai/dsh-tools": "0.1.2-rc.1",
93
89
  "@deepseek-ai/dsh-typert-protocol": "0.1.2-rc.1",
94
90
  "@deepseek-ai/dsh-typert-registry": "0.1.2-rc.1",
95
- "@playwright/test": "^1.58.0",
96
91
  "@types/node": "^22.0.0",
97
92
  "@types/react": "^18.3.1",
98
- "@types/react-dom": "^18.3.1",
99
93
  "esbuild": "^0.25.0",
100
94
  "lucide-react": "^0.468.0",
101
95
  "react": "^18.3.1",
102
- "react-dom": "^18.3.1",
103
96
  "react-markdown": "^10.1.0",
104
97
  "remark-gfm": "^4.0.1",
105
98
  "typescript": "~5.7.2",
106
- "vite": "^6.4.0",
107
99
  "vitest": "^3.2.0"
108
100
  }
109
101
  }
Binary file
Binary file