Thank you for considering contributing to Otter! We welcome all contributions, and appreciate your effort in improving our project. To ensure a smooth contribution process, please follow the guidelines below.
Please create a new issue on our repository and choose "Feature request". This will allow us to review and prioritize your request accordingly.
Before you submit an issue, please make sure the issue is not already in our issues backlog.
The issue creation template requires:
If you already have a fix for the problem don't hesitate to open a pull request. Each pull request should be assigned to an issue, so please create the issue and link it to the PR.
When creating a pull request, please link the corresponding issue in the pull request description. This will help us track the progress of your contribution and ensure that it is reviewed in a timely manner.
In order to have a nice change log generated, you will need to follow some guidelines:
git commit -m "[fix|fixes|bugfix|bugfixes]: this is a commit message for a fix"
git commit -m "[feat|feature|features]: this is a commit message for a feature"
doc
, docs
or documentation
breaking
, breaking change
, breaking changes
, breaking-change
or breaking-changes
Those are common examples, for more information don't hesitate to have a look at https://github.com/conventional-changelog/commitlint/#what-is-commitlint
When contributing, please keep in mind the following rules:
@deprecated
tag in the JSDoc while mentioning the major version when it will be removed. Note that only even major Otter versions allow costly breaking changes. The cost of the breaking change will be determined by the responsible team at code review time (see Versioning rules).n + 2
after the deprecation./** [Your comment] */
:no_entry_sign:
private type: string;
:white_check_mark:private type: "A" | "B";
To ease the process, we are providing a set of:
Nx Cloud offers a way to accelerate the build of your project locally thanks to Remote Cache.
To be able to benefit from this feature, you will need to perform the following steps:
When building (yarn build
) the project on the main
branch (or another release/*
branch), the remote cache will be downloaded.
[!NOTE] Only Otter Team members can write Remote Cache on Nx Cloud, logged-in users will be able to use Remote Cache in readonly mode. The Local Cache is available for all users (logged or not to Nx Cloud).
To help developers create new items in the Otter monorepo, several scripts have been provided at root level to accelerate development:
yarn create:scope <scope-name>
yarn ng g library @<scope-name>/<library-name>
[!NOTE] The dependencies of the monorepo need to be installed (thanks to the command
yarn install
) before running the scripts.
After submitting a pull request, you will receive feedback from the Otter team. The review process will continue until the pull request is ready to be merged.
As a reviewer, please follow these guidelines:
Request changes
option, please include at least one comment with a specific change required. A question alone does not count as a change requirement. This option indicates that the reviewer is not in favor of merging the pull request until the requested changes are made.Approved option
, the reviewer may still include change requests if desired. This option indicates that the reviewer is in favor of merging the pull request as-is, but suggests that the author may wish to consider making some small changes.Request changes
option shouldn't be used if the comments consist only of questions.Thanks in advance for your contribution, and we look forward to hearing from you :)