fix: #3611907 Ignore drupal/* dependency-declared patches so lock-less installs do not abort
Closes #3611907
What/why
A fresh rm -rf composer.lock patches.lock.json vendor/ && composer install aborted: drupal/ai_context self-declares a patch on drupal/canvas with a missing root-relative path. Base cweagans/composer-patches gathers dependency-declared patches with an exact-match ignore-dependency-patches check before varbase-patches' wildcard/allowlist override is active, so the bad entry was gathered and the install failed.
Adding ignore-dependency-patches: ["drupal/*", "drupal/ai_context"] to extra.composer-patches skips those patches at gather time. This supersedes MR !59 (merged) (which committed patches.lock.json to work around the same failure) — that tracked lock file is removed here so it regenerates cleanly on a lock-less install.
Changes
composer.json: addignore-dependency-patchesunderextra.composer-patches.- Remove tracked
patches.lock.json.
AI-Generated: Yes
Checkpoints
- File an issue about this project
- Addition/Change/Update/Fix to this project
- Testing to ensure no regression
- Automated unit/functional testing coverage
- Developer Documentation support on feature change/addition
- User Guide Documentation support on feature change/addition
- UX/UI designer responsibilities
- Accessibility and Readability
- Reviewed by a human
- Code review by maintainers
- Full testing and approval
- Credit contributors
- Review with the product owner
- Update Release Notes
- Release