pi-diet-ripgrep 0.1.0 → 0.1.3
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 +12 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# pi-diet-ripgrep
|
|
2
2
|
|
|
3
|
+
> One of my diet context engineering and workflow extensions. Add pi-diet-LSP, pi-diet-Ripgrep, pi-repo-move and others from [npm](https://www.npmjs.com/~probabilityengineer).
|
|
4
|
+
|
|
3
5
|
A minimal Pi extension that exposes ripgrep as a first-class exact-search tool.
|
|
4
6
|
|
|
5
7
|
## Files
|
|
@@ -43,7 +45,16 @@ First publish manually once:
|
|
|
43
45
|
npm publish --access public
|
|
44
46
|
```
|
|
45
47
|
|
|
46
|
-
Then configure npm Trusted Publishing
|
|
48
|
+
Then configure npm Trusted Publishing from the CLI:
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
npm trust github pi-diet-ripgrep \
|
|
52
|
+
--repo ProbabilityEngineer/pi-diet-ripgrep \
|
|
53
|
+
--file npm-publish.yml \
|
|
54
|
+
--allow-publish
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
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
58
|
|
|
48
59
|
After trusted publishing is configured, publish future versions by bumping `package.json` and pushing a matching version tag:
|
|
49
60
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-diet-ripgrep",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
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+
|
|
24
|
+
"url": "git+https://github.com/ProbabilityEngineer/pi-diet-ripgrep.git"
|
|
25
25
|
},
|
|
26
26
|
"bugs": {
|
|
27
27
|
"url": "https://github.com/ProbabilityEngineer/pi-diet-ripgrep/issues"
|