dsh-plugin-toolkit 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/CHANGELOG.md +4 -0
- package/README.md +14 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -22,6 +22,20 @@ Releasing one plugin fifteen times taught me three things the ecosystem's toolin
|
|
|
22
22
|
2. **The market index is a second release, done by hand.** Each version needs an entry carrying `publishTimestamp` from the registry and `engines.dsh` from the manifest. Forget the range and the index validator rejects the PR with `Engines mismatch` — after the tag is already public.
|
|
23
23
|
3. **Reading a manifest is not the same as checking it.** A plugin can have a valid `package.json` and still be uninstallable: `files` that omit the entry the manifest points at, a bundle patch that does not exist, a README that never states the host range it declares.
|
|
24
24
|
|
|
25
|
+
|
|
26
|
+
## Use it in CI
|
|
27
|
+
|
|
28
|
+
The same checks run as a GitHub Action, so a tag cannot go out on a plugin that would not install:
|
|
29
|
+
|
|
30
|
+
```yaml
|
|
31
|
+
- uses: actions/checkout@v4
|
|
32
|
+
- uses: WJDdidi-1/dsh-plugin-toolkit@v1
|
|
33
|
+
with:
|
|
34
|
+
dir: plugin # the folder holding the plugin's package.json
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
`command: index` audits `market/index.json` instead, and fails on any version that cannot state a host range.
|
|
38
|
+
|
|
25
39
|
## What `doctor` checks
|
|
26
40
|
|
|
27
41
|
| Check | Why it matters |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-plugin-toolkit",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Preflight, release and test DeepSeek Harness plugins: checks what the host needs, waits for npm to actually serve the version, and keeps the market index honest.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|