Prevent composer.lock file

As this is a package/library, not a project.
We do not want any specific state.

We therefore also should use `composer update` instead of `composer
install`.
This commit is contained in:
Daniel Siepmann (Codappix) 2025-02-10 08:49:59 +01:00
parent ca9d22298e
commit 46b7f43d75
2 changed files with 2 additions and 1 deletions

View file

@ -53,6 +53,7 @@
},
"config": {
"sort-packages": true,
"lock": false,
"allow-plugins": {
"typo3/cms-composer-installers": true,
"typo3/class-alias-loader": true,

View file

@ -10,7 +10,7 @@ let
composer
];
text = ''
composer install --prefer-dist --no-progress --working-dir="$PROJECT_ROOT"
composer update --prefer-dist --no-progress --working-dir="$PROJECT_ROOT"
'';
};
projectValidateComposer = pkgs.writeShellApplication {