Skip to content

v0.2.2: Fix silent exit under pnpm

Choose a tag to compare

@RuchiPurohit RuchiPurohit released this 22 Oct 23:27
· 10 commits to main since this release
335d015

Fixes

  • codegraph and codegraph-mcp now run when installed with pnpm or npm link. In 0.2.1 and earlier, both commands exited silently with code 0 when started through a symlinked bin. They printed nothing and wrote no index. The entry-point check now compares real paths, so symlinked installs work.
  • The MCP server reports the correct version. serverInfo.version was hardcoded to 0.1.0. It now comes from the package version.

Documentation

  • The install command now uses the correct package name. The README said npm install --save-dev codegraph, which installs an unrelated package. It now says repo-codegraph.
  • The CLI section shows every command for both npm and pnpm. A new table lists each command with what it does, its npx codegraph … form and its pnpm codegraph … form.

Upgrading

npm install --save-dev repo-codegraph@0.2.2 # npm
pnpm add -D repo-codegraph@0.2.2 # pnpm

If you're on pnpm v10, run pnpm codegraph index . without a --. pnpm v10 passes -- to the command as a literal argument.