Badger is a badge tracking application for the City of Heroes Homecoming servers.
Badger runs directly in your browser, no need to download anything: https://n15g.github.io/badger/
Go hunt. Kill Skuls.
If you'd like to run the app locally for development purposes, here's what you'll need:
This repository just contains the code for the Badger App.
The badge data for Homecoming is maintained in the coh-content-db-homecoming project. See the README file in that repository for details on how to modify badge content.
- Clone the project
git clone git@github.com:n15g/badger.git - Install project dependencies
npm install - Launch the development server
npm run dev - Launch storybook
npm run storybook
The app will now be accessible at http://localhost:5173 and storybook at http://localhost:6006. Most changes will be reflected automatically without needing to restart the server.
- Determine the next Semantic Release version, i.e.
2.0.0-rc.16 - Update the version and release notes in the CHANGELOG.md.
- Commit with the comment
Changelog <semver>
- Commit with the comment
npm version <semver>- Updates the package.json and commits + tags new version. Use semver syntax for version number.npm run push- Push the commit and tags to remote.- GitHub will release automatically.
Tags matching the pattern v<X>.<Y>.<Z> will attempt to publish to npm (this can only be achieved by the package manager (n15g).
The npm version command automatically prepends the v prefix to the version number.