feat: support globs in ignorePaths (#1069)
Renovate will now check ignorePaths values for either (a) a string match, or (b) glob pattern. e.g. a string of ‘node_modules/‘ will ignore ‘node_modules/foo/package.json’ and ‘backend/node_modules/foo/package.json’ but it will also ignore ‘not_node_modules/foo/package.json` too. Therefore a blog pattern of `**/node_modules/**` is superior. Closes #1054 BREAKING CHANGE: ignorePaths now supports globs and may match more than before, but that’s probably a good thing.
Showing
- lib/config/definitions.js 3 additions, 2 deletionslib/config/definitions.js
- lib/manager/index.js 6 additions, 1 deletionlib/manager/index.js
- test/manager/__snapshots__/index.spec.js.snap 1 addition, 0 deletionstest/manager/__snapshots__/index.spec.js.snap
- test/manager/index.spec.js 2 additions, 1 deletiontest/manager/index.spec.js
Loading
Please register or sign in to comment