pi-diet-ripgrep 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.
Files changed (2) hide show
  1. package/README.md +10 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -43,7 +43,16 @@ First publish manually once:
43
43
  npm publish --access public
44
44
  ```
45
45
 
46
- Then configure npm Trusted Publishing for GitHub Actions on npmjs.com using this repository and `.github/workflows/npm-publish.yml`.
46
+ Then configure npm Trusted Publishing from the CLI:
47
+
48
+ ```bash
49
+ npm trust github pi-diet-ripgrep \
50
+ --repo ProbabilityEngineer/pi-diet-ripgrep \
51
+ --file npm-publish.yml \
52
+ --allow-publish
53
+ ```
54
+
55
+ npm will open/print a browser authentication flow for 2FA approval. The workflow file name is `npm-publish.yml` because npm expects the file name inside `.github/workflows/`, not the full path.
47
56
 
48
57
  After trusted publishing is configured, publish future versions by bumping `package.json` and pushing a matching version tag:
49
58
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-diet-ripgrep",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Minimal Pi extension exposing ripgrep as a first-class exact-search tool.",
5
5
  "type": "module",
6
6
  "main": "index.ts",
@@ -21,7 +21,7 @@
21
21
  "license": "MIT",
22
22
  "repository": {
23
23
  "type": "git",
24
- "url": "git+ssh://git@github.com/ProbabilityEngineer/pi-diet-ripgrep.git"
24
+ "url": "https://github.com/ProbabilityEngineer/pi-diet-ripgrep.git"
25
25
  },
26
26
  "bugs": {
27
27
  "url": "https://github.com/ProbabilityEngineer/pi-diet-ripgrep/issues"