Ridedott's base config for Renovate[bot].
The project has no runtime and acts as a shareable base config. It can only be used by other projects implementing Renovate[bot].
Minimal requirements to set up the project:
- Node.js v10, installation instructions can be found on the official website, a recommended installation option is to use Node Version Manager. It can be installed in a few commands.
- A package manager like Yarn or npm. All instructions in the documentation will follow the npm syntax.
- Optionally a Git client.
Start by cloning the repository:
git clone git@github.com:ridedott/renovate-config.git
In case you don't have a git client, you can get the latest version directly by using this link and extracting the downloaded archive.
Go the the right directory and install dependencies:
cd renovate-config
nvm use
npm install
That's it! You can now go to the next step.
This repository does not contain any source code, just the configuration, so no tests are present.
This project uses Prettier to automate formatting. All supported files are being reformatted in a precommit hook. You can also use one of the two scripts to validate and optionally fix all of the files:
npm run format
npm run format:fix
Publishing is handled in an automated way and must not be performed manually.
Each commit to the master branch is automatically deployed to the NPM registry
with a version specified in package.json
. All other commits are published as
pre-releases.
Add a Renovate configuration to your project and use
"extends": ["github>ridedott/renovate-config"]
to include the options defined
as defaults in the ./default.json configuration:
If you are working in a TypeScript project we recommend using the typescript
preset by extending from github>ridedott/renovate-config:typescript
instead.
{
"extends": ["github>ridedott/renovate-config:typescript"],
"packageRules": [
{
"enabled": false,
"packageNames": ["@types/node"],
"updateTypes": ["major"]
}
]
}
We use the merge-me github action to auto merge PRs and the hosted renovate bot
which runs 24/7 we need to use the schedule
configuration to ensure that
renovate only runs between the desired hours. Not having this configuration
allows renovate bot to rebase PRs outside the specified hours which potentially
leads to the CI becoming green and merge-me auto merging the PR. Which led to
outages of breaking runtimes that we didn't catch.
See CONTRIBUTING.md.
This project adheres to Semantic Versioning v2.