mit einem Klick
update-deps
// Update all dependencies across hdb/, hdbext/, hdbhelper/, and hdbhelper-py/. Runs update script, presents change summary, updates CHANGELOG.md, and commits with approval.
// Update all dependencies across hdb/, hdbext/, hdbhelper/, and hdbhelper-py/. Runs update script, presents change summary, updates CHANGELOG.md, and commits with approval.
Audit AI guidance files (CLAUDE.md, copilot-instructions.md, .github/agents/, .github/prompts/) for consistency. Use after updating any AI-facing documentation.
Pre-release verification checklist for hdb, hdbext, and/or hdbhelper packages. Run before publishing to npm or tagging a Go release.
Add or update a method across hdb/hdbext packages with ESM/CJS/type parity. Use when changing runtime API in either package.
| name | update-deps |
| description | Update all dependencies across hdb/, hdbext/, hdbhelper/, and hdbhelper-py/. Runs update script, presents change summary, updates CHANGELOG.md, and commits with approval. |
This monorepo has four independent packages with no root package.json:
hdb/ and hdbext/ — Node.js (npm, shrinkwrap)hdbhelper/ — Go (go.mod)hdbhelper-py/ — Python (pyproject.toml, pip)Execute: bash scripts/update-deps.sh
The script may take several minutes. Capture stdout (JSON report) separately from stderr (progress messages). Show the stderr progress to the user as it runs.
Parse the JSON report. Present a summary table:
| Package | Dependency | Old | New | Type |
|---|
For pinned dependencies (type="pinned"), show the note field and latest version so the user knows a manual bump is available.
For skipped packages, show the skip reason.
Read CHANGELOG.md from the repo root. If it doesn't exist, create it with this header:
# Changelog
All notable dependency updates to this project are documented in this file.
Prepend a new entry after the header using today's date. Group dependency changes by package. Only include packages where at least one dependency actually changed (old != new). Include test results for all packages that were tested.
Format:
## YYYY-MM-DD
### Dependencies Updated
#### <package>/
- `<dep>` <old> -> <new>
### Test Results
- <package>: <passed/failed> (<summary>)
If NO dependencies changed across any package, report "All dependencies already up to date" and skip the changelog update and commit steps.
Show the diff with git diff. For go.sum changes, just report the line count ("go.sum: N lines changed") rather than the full diff.
Ask the user: "Ready to commit these dependency updates?"
Do NOT commit without explicit user approval.
If the user approves:
git add hdb/ hdbext/ hdbhelper/ hdbhelper-py/ CHANGELOG.mdgit commit -m "chore: update all dependencies (YYYY-MM-DD)"Do NOT push. The user can push when ready.