Skip to content

chore: remove unused @e4a/pg-js devDependency #119

Description

@dobby-coder

@e4a/pg-js is listed under devDependencies in package.json, but nothing in the build imports it. It only appears as prose (e.g. the npm install @e4a/pg-js line in docs/index.md and inline SDK snippets); the VitePress build, config, and theme never import or require it.

Because it is installed but unused, it keeps generating dependency-bump churn: PR #101 bumped it to 1.8.0, PR #107 to 1.10.0, and it now sits at ^2.1.0 in package.json:12 — review cycles spent on a package the site does not use.

Fix

  • Remove the @e4a/pg-js entry from devDependencies in package.json.
  • Regenerate the lockfile with a plain npm install (not --legacy-peer-deps — see CLAUDE.md, that drops the search-insights peer and breaks npm ci).
  • Verify with rm -rf node_modules && npm ci && npm run docs:build.

The prose references to @e4a/pg-js stay as-is — they document how consumers install the SDK and are not affected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependenciesPull requests that update a dependency file

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions