Thanks for being interested in contributing to Lincoln! Lincoln is Temando's first major open source project so bear with us while we iron out the kinks. The following describes some basic information that should help you get started.
To contribute to the project, the following prerequisites are required:
To preview Lincoln on your local machine:
yarn
yarn start
Lincoln is now available on http://localhost:8200. You need to specify a url for the Open API v3
definition, e.g. http://localhost:8200?url=https://temando.github.io/open-api-renderer/petstore-open-api-v3.0.0-RC2.json, or you can paste your definition directly into the UI.
Lincoln is written adhering to the StandardJS code style. ESLint is used to enforce standard
and standard-react
rule sets.
Lincoln uses Jest for testing. Tests should be committed with each code change to ensure regressions do not occur.
Test coverage is not currently enforced, but it will be in the future.
To build this project as React component located in dist/library
:
yarn build:library
To build the demo located in /docs/demo
:
yarn build:demo
Lincoln will, in future, abide to semver and keep a changelog. Right now we are at the peak of development and until we reach a release, these processes would add extra overhead that we are not willing to absorb just yet.
We prefer small, focused MR's rather than large complex MR's whenever possible.
We use Github projects to manage phases of development. If you'd like to chip in:
- Open a project and look at the TODO column for unassigned work. Generally it's in priority order.
- Leave a note on the issue saying you'd like to tackle it.
- Create a new branch in your fork and begin!
- Don't forget to update the unreleased section of the changelog with your changes
- When raising the MR, include as much detail as possible to help the reviewer
Alternatively, sometimes we have ideas that we are not sure how to approach, or don't fit in with our priorities. These issues are labelled as wishes. Feel free to tackle one of these or contribute any feedback.