Skip to content
Snippets Groups Projects
Commit ca6a2dc0 authored by Christian Kuhn's avatar Christian Kuhn Committed by Georg Ringer
Browse files

[TASK] Avoid root-only fields in extensions composer.json

composer.json fields marked as root-only in
https://getcomposer.org/doc/04-schema.md are only
used if the composer.json is used as project root.

Core extensions and split repositories are never used
as project root directly and also won't work as such.
Testing is always performed on the monorepo.

All root-only fields are thus obsolete in extensions
composer.json, namely: require-dev, autoload-dev,
minimum-stability, prefer-stable, repositories,
config, scripts.

sortpackages: true in config field is kept since
this is useful when updating packages using
componer req something -d typo3/sysext/core_ext

Resolves: #94747
Releases: master
Change-Id: I9712703c35ef3d00c098bc58218032d1e19306d4
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70288


Tested-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
parent 173dd9a9
Showing
with 0 additions and 146 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment