- Node.js 24.12.0 (see
.nvmrc) - Yarn 4.13.0 (corepack)
corepack enable
yarn install# Run tests
yarn test
# Lint
yarn lint
# Format
yarn prettier:write
# Build
yarn build
# Parse an EBICS file (CLI)
yarn parse <filepath>This project uses conventional commits. Use yarn commit (commitizen) for interactive commit messages.
Allowed prefixes: feat, fix, chore, docs, refactor, test, style, perf.
Pre-commit hooks run prettier and lint-staged automatically.
- Add the qualifier code to
QualifierTypeinsrc/transaction/index.ts - Add the case in
src/transactionBody/qualifier/index.ts - Add the corresponding fields to
ParsedTransactiontype - Add the fields to the Zod schema in
src/account/schema.ts - Add a test case in
src/transactionBody/index.test.ts
Tests use Vitest with snapshot testing. Run yarn test to execute all tests with coverage.
When modifying parsing logic, check snapshot diffs carefully — they reflect the actual parsed output.
See the Architecture section in the README.
Publishing to npm happens automatically on push to main via GitHub Actions.
Bump the version before merging:
yarn v:patch # bug fix
yarn v:minor # new feature
yarn v:major # breaking change