mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-11 22:46:27 +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 =
|
const isApp =
|
||||||
composerJsonType &&
|
composerJsonType &&
|
||||||
!['library', 'metapackage', 'composer-plugin'].includes(composerJsonType);
|
![
|
||||||
|
'library',
|
||||||
|
'metapackage',
|
||||||
|
'composer-plugin',
|
||||||
|
'symfony-bundle',
|
||||||
|
'typo3-cms-extension',
|
||||||
|
].includes(composerJsonType);
|
||||||
if (isApp && depType === 'require') {
|
if (isApp && depType === 'require') {
|
||||||
// Pin dependencies if it's an app/project
|
// Pin dependencies if it's an app/project
|
||||||
logger.trace({ dependency: depName }, 'Pinning app require');
|
logger.trace({ dependency: depName }, 'Pinning app require');
|
||||||
|
|
Loading…
Reference in a new issue