Contributing
August 14, 2026 ยท View on GitHub
Thanks for improving dsh-usage-chart.
Development workflow
- Use Node.js 20 or newer and install dependencies with
npm ci. - Keep Host-only code in
src/index.tsand browser code insrc/client/. - Add or update tests for behavior changes.
- Run
npm run verifyandnpm pack --dry-runbefore opening a pull request. - Update
CHANGELOG.mdfor user-visible changes.
Pull requests should be focused and should not include generated lib/, local profiles, API keys, logs, or screenshots containing account information.
For UI changes, run the visual probe scripts against a running DSH Web before opening a PR:
node scripts/verify-render.mjs (plus shot.mjs, probe-panel.mjs, probe-popover.mjs).
They resolve Chrome, target URL, session, and screenshot output through DSH_PROBE_*
environment variables โ see the README's development section for the table.
Compatibility
This plugin follows DSH 0.1.x Host/Client bundle conventions. Changes to injected services, slots, module-loader externals, or cordis.patch.yml must include an installation smoke test against a clean Web profile.