@moddota/dota-data
v0.43.0
Published
Auto-generated Dota 2 resource dumps
Downloads
19
Readme
dota-data
Auto-generated Dota 2 resource dumps.
Data from this package is available on ModDota API page (previously dota.tools).
To update from a new dump
For contributors:
If you want to update from an API dump
- Check out this repository
- Install with
npm ci
- Run
npm run auto-dump
and wait for the script to finish and dota to close. - Run
npm run build
to generate all package files. - Commit changes
- Create a pull request
If you are updating the API manually
- Edit the corresponding
.ts
files (i.e.modifier-properties.ts
) - Run
npm ci
thennpm run build
in the root of the repository - You should now have corresponding
.json
files re-generated (i.e.api.json
) - Commit changes
- Create a pull request
For maintainers:
- Run
npm version minor
- Push with tags