Last active
January 28, 2022 09:49
-
-
Save helhum/0ffd82525c90f305b81a8285329eb4f8 to your computer and use it in GitHub Desktop.
TYPO3 Extension composer.json essentials
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "vendor/ext-key", | |
"description": "Essential composer.json attributes", | |
"keywords": ["typo3", "extension", "composer.json"], | |
"homepage": "http://helhum.io", | |
"authors": [ | |
{ | |
"name": "Helmut Hummel", | |
"email": "info@helhum.io" | |
} | |
], | |
"license": "GPL-2.0-or-later", | |
"type": "typo3-cms-extension", | |
"require": { | |
"typo3/cms-core": "^9.5 || ^10.3", | |
"typo3/cms-frontend": "^9.5 || ^10.3", | |
"typo3/cms-scheduler": "^9.5 || ^10.3" | |
}, | |
"replace": { | |
"typo3-ter/ext-key": "self.version" | |
}, | |
"autoload": { | |
"psr-4": { | |
"Helhum\\ExtKey\\": "Classes/" | |
} | |
}, | |
"extra": { | |
"typo3/cms": { | |
"extension-key": "ext_key" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I encountered problems on packagist related to the
replace
-section. The part"ext_key": "self.version",
was reported to not to be compatible with upcoming versions from composer. Looking at the composer configuration from sys_note it looks like the part could be left out when adding anextra
-section: