Skip to content

Commit

Permalink
[FEATURE] Add support for TYPO3 v13.4 LTS
Browse files Browse the repository at this point in the history
  • Loading branch information
eliashaeussler committed Oct 28, 2024
1 parent 3ce64a5 commit ba4245b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ ready-to-use DDEV configuration and basic configuration for deployment with Depl

* Composer-based [TYPO3 CMS](https://typo3.org) project template
* Ready-to-use [DDEV](https://ddev.readthedocs.io) configuration
* Compatible with TYPO3 11.5 LTS and 12.4 LTS
* Compatible with TYPO3 11.5 LTS, 12.4 LTS and 13.4 LTS
* Support of current stable PHP versions, starting from PHP 8.1

### Optional features
Expand Down
13 changes: 9 additions & 4 deletions config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ properties:
name: TYPO3 version
type: select
options:
- value: 13.4
- value: 12.4
- value: 11.5
validators:
Expand All @@ -66,24 +67,26 @@ properties:
name: TYPO3 testing framework version
type: dynamicSelect
options:
- value: '^8.0' # renovate: datasource=packagist depName=typo3/testing-framework
- value: '^9.0' # renovate: datasource=packagist depName=typo3/testing-framework
if: 'packages["typo3_cms"] == "13.4"'
- value: '^8.0'
if: 'packages["typo3_cms"] == "12.4"'
- value: '^7.0'
if: 'packages["typo3_cms"] == "11.5"'
- identifier: typo3_console
name: TYPO3 console version
type: dynamicSelect
options:
- value: '^8.0' # renovate: datasource=packagist depName=helhum/typo3-console
if: 'packages["typo3_cms"] == "12.4"'
- value: '^8.2.1' # renovate: datasource=packagist depName=helhum/typo3-console
if: 'packages["typo3_cms"] != "11.5"'
- value: '^7.0.3'
if: 'packages["typo3_cms"] == "11.5"'
- identifier: typo3_console_binary
name: TYPO3 console binary
type: dynamicSelect
options:
- value: 'typo3'
if: 'packages["typo3_cms"] == "12.4"'
if: 'packages["typo3_cms"] != "11.5"'
- value: 'typo3cms'
if: 'packages["typo3_cms"] == "11.5"'
- identifier: php
Expand All @@ -93,6 +96,7 @@ properties:
- value: '8.3'
- value: '8.2'
- value: '8.1'
if: 'packages["typo3_cms"] != "13.4"'
validators:
- type: notEmpty
- identifier: editorconfig_cli
Expand All @@ -116,6 +120,7 @@ properties:
if: 'packages["typo3_cms"] == "12.4"'
- value: 'typo3/cms-sys-note'
- value: 'typo3/cms-t3editor'
if: 'packages["typo3_cms"] != "13.4"'
- value: 'typo3/cms-webhooks'
if: 'packages["typo3_cms"] == "12.4"'
- value: 'typo3/cms-workspaces'
Expand Down
2 changes: 1 addition & 1 deletion templates/next-steps.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Run <comment>ddev config --auto</comment> to create the final DDEV configuration

You can now launch your installed project with <comment>ddev launch</comment>.
Follow all installation instructions to finalize the TYPO3 installation.
{% if packages.typo3_cms == "12.4" %}
{% if packages.typo3_cms != "11.5" %}
You can also run <comment>ddev typo3 setup</comment> to complete the installation process.
{% endif %}

Expand Down
2 changes: 1 addition & 1 deletion templates/src/composer.json.twig
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"typo3/cms-install": "^{{ packages.typo3_cms }}",
"typo3/cms-lowlevel": "^{{ packages.typo3_cms }}",
"typo3/cms-opendocs": "^{{ packages.typo3_cms }}",
{% if packages.typo3_cms != "12.4" %}
{% if packages.typo3_cms == "11.5" %}
"typo3/cms-recordlist": "^{{ packages.typo3_cms }}",
{% endif %}
"typo3/cms-recycler": "^{{ packages.typo3_cms }}",
Expand Down

0 comments on commit ba4245b

Please sign in to comment.