Contributing

How to contribute

First and foremost, thank you for taking the time to contribute to dinkum-data: any help is appreciated to make dinkum-data better and stronger!


Code of Conduct

This project and everyone participating in it is governed by the dinkum-data Code of Conduct. By participating, you are expected to uphold this code.

How can I contribute

Reporting bugs

Before submitting a bug report

This section guides you through submitting a bug report for dinkum-data. Following these guidelines helps maintainers and the community understand your report, reproduce the behavior, and find related reports.

Before creating a bug report, please check the open bug issues as you might find out that you don't need to create one. When you are creating a bug report, please include as many details as possible: the item or module involved, the expected vs. actual values, and a link to the relevant Dinkum Wiki page if the data looks stale.

Note: If you find a closed issue that seems like it is the same thing you're experiencing, open a new issue and include a link to the original issue in the body of your new one.

Suggesting enhancements

This section guides you through submitting an enhancement suggestion for dinkum-data, including new query filters, new data modules, and improvements to existing ones.

Before creating an enhancement suggestion, please check the open enhancement issues as you might find out that you don't need to create one.

Code contributions

Looking to contribute to dinkum-data? Look for tickets tagged help-wanted, or add data for a recent game update: see the Development guide for the module layout and data conventions.

Development setup

git clone https://github.com/<your-username>/dinkum-data.git
cd dinkum-data
pnpm install
CommandDescription
pnpm buildBuild the package with tsup
pnpm lintRun TypeScript type-checking and ESLint
pnpm formatFormat all files with Prettier
pnpm format:checkCheck formatting without writing changes
pnpm testRun the Jest test suite
pnpm test:coverageRun the test suite with coverage
pnpm sampleRun the sample scripts against the built API

Pull requests

Please follow these steps to have your contribution considered by the maintainers:

  • Follow all instructions in the pull request template
  • Add or update tests for any data or query builder change
  • After you submit your pull request, verify that all status checks are passing

Ensure all merge conflicts are fixed and CI is passing.

While the prerequisites above must be satisfied prior to having your pull request reviewed, the reviewer(s) may ask you to complete additional design work, tests, or other changes before your pull request can be ultimately accepted.

Previous
Buff icons