Architecture of renovatebot/renovate
renovatebot/renovate is 3,398 source files holding 9,118 symbols across 7 modules, written mainly in TypeScript, JavaScript, Terraform. The largest module is lib, with 3,110 files, and 375 files are entry points into the dependency graph.
How renovate fits together
The main source code lives in lib, which holds most of the project's files, and TypeScript is the dominant language. Each package manager is handled by a module under lib/modules/manager, such as the GitHub Actions extraction covered by lib/modules/manager/github-actions/extract.spec.ts. Each code hosting platform has its own module, as lib/modules/platform/azure/index.spec.ts shows for Azure DevOps. The documentation in docs/usage/index.md describes how to run Renovate, and docs/usage/modules/manager/index.md, docs/usage/modules/platform/index.md and docs/usage/modules/datasource/index.md describe the supported managers, platforms and datasources. The test directory holds the test suite, including an end-to-end package under test/e2e. The development environment is defined in .devcontainer/Dockerfile and .devcontainer/devcontainer.json.
Largest modules
- lib: 3,110 files and 479,590 lines of code
- tools: 112 files and 7,780 lines of code
- docs: 95 files and 14,371 lines of code
- .github: 32 files and 2,589 lines of code
- root: 22 files and 1,712 lines of code
- test: 18 files and 1,397 lines of code
- .devcontainer: 3 files and 36 lines of code
- data: 3 files and 530 lines of code
Languages
By file count: TypeScript 2,559 files, JavaScript 47 files, Terraform 19 files, Shell 11 files, Go 7 files, Python 6 files.
Documentation
Repowise documents renovate in 2,553 pages generated from the source.
More on renovate: summary and FAQ, codebase overview, code health.
Related guide: Best dependency graph tools for monorepos