mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-11 14:36:25 +00:00
feat(composer): Detect TYPO3 extensions and Symfony bundles as libraries (#14143)
This commit is contained in:
parent
529a3a3f11
commit
917f30e783
1 changed files with 7 additions and 1 deletions
|
@ -30,7 +30,13 @@ export function getRangeStrategy(config: RangeConfig): RangeStrategy {
|
|||
}
|
||||
const isApp =
|
||||
composerJsonType &&
|
||||
!['library', 'metapackage', 'composer-plugin'].includes(composerJsonType);
|
||||
![
|
||||
'library',
|
||||
'metapackage',
|
||||
'composer-plugin',
|
||||
'symfony-bundle',
|
||||
'typo3-cms-extension',
|
||||
].includes(composerJsonType);
|
||||
if (isApp && depType === 'require') {
|
||||
// Pin dependencies if it's an app/project
|
||||
logger.trace({ dependency: depName }, 'Pinning app require');
|
||||
|
|
Loading…
Reference in a new issue