@aabadin/project-memory-context 0.2.7 → 0.2.9
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/bin/pmc-view-context.mjs
CHANGED
|
@@ -10,10 +10,10 @@ const PACKAGE_ROOT = resolve(__dirname, '..');
|
|
|
10
10
|
const GRAPH_EXPLORER_PATH = resolve(PACKAGE_ROOT, 'tools/pmc-graph-explorer/server.mjs');
|
|
11
11
|
|
|
12
12
|
const child = spawn(process.execPath, [GRAPH_EXPLORER_PATH], {
|
|
13
|
-
|
|
13
|
+
env: { ...process.env, PMC_PROJECT_ROOT: process.cwd() },
|
|
14
14
|
stdio: 'inherit',
|
|
15
15
|
detached: true,
|
|
16
|
-
shell:
|
|
16
|
+
shell: false,
|
|
17
17
|
});
|
|
18
18
|
|
|
19
19
|
child.unref();
|
package/package.json
CHANGED
|
@@ -14,7 +14,7 @@ Open the PMC Graph Explorer to visualize the enrichment graph. The server runs o
|
|
|
14
14
|
Start the graph explorer server using the globally installed PMC CLI:
|
|
15
15
|
|
|
16
16
|
```bash
|
|
17
|
-
npx --yes @aabadin/project-memory-context pmc-view-context
|
|
17
|
+
npx --yes --package @aabadin/project-memory-context pmc-view-context
|
|
18
18
|
```
|
|
19
19
|
|
|
20
20
|
Then open http://localhost:3001 in your browser.
|