mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-13 15:36:25 +00:00
16 lines
468 B
JavaScript
16 lines
468 B
JavaScript
const { extractDependencies } = require('./extract');
|
|
const { getPackageUpdates } = require('../npm/package');
|
|
const { resolvePackageFile } = require('./resolve');
|
|
const { setNewValue } = require('./update');
|
|
|
|
const filePattern = new RegExp('(^|/)package.js$');
|
|
const contentPattern = new RegExp('(^|\\n)\\s*Npm.depends\\(\\s*{');
|
|
|
|
module.exports = {
|
|
contentPattern,
|
|
extractDependencies,
|
|
filePattern,
|
|
getPackageUpdates,
|
|
resolvePackageFile,
|
|
setNewValue,
|
|
};
|