From f93dc8cd47b4c51b1fd7262d21fab6c1ad36e688 Mon Sep 17 00:00:00 2001 From: Jan Vodila Date: Thu, 11 Dec 2025 15:03:35 +0100 Subject: [PATCH 1/4] fix(typo3): update assets directory to _assets --- recipe/typo3.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipe/typo3.php b/recipe/typo3.php index 84299a55a..d4fa1a002 100644 --- a/recipe/typo3.php +++ b/recipe/typo3.php @@ -76,7 +76,7 @@ */ set('shared_dirs', [ '{{typo3/public_dir}}/fileadmin', - '{{typo3/public_dir}}/assets', + '{{typo3/public_dir}}/_assets', '{{typo3/public_dir}}/typo3temp/assets', 'var/lock', 'var/log', @@ -99,7 +99,7 @@ */ set('writable_dirs', [ '{{typo3/public_dir}}/fileadmin', - '{{typo3/public_dir}}/assets', + '{{typo3/public_dir}}/_assets', '{{typo3/public_dir}}/typo3temp/assets', 'var/cache', 'var/lock', @@ -140,7 +140,7 @@ 'package-lock.json', 'node_modules/', 'var/', - '/{{typo3/public_dir}}/assets', + '/{{typo3/public_dir}}/_assets', '/{{typo3/public_dir}}/fileadmin', '/{{typo3/public_dir}}/typo3temp', ]; From b6e40689edf1ee73f7a16ccdaee8a79194c06146 Mon Sep 17 00:00:00 2001 From: Jan Vodila Date: Thu, 11 Dec 2025 15:06:30 +0100 Subject: [PATCH 2/4] update(typo3): update doc --- docs/recipe/typo3.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/recipe/typo3.md b/docs/recipe/typo3.md index 9b16a9575..c77cadc8f 100644 --- a/docs/recipe/typo3.md +++ b/docs/recipe/typo3.md @@ -129,7 +129,7 @@ Shared via symlinks from the shared/ directory. ```php title="Default value" [ '{{typo3/public_dir}}/fileadmin', - '{{typo3/public_dir}}/assets', + '{{typo3/public_dir}}/_assets', '{{typo3/public_dir}}/typo3temp/assets', 'var/lock', 'var/log', @@ -149,7 +149,7 @@ Writeable directories ```php title="Default value" [ '{{typo3/public_dir}}/fileadmin', - '{{typo3/public_dir}}/assets', + '{{typo3/public_dir}}/_assets', '{{typo3/public_dir}}/typo3temp/assets', 'var/cache', 'var/lock', From 054009cea1c02e9df48f367e79e0b8bd9562184b Mon Sep 17 00:00:00 2001 From: Jan Vodila Date: Thu, 11 Dec 2025 15:37:03 +0100 Subject: [PATCH 3/4] fix(typo3): remove _assets from shared and writable directories The _assets directory is generated by Composer and contains symlinks to Composer packages. It should not be shared between releases or marked as writable, as it can be regenerated via composer dumpautoload. --- recipe/typo3.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/recipe/typo3.php b/recipe/typo3.php index d4fa1a002..c4f81f35f 100644 --- a/recipe/typo3.php +++ b/recipe/typo3.php @@ -76,7 +76,6 @@ */ set('shared_dirs', [ '{{typo3/public_dir}}/fileadmin', - '{{typo3/public_dir}}/_assets', '{{typo3/public_dir}}/typo3temp/assets', 'var/lock', 'var/log', @@ -99,7 +98,6 @@ */ set('writable_dirs', [ '{{typo3/public_dir}}/fileadmin', - '{{typo3/public_dir}}/_assets', '{{typo3/public_dir}}/typo3temp/assets', 'var/cache', 'var/lock', @@ -140,7 +138,6 @@ 'package-lock.json', 'node_modules/', 'var/', - '/{{typo3/public_dir}}/_assets', '/{{typo3/public_dir}}/fileadmin', '/{{typo3/public_dir}}/typo3temp', ]; From 8443a60d430877eb03a4ebab0e6c744f4eb54988 Mon Sep 17 00:00:00 2001 From: Jan Vodila Date: Fri, 12 Dec 2025 18:15:54 +0100 Subject: [PATCH 4/4] update(typo3): update doc --- docs/recipe/typo3.md | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/docs/recipe/typo3.md b/docs/recipe/typo3.md index c77cadc8f..f727d3891 100644 --- a/docs/recipe/typo3.md +++ b/docs/recipe/typo3.md @@ -129,7 +129,6 @@ Shared via symlinks from the shared/ directory. ```php title="Default value" [ '{{typo3/public_dir}}/fileadmin', - '{{typo3/public_dir}}/_assets', '{{typo3/public_dir}}/typo3temp/assets', 'var/lock', 'var/log', @@ -140,7 +139,7 @@ Shared via symlinks from the shared/ directory. ### writable_dirs -[Source](https://github.com/deployphp/deployer/blob/master/recipe/typo3.php#L100) +[Source](https://github.com/deployphp/deployer/blob/master/recipe/typo3.php#L99) Overrides [writable_dirs](/docs/recipe/deploy/writable.md#writable_dirs) from `recipe/deploy/writable.php`. @@ -149,7 +148,6 @@ Writeable directories ```php title="Default value" [ '{{typo3/public_dir}}/fileadmin', - '{{typo3/public_dir}}/_assets', '{{typo3/public_dir}}/typo3temp/assets', 'var/cache', 'var/lock', @@ -159,7 +157,7 @@ Writeable directories ### composer_options -[Source](https://github.com/deployphp/deployer/blob/master/recipe/typo3.php#L112) +[Source](https://github.com/deployphp/deployer/blob/master/recipe/typo3.php#L110) Overrides [composer_options](/docs/recipe/deploy/vendors.md#composer_options) from `recipe/deploy/vendors.php`. @@ -171,7 +169,7 @@ Composer install options for production. ### use_rsync -[Source](https://github.com/deployphp/deployer/blob/master/recipe/typo3.php#L118) +[Source](https://github.com/deployphp/deployer/blob/master/recipe/typo3.php#L116) If set in the config this recipe uses rsync. Default setting: false (uses the Git repository) @@ -182,7 +180,7 @@ false ### update_code_task -[Source](https://github.com/deployphp/deployer/blob/master/recipe/typo3.php#L120) +[Source](https://github.com/deployphp/deployer/blob/master/recipe/typo3.php#L118) @@ -192,7 +190,7 @@ return get('use_rsync') ? 'rsync' : 'deploy:update_code'; ### rsync -[Source](https://github.com/deployphp/deployer/blob/master/recipe/typo3.php#L148) +[Source](https://github.com/deployphp/deployer/blob/master/recipe/typo3.php#L145) @@ -213,7 +211,7 @@ return get('use_rsync') ? 'rsync' : 'deploy:update_code'; ### typo3_updateschema_types -[Source](https://github.com/deployphp/deployer/blob/master/recipe/typo3.php#L165) +[Source](https://github.com/deployphp/deployer/blob/master/recipe/typo3.php#L162) List of schema update types. `safe` includes all necessary operations, to add or change fields or tables. @@ -227,7 +225,7 @@ List of schema update types. ## Tasks ### typo3\:update_code {#typo3-update_code} -[Source](https://github.com/deployphp/deployer/blob/master/recipe/typo3.php#L124) +[Source](https://github.com/deployphp/deployer/blob/master/recipe/typo3.php#L122) @@ -235,7 +233,7 @@ List of schema update types. ### typo3\:cache\:flush {#typo3-cache-flush} -[Source](https://github.com/deployphp/deployer/blob/master/recipe/typo3.php#L174) +[Source](https://github.com/deployphp/deployer/blob/master/recipe/typo3.php#L171) TYPO3 - Clear all caches. @@ -244,7 +242,7 @@ All run via [bin/php](/docs/recipe/common.md#bin/php) [release_path](/docs/recip ### typo3\:cache\:warmup {#typo3-cache-warmup} -[Source](https://github.com/deployphp/deployer/blob/master/recipe/typo3.php#L179) +[Source](https://github.com/deployphp/deployer/blob/master/recipe/typo3.php#L176) TYPO3 - Cache warmup for system caches. @@ -252,7 +250,7 @@ TYPO3 - Cache warmup for system caches. ### typo3\:language\:update {#typo3-language-update} -[Source](https://github.com/deployphp/deployer/blob/master/recipe/typo3.php#L184) +[Source](https://github.com/deployphp/deployer/blob/master/recipe/typo3.php#L181) TYPO3 - Update the language files of all activated extensions. @@ -260,7 +258,7 @@ TYPO3 - Update the language files of all activated extensions. ### typo3\:extension\:setup {#typo3-extension-setup} -[Source](https://github.com/deployphp/deployer/blob/master/recipe/typo3.php#L189) +[Source](https://github.com/deployphp/deployer/blob/master/recipe/typo3.php#L186) TYPO3 - Set up all extensions. @@ -268,7 +266,7 @@ TYPO3 - Set up all extensions. ### typo3\:install\:fixfolderstructure {#typo3-install-fixfolderstructure} -[Source](https://github.com/deployphp/deployer/blob/master/recipe/typo3.php#L194) +[Source](https://github.com/deployphp/deployer/blob/master/recipe/typo3.php#L191) TYPO3 - Fix folder structure. @@ -276,7 +274,7 @@ TYPO3 - Fix folder structure. ### deploy {#deploy} -[Source](https://github.com/deployphp/deployer/blob/master/recipe/typo3.php#L215) +[Source](https://github.com/deployphp/deployer/blob/master/recipe/typo3.php#L212) Deploys a TYPO3 project.