chore: add container, encore, redirects and upgrade tooling

Adds b13/container and ssch/typo3-encore as the base for the theme,
typo3/cms-redirects for the existing sys_redirect records and
typo3/cms-lowlevel. Rector and Fractor are configured for the
TYPO3 10 to 13 migration of the packages.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
frommeandClaude Opus 5.5 committed 2026-10-21 14:01:13 +02:00
1 parent ae1ae3cb38
commit 59afaecea1
4 files changed
+2132 -4

No files matched your search

+11 -2
View File
@@ -6,7 +6,8 @@
"config": { "config": {
"allow-plugins": { "allow-plugins": {
"typo3/class-alias-loader": true, "typo3/class-alias-loader": true,
"typo3/cms-composer-installers": true "typo3/cms-composer-installers": true,
"a9f/fractor-extension-installer": true
}, },
"platform": { "platform": {
"php": "8.2.0" "php": "8.2.0"
@@ -14,6 +15,8 @@
"sort-packages": true "sort-packages": true
}, },
"require": { "require": {
"b13/container": "^4.1",
"ssch/typo3-encore": "^7.0",
"typo3/cms-backend": "^13.4", "typo3/cms-backend": "^13.4",
"typo3/cms-belog": "^13.4", "typo3/cms-belog": "^13.4",
"typo3/cms-beuser": "^13.4", "typo3/cms-beuser": "^13.4",
@@ -30,8 +33,10 @@
"typo3/cms-impexp": "^13.4", "typo3/cms-impexp": "^13.4",
"typo3/cms-info": "^13.4", "typo3/cms-info": "^13.4",
"typo3/cms-install": "^13.4", "typo3/cms-install": "^13.4",
"typo3/cms-lowlevel": "^13.4",
"typo3/cms-reactions": "^13.4", "typo3/cms-reactions": "^13.4",
"typo3/cms-recycler": "^13.4", "typo3/cms-recycler": "^13.4",
"typo3/cms-redirects": "^13.4",
"typo3/cms-rte-ckeditor": "^13.4", "typo3/cms-rte-ckeditor": "^13.4",
"typo3/cms-seo": "^13.4", "typo3/cms-seo": "^13.4",
"typo3/cms-setup": "^13.4", "typo3/cms-setup": "^13.4",
@@ -45,5 +50,9 @@
"type": "path", "type": "path",
"url": "./packages/*" "url": "./packages/*"
} }
] ],
"require-dev": {
"a9f/typo3-fractor": "^1.1",
"ssch/typo3-rector": "^3.16"
}
} }
Generated
+2066 -2
View File
File diff suppressed because it is too large. Load diff
+17
View File
@@ -0,0 +1,17 @@
<?php
declare(strict_types=1);
use a9f\Fractor\Configuration\FractorConfiguration;
use a9f\Typo3Fractor\Set\Typo3LevelSetList;
return FractorConfiguration::configure()
->withPaths([
__DIR__ . '/packages',
])
->withSkip([
__DIR__ . '/packages/*/Resources/Private/Assets/*',
])
->withSets([
Typo3LevelSetList::UP_TO_TYPO3_13,
]);
+38
View File
@@ -0,0 +1,38 @@
<?php
declare(strict_types=1);
use Rector\Config\RectorConfig;
use Rector\ValueObject\PhpVersion;
use Ssch\TYPO3Rector\CodeQuality\General\ConvertImplicitVariablesToExplicitGlobalsRector;
use Ssch\TYPO3Rector\CodeQuality\General\ExtEmConfRector;
use Ssch\TYPO3Rector\CodeQuality\General\RemoveTypo3VersionChecksRector;
use Ssch\TYPO3Rector\Configuration\Typo3Option;
use Ssch\TYPO3Rector\Set\Typo3LevelSetList;
use Ssch\TYPO3Rector\Set\Typo3SetList;
return RectorConfig::configure()
->withPaths([
__DIR__ . '/packages',
])
->withSkip([
__DIR__ . '/packages/*/Resources/Private/Assets/*',
])
->withPhpVersion(PhpVersion::PHP_82)
->withSets([
Typo3SetList::GENERAL,
Typo3LevelSetList::UP_TO_TYPO3_13,
])
->withPHPStanConfigs([Typo3Option::PHPSTAN_FOR_RECTOR_PATH])
->withImportNames(true, true, false, true)
->withRules([
ConvertImplicitVariablesToExplicitGlobalsRector::class,
])
->withConfiguredRule(ExtEmConfRector::class, [
ExtEmConfRector::PHP_VERSION_CONSTRAINT => '8.2.0-8.5.99',
ExtEmConfRector::TYPO3_VERSION_CONSTRAINT => '13.4.0-13.4.99',
ExtEmConfRector::ADDITIONAL_VALUES_TO_BE_REMOVED => [],
])
->withConfiguredRule(RemoveTypo3VersionChecksRector::class, [
RemoveTypo3VersionChecksRector::TARGET_VERSION => 13,
]);