Skip to content

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

Merged
rubenhensen merged 1 commit into
mainfrom
chore/remove-unused-pg-js-devdep
Jul 23, 2026
Merged

chore: remove unused @e4a/pg-js devDependency#121
rubenhensen merged 1 commit into
mainfrom
chore/remove-unused-pg-js-devdep

Conversation

@dobby-coder

@dobby-coder dobby-coder Bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Removes the @e4a/pg-js entry from devDependencies in package.json. Nothing in the VitePress build, config, or theme imports the package. It only appears in docs prose and SDK code snippets, which document how consumers install the SDK and are left unchanged.

Because it was installed but unused, it kept generating dependency-bump churn (PR #101 to 1.8.0, PR #107 to 1.10.0, then ^2.1.0) on a package the site does not use.

The lockfile was regenerated with a plain npm install (not --legacy-peer-deps, per CLAUDE.md, which drops the search-insights peer and breaks npm ci). Verified with rm -rf node_modules && npm ci && npm run docs:build; both pass and the search-insights peer stays in package-lock.json.

Closes #119

@e4a/pg-js was listed in devDependencies but nothing in the VitePress
build, config, or theme imports it. It only appears in docs prose and
SDK code snippets, which stay unchanged. Removing it stops recurring
dependency-bump churn on a package the site does not use.

Lockfile regenerated with a plain `npm install` (not --legacy-peer-deps,
per CLAUDE.md). Verified with `rm -rf node_modules && npm ci && npm run docs:build`.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@dobby-coder
dobby-coder Bot requested a review from rubenhensen July 22, 2026 23:37

@dobby-coder dobby-coder Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

VERDICT: approve

Clean sign-off. This removes the unused @e4a/pg-js entry from devDependencies — the right call per the check-dep-is-used-before-bumping rule (the package was installed but nothing in the VitePress build/config/theme imports it, so it only generated bump churn).

Verified against the diff:

  • Only package.json and package-lock.json change; docs prose and SDK snippets referencing @e4a/pg-js are untouched, as intended.
  • The search-insights peer stays in package-lock.json (5 occurrences on the branch), confirming the lockfile was regenerated with a plain npm install rather than --legacy-peer-deps, so npm ci is not broken.
  • PR title is valid conventional-commit (chore:), Closes #119 closes the tracking issue, and @rubenhensen is assigned as reviewer.

No blocking issues and no nits. Flipping out of draft.

@dobby-coder
dobby-coder Bot marked this pull request as ready for review July 22, 2026 23:43
@rubenhensen
rubenhensen merged commit 014d36e into main Jul 23, 2026
2 checks passed
@rubenhensen
rubenhensen deleted the chore/remove-unused-pg-js-devdep branch July 23, 2026 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore: remove unused @e4a/pg-js devDependency

1 participant