Skip to content

Conversation

@sbuerk
Copy link
Collaborator

@sbuerk sbuerk commented Jan 16, 2026

TYPO3 MonoRepository typo3/sysext/* system extension used the
typo3/cms- prefix for the composer name and has been used to
make package loading compatible for the monorepository development.

To allow now the new theme_camino package not following this
rule and using typo3/theme-camino as composer package name,
we need to adjust respecting typo3/theme- as composer package
name prefix.

TYPO3 MonoRepository `typo3/sysext/*` system extension used the
`typo3/cms-` prefix for the composer name and has been used to
make package loading compatible for the monorepository development.

To allow now the new `theme_camino` package not following this
rule and using `typo3/theme-camino` as composer package name,
we need to adjust respecting `typo3/theme-` as composer package
name prefix.
// adding `typo3/sysext/*` packages in `ComposerPackageManager->processMonoRepository()`.
// Dropping is only made for extension package names starting with `typo3/cms-` or
// `typo3/theme-`.
$keys = array_filter($keys, static fn($value) => !(str_starts_with($value, 'typo3/cms-') || str_starts_with($value, 'typo3/theme-')));
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
$keys = array_filter($keys, static fn($value) => !(str_starts_with($value, 'typo3/cms-') || str_starts_with($value, 'typo3/theme-')));
$keys = array_filter($keys, static fn(string $value): bool => !(str_starts_with($value, 'typo3/cms-') || str_starts_with($value, 'typo3/theme-')));

@sbuerk sbuerk merged commit 6c0f81e into main Jan 16, 2026
8 checks passed
@sbuerk sbuerk deleted the monorepository-theme-extension-support branch January 16, 2026 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants