@vndv/pi-codegraph 0.1.2 → 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 +4 -0
- package/package.json +4 -2
package/README.md
CHANGED
|
@@ -88,6 +88,8 @@ CodeGraph must be installed and available on `PATH`:
|
|
|
88
88
|
npm install -g @colbymchenry/codegraph
|
|
89
89
|
```
|
|
90
90
|
|
|
91
|
+
This extension is tested against the `@colbymchenry/codegraph` npm package declared in `devDependencies`. Dependabot watches that package and opens update PRs when CodeGraph releases a new version.
|
|
92
|
+
|
|
91
93
|
Each project must be indexed before pi can query it:
|
|
92
94
|
|
|
93
95
|
```bash
|
|
@@ -211,6 +213,8 @@ npm ci
|
|
|
211
213
|
npm run ci
|
|
212
214
|
```
|
|
213
215
|
|
|
216
|
+
`npm run ci` type-checks the extension, runs tests, verifies the pinned CodeGraph CLI can start, and dry-runs the npm package.
|
|
217
|
+
|
|
214
218
|
Install the local checkout into pi:
|
|
215
219
|
|
|
216
220
|
```bash
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vndv/pi-codegraph",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "CodeGraph tools for Pi Agent.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -35,7 +35,8 @@
|
|
|
35
35
|
]
|
|
36
36
|
},
|
|
37
37
|
"scripts": {
|
|
38
|
-
"ci": "npm run typecheck && npm test && npm pack --dry-run",
|
|
38
|
+
"ci": "npm run typecheck && npm test && npm run compat:codegraph && npm pack --dry-run",
|
|
39
|
+
"compat:codegraph": "codegraph --version",
|
|
39
40
|
"local-release": "changeset version && changeset publish",
|
|
40
41
|
"publish-packages": "npm publish --access public --provenance",
|
|
41
42
|
"prepack": "npm run typecheck && npm test",
|
|
@@ -56,6 +57,7 @@
|
|
|
56
57
|
},
|
|
57
58
|
"devDependencies": {
|
|
58
59
|
"@changesets/cli": "^2.31.0",
|
|
60
|
+
"@colbymchenry/codegraph": "^0.9.7",
|
|
59
61
|
"@earendil-works/pi-coding-agent": "^0.76.0",
|
|
60
62
|
"@types/node": "^20.19.30",
|
|
61
63
|
"typescript": "^5.0.0",
|