dsh-workspace-clean 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/README.md +10 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -24,29 +24,31 @@
|
|
|
24
24
|
|
|
25
25
|
### 安装插件
|
|
26
26
|
|
|
27
|
-
方式一:
|
|
28
|
-
|
|
29
|
-
1. `git clone https://github.com/chenfongchong7-pixel/dsh-workspace-clean.git`
|
|
30
|
-
2. 在 profile 的 `package.json`(如 `.dsh\profiles\desktop\package.json`)加入:
|
|
27
|
+
方式一:npm(推荐)
|
|
31
28
|
|
|
32
29
|
```json
|
|
33
30
|
{
|
|
34
|
-
"dependencies": { "dsh-workspace-clean": "
|
|
31
|
+
"dependencies": { "dsh-workspace-clean": "^0.1.0" },
|
|
35
32
|
"dsh": { "profile": { "bundles": ["dsh-workspace-clean"] } }
|
|
36
33
|
}
|
|
37
34
|
```
|
|
38
35
|
|
|
39
|
-
|
|
36
|
+
安装依赖并重启 DSH。
|
|
40
37
|
|
|
41
|
-
方式二:
|
|
38
|
+
方式二:GitHub(源码安装)
|
|
39
|
+
|
|
40
|
+
1. `git clone https://github.com/chenfongchong7-pixel/dsh-workspace-clean.git`
|
|
41
|
+
2. 在 profile 的 `package.json`(如 `.dsh\profiles\desktop\package.json`)加入:
|
|
42
42
|
|
|
43
43
|
```json
|
|
44
44
|
{
|
|
45
|
-
"dependencies": { "dsh-workspace-clean": "
|
|
45
|
+
"dependencies": { "dsh-workspace-clean": "file:../dsh-workspace-clean" },
|
|
46
46
|
"dsh": { "profile": { "bundles": ["dsh-workspace-clean"] } }
|
|
47
47
|
}
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
+
3. 安装依赖并重启 DSH。
|
|
51
|
+
|
|
50
52
|
### 安装技能
|
|
51
53
|
|
|
52
54
|
复制 `skill/workspace-clean.md` 到 DSH 的 skills 目录(默认 `.dsh\skills\`),无需重启。
|
package/package.json
CHANGED