For any bug, new feature, or documentation improvement, the best way to start a conversation is by creating a new issue on github.
You're welcome to submit PRs right away without creating a ticket (issue) first, but be aware that there is no guarantee your PR is going to be merged so your work might be for nothing.
Continuous integration will run tests on your PR, needless to say it has to be green to be merged :).
To run the tests locally:
- Run all tests with
sbt testAll
(ifjava.lang.LinkageError
, just re-run the command) - Run a single project test, for example
sbt circeProject/test
The project using Scalafmt for formatting.
Before submitting your PR you can format the code by running sbt format
, but the best way is to configure your IDE/Editor
to pick up the Scalafmt config from the repo and format it automatically. It is supported at least by IntelliJ and VSCode.
To have a locally running doc website and test your documentation changes:
sbt ~docs/makeMicrosite
cd docs/target/site
jekyll serve -b /jwt-scala
- Go to http://localhost:4000/jwt-scala/
This is only for maintainers with write access (just one for now!) but a new version can be published to Sonatype:
- Update version numbers in
build.sbt
sbt releaseAll
Documentation (microsite + scaladoc) can be published with:
sbt publish-doc