dsh-db-tool 0.1.0 → 0.1.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
@@ -26,11 +26,14 @@ DSH 社区插件:在聊天中安全操作数据库,配套侧边栏管理台
26
26
  ## 安装
27
27
 
28
28
  ```bash
29
- # 发布模式
30
- dsh plugin --profile web add "dsh-db-tool@github:<user>/dsh-db-tool"
29
+ # npm(推荐)
30
+ dsh plugin --profile web add dsh-db-tool
31
+
32
+ # GitHub 源码
33
+ dsh plugin --profile web add "dsh-db-tool@github:mengqi1436/dsh-db-tool"
31
34
 
32
35
  # 本地开发
33
- pnpm dsh web --patch ./cordis.patch.yml
36
+ dsh plugin --profile web add "link:E:\path\to\dsh-db-tool"
34
37
  ```
35
38
 
36
39
  GaussDB 官方驱动未发布 npm,需先构建 vendor:`npm run build:gaussdb`(PowerShell)或 `bash scripts/build-gaussdb.sh`;oracledb 安装脚本需 `npm approve-scripts oracledb`。详见 [docs/install.md](docs/install.md)。
package/package.json CHANGED
@@ -1,9 +1,17 @@
1
1
  {
2
2
  "name": "dsh-db-tool",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "DSH community plugin: chat-operated multi-database admin tool with sidebar management, project-scoped grants, ro/rw modes and dangerous-operation confirmation",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/mengqi1436/dsh-db-tool.git"
10
+ },
11
+ "bugs": {
12
+ "url": "https://github.com/mengqi1436/dsh-db-tool/issues"
13
+ },
14
+ "homepage": "https://github.com/mengqi1436/dsh-db-tool#readme",
7
15
  "engines": {
8
16
  "node": ">=20",
9
17
  "dsh": ">=0.1.0-rc.6"
@@ -18,4 +18,4 @@ console.log('=== db-tool patch 条目 ===');
18
18
  for (const layer of composed.layers) {
19
19
  if (layer.packageName === 'dsh-db-tool') console.log(JSON.stringify(layer.patches, null, 1));
20
20
  }
21
-
21
+