Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: merge matchPaths and matchFiles into matchFileNames #22406

Merged
merged 3 commits into from May 25, 2023

Conversation

rarkins
Copy link
Collaborator

@rarkins rarkins commented May 24, 2023

Changes

Merges matchFiles and matchPaths into matchFileNames.

Context

Closes #22395

Declared as breaking because if a user has both matchFiles and matchPaths then whichever is placed second takes precedence.

Documentation (please check one with an [x])

  • I have updated the documentation, or
  • No documentation update is required

How I've tested my work (please select one)

I have verified these changes via:

  • Code inspection only, or
  • Newly added/modified unit tests, or
  • No unit tests but ran on a real repository, or
  • Both unit tests + ran on a real repository

…ames

Closes #22395

BREAKING CHANGE: matchPaths and matchFiles are now combined and merged into matchFileNames
@rarkins rarkins added the breaking Breaking change, requires major version bump label May 24, 2023
Copy link
Member

@viceice viceice left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

otherwise LGTM

lib/config/types.ts Show resolved Hide resolved
lib/util/package-rules/files.ts Show resolved Hide resolved
docs/usage/configuration-options.md Show resolved Hide resolved
docs/usage/configuration-options.md Outdated Show resolved Hide resolved
lib/modules/manager/npm/extract/index.ts Outdated Show resolved Hide resolved
rarkins and others added 2 commits May 24, 2023 20:23
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
@rarkins rarkins requested a review from viceice May 24, 2023 18:49
@rarkins rarkins merged commit d9f6967 into v36 May 25, 2023
8 checks passed
@rarkins rarkins deleted the feat/22395-match-paths-files branch May 25, 2023 15:46
rarkins added a commit that referenced this pull request Jun 12, 2023
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
breaking Breaking change, requires major version bump
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants