dsh-plugin-explorer 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 +19 -0
- package/package.json +10 -2
package/README.md
CHANGED
|
@@ -53,6 +53,25 @@ upstream community index (`dsh-plugin-catalog` on jsDelivr) for the rest of the
|
|
|
53
53
|
- `node scripts/verify.mjs` checks the route, the bundled directory, and the search pipeline; add
|
|
54
54
|
`--refresh` to exercise the live upstream read.
|
|
55
55
|
|
|
56
|
+
## Releases
|
|
57
|
+
|
|
58
|
+
Publishing runs from GitHub Actions. Prefer npm trusted publishing (OIDC), which stores no npm
|
|
59
|
+
token in the repository or in CI:
|
|
60
|
+
|
|
61
|
+
1. Bump `version` in `package.json` (for example `0.1.2`) and commit it.
|
|
62
|
+
2. Push a matching tag: `git tag v0.1.2 && git push origin v0.1.2`.
|
|
63
|
+
3. `.github/workflows/publish.yml` checks the tag against `package.json`, requests an OIDC token,
|
|
64
|
+
and runs `npm publish --provenance --access public`.
|
|
65
|
+
|
|
66
|
+
Configure the trusted publisher once on npm: **dsh-plugin-explorer → Settings → Trusted
|
|
67
|
+
publishing → GitHub Actions**, with the repository owner, repository name, and workflow filename
|
|
68
|
+
`publish.yml`. The job needs the `id-token: write` permission declared in the workflow.
|
|
69
|
+
|
|
70
|
+
While trusted publishing cannot be configured, the workflow falls back to an **`NPM_TOKEN`**
|
|
71
|
+
repository secret: create a granular npm token with publish access, add it under **Settings →
|
|
72
|
+
Secrets and variables → Actions**, and keep the `NODE_AUTH_TOKEN` env block on the Publish step.
|
|
73
|
+
Remove that block once the trusted publisher is configured.
|
|
74
|
+
|
|
56
75
|
## License
|
|
57
76
|
|
|
58
77
|
Code: MIT. Bundled catalog data: CC0 1.0 (from `dsh-plugin-catalog`).
|
package/package.json
CHANGED
|
@@ -1,8 +1,16 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
2
|
"name": "dsh-plugin-explorer",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Search the community plugin catalog from the Plugins page and install a matching bundle in one click.",
|
|
5
5
|
"license": "MIT",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/cutyshark/dsh-plugin-explorer.git"
|
|
9
|
+
},
|
|
10
|
+
"homepage": "https://github.com/cutyshark/dsh-plugin-explorer#readme",
|
|
11
|
+
"bugs": {
|
|
12
|
+
"url": "https://github.com/cutyshark/dsh-plugin-explorer/issues"
|
|
13
|
+
},
|
|
6
14
|
"type": "module",
|
|
7
15
|
"exports": {
|
|
8
16
|
".": "./index.js",
|