Commit fca5e806 authored by Fabien Udriot's avatar Fabien Udriot
Browse files

[TASK] Complete composer.json for extension

Change-Id: I4d1300d8630d9263f7f4b9b91997192fc3ae2eda
parent 4333a55a
......@@ -36,7 +36,7 @@ on your system:
As a second step, we are going to add additional packages. The commands must be run from inside the ``CmsBaseDistribution`` directory.
# Add a CMS extension into typo3conf/ext,
# Add a CMS extension into typo3conf/ext.
composer require typo3-ter/news
-> if asked for a version constraint, answer with *.
......@@ -54,16 +54,16 @@ In the example below, this will always get you the most current 6.2.x core of TY
{
"repositories": [
{
"type": "composer",
"url": "http://composer.typo3.org/"
}
],
"require": {
"typo3/cms": "~6.2",
"typo3-ter/news": "*"
}
"repositories": [
{
"type": "composer",
"url": "http://composer.typo3.org/"
}
],
"require": {
"typo3/cms": "~6.2",
"typo3-ter/news": "*"
}
}
......@@ -75,12 +75,17 @@ dependencies. The file must be placed at the root of your extension and must loo
{
"name": "vendor-name/my-ext",
"type": "cms-extension",
"description": "My description comes here",
"homepage": "http://example.com",
"license": ["GPL-2.0+"]
}
"name": "vendor-name/my-ext",
"type": "cms-extension",
"description": "My description comes here",
"homepage": "http://example.com",
"license": ["GPL-2.0+"],
"keywords": ["TYPO3 CMS", "foo bar"],
"support": {
"issues": "https://forge.typo3.org/projects/extension-foo"
},
"version": "x.y.z"
}
The ``vendor-name`` must be one of yours. It must not be "typo3" which is reserved for Core extensions.
......
Markdown is supported
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