Automated Dependency Updates for Bun
Categories: js
Renovate supports updating Bun dependencies.
File Matching¶
By default, Renovate will check any files matching any of the following regular expressions:
/(^|/)bun\.lockb?$/
/(^|/)package\.json$/
For details on how to extend a manager's managerFilePatterns
value, please follow this link.
Supported datasources¶
This manager supports extracting the following datasources: github-tags
, npm
.
Default config¶
{
"managerFilePatterns": [
"/(^|/)bun\\.lockb?$/",
"/(^|/)package\\.json$/"
],
"digest": {
"prBodyDefinitions": {
"Change": "{{#if displayFrom}}`{{{displayFrom}}}` -> {{else}}{{#if currentValue}}`{{{currentValue}}}` -> {{/if}}{{/if}}{{#if displayTo}}`{{{displayTo}}}`{{else}}`{{{newValue}}}`{{/if}}"
}
},
"prBodyDefinitions": {
"Change": "[{{#if displayFrom}}`{{{displayFrom}}}` -> {{else}}{{#if currentValue}}`{{{currentValue}}}` -> {{/if}}{{/if}}{{#if displayTo}}`{{{displayTo}}}`{{else}}`{{{newValue}}}`{{/if}}]({{#if depName}}https://renovatebot.com/diffs/npm/{{replace '/' '%2f' depName}}/{{{currentVersion}}}/{{{newVersion}}}{{/if}})"
}
}
Additional Information¶
Used for updating bun projects. Bun is a tool for JavaScript projects and therefore an alternative to managers like npm, pnpm and Yarn.
If a package.json
is found to be part of bun
manager results then the same file will be excluded from the npm
manager results unless an npm/pnpm/Yarn lock file is also found.