mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-13 15:36:25 +00:00
c356bb0349
Renovate now comes with a variety of package managers supported, each with their own filename pattern(s). These patterns are now exposed for user configuration through the new `fileMatch` list/array configuration option, which has been added to each manager (npm, bazel, docker-compose, etc). `fileMatch` is defined as a mergeable list, meaning that users can add to the default pattern to extend the files being detected. Closes #799
12 lines
336 B
JavaScript
12 lines
336 B
JavaScript
const { extractDependencies } = require('./extract');
|
|
const { getPackageUpdates } = require('../npm/package');
|
|
const { updateDependency } = require('./update');
|
|
|
|
const contentPattern = new RegExp('(^|\\n)\\s*Npm.depends\\(\\s*{');
|
|
|
|
module.exports = {
|
|
contentPattern,
|
|
extractDependencies,
|
|
getPackageUpdates,
|
|
updateDependency,
|
|
};
|