Contributing to Vaulted Money
First off, thank you for considering contributing to Vaulted Money It’s people like you that make Vaulted Money such a great tool for personal finance.
How to Contribute
Section titled “How to Contribute”Only repository collaborators can open pull requests. If you are not a collaborator, start with an issue:
- Open a bug report or feature request. Describe the problem and the change you have in mind, with enough detail for a maintainer to reproduce or build it.
- A maintainer will reply on the issue. If the change is accepted, a maintainer will make it and credit your issue.
You are welcome to fork Vaulted Money for your own use, or to adapt it for your language and region.
Getting Started (collaborators)
Section titled “Getting Started (collaborators)”- Clone the project to your own machine.
- Install dependencies using
pnpm install. Usepnpm, notnpm: an npm install creates a different dependency tree, and the build then regeneratessrc/data/acknowledgments.generated.tswith the wrong package list. - Create a branch from
pre-prodfor your feature or bug fix:git checkout -b feature/my-new-featureorgit checkout -b bugfix/issue-description.
Code Standard and Review
Section titled “Code Standard and Review”We strongly encourage you to read our Code Review Guidelines, which detail our expectations around:
- Coding Standards (ESLint, Prettier)
- Refactoring and Maintainability
- Testing
- Accessibility (a11y)
Validating Your Changes
Section titled “Validating Your Changes”Before committing your changes, please run the following checks locally:
# Check formattingpnpm format:check
# Run linterpnpm lint
# Run type checkpnpm exec tsc --noEmit
# Ensure the project buildspnpm buildWe also provide a handy pnpm validate script that runs type checking and linting.
Mobile Changes
Section titled “Mobile Changes”If your change affects Capacitor assets, native icons, splash screens, or mobile-only behavior, refresh both native targets before asking for review:
pnpm run mobile:refreshFor simulator/emulator verification, use a clean reinstall so cached launcher assets do not hide the result:
# iOSxcrun simctl uninstall booted com.vaultedmoney.app || true
# Androidadb uninstall com.vaultedmoney.app || truecd android./gradlew cleanSubmitting a Pull Request
Section titled “Submitting a Pull Request”- Open the pull request against the
pre-prodbranch. Maintainers promotepre-prodtomainfor releases. - Ensure your code is thoroughly tested.
- Fill out the Pull Request template comprehensively.
- Link the Pull Request to any relevant issues.
- Keep the diff small and focused; if your PR is doing too much, consider breaking it into smaller PRs.
- Wait for a maintainer to review your code. Do not push force updates unless requested.
Once your PR is approved and all CI checks pass, it will be merged by a maintainer!