mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-10 04:36:12 +01:00

[CLEANUP] Clean up composer.json and ext_emconf.php

This commit is contained in:
Oliver Klee 2017-12-23 00:53:15 +01:00
parent 4b7ffe0546
commit 309eb425a2
2 changed files with 74 additions and 84 deletions

View file

@ -1,10 +1,17 @@
{ {
"name": "oliverklee/tea", "name": "oliverklee/tea",
"description": "TYPO3 example extension for unit testing and best practices.",
"type": "typo3-cms-extension", "type": "typo3-cms-extension",
"version": "1.0.0", "keywords": [
"description": "This extension serves as an example on how to unit-test different data types and relation types in TYPO3 extensions.", "TYPO3",
"keywords": ["TYPO3", "extension", "tdd", "phpunit", "unit testing"], "extension",
"homepage": "https://www.oliverklee.de", "TDD",
"PHPUnit",
"unit testing",
"best practices"
],
"homepage": "https://github.com/oliverklee/tea",
"license": "GPL-3.0",
"authors": [ "authors": [
{ {
"name": "Oliver Klee", "name": "Oliver Klee",
@ -12,20 +19,10 @@
"homepage": "https://www.oliverklee.de" "homepage": "https://www.oliverklee.de"
} }
], ],
"license": ["GPL-2.0+"], "support": "https://github.com/oliverklee/tea",
"replace": {
"tea": "self.version",
"typo3-ter/tea": "self.version"
},
"repositories": [
{
"type": "composer",
"url": "https://composer.typo3.org/"
}
],
"require": { "require": {
"php": "~7.0.0 || ~7.1.0", "php": "~7.0.0 || ~7.1.0",
"typo3/cms-core": "^7.6.0", "typo3/cms-core": "^7.6 || ^8.7",
"roave/security-advisories": "dev-master" "roave/security-advisories": "dev-master"
}, },
"require-dev": { "require-dev": {
@ -34,6 +31,26 @@
"phpunit/phpunit": "^5.7.0", "phpunit/phpunit": "^5.7.0",
"mikey179/vfsStream": "^1.6.0" "mikey179/vfsStream": "^1.6.0"
}, },
"replace": {
"tea": "self.version",
"typo3-ter/tea": "self.version"
},
"autoload": {
"psr-4": {
"OliverKlee\\Tea\\": "Classes/"
}
},
"autoload-dev": {
"psr-4": {
"OliverKlee\\Tea\\Tests\\": "Tests/"
}
},
"repositories": [
{
"type": "composer",
"url": "https://composer.typo3.org/"
}
],
"config": { "config": {
"vendor-dir": ".Build/vendor", "vendor-dir": ".Build/vendor",
"bin-dir": ".Build/bin" "bin-dir": ".Build/bin"
@ -44,13 +61,10 @@
"[ -L .Build/Web/typo3conf/ext/tea ]|| ln -snvf ../../../../. .Build/Web/typo3conf/ext/tea" "[ -L .Build/Web/typo3conf/ext/tea ]|| ln -snvf ../../../../. .Build/Web/typo3conf/ext/tea"
] ]
}, },
"autoload": {
"psr-4": {
"OliverKlee\\Tea\\": "Classes/",
"OliverKlee\\Tea\\Tests\\": "Tests/"
}
},
"extra": { "extra": {
"branch-alias": {
"dev-master": "2.x-dev"
},
"typo3/cms": { "typo3/cms": {
"cms-package-dir": "{$vendor-dir}/typo3/cms", "cms-package-dir": "{$vendor-dir}/typo3/cms",
"web-dir": ".Build/Web" "web-dir": ".Build/Web"

View file

@ -1,41 +1,17 @@
<?php <?php
/***************************************************************
* Extension Manager/Repository config file for ext: "tea"
*
* Auto generated by Extension Builder 2013-11-01
*
* Manual updates:
* Only the data in the array - anything else is removed by next write.
* "version" and "dependencies" must not be touched!
***************************************************************/
$EM_CONF[$_EXTKEY] = [ $EM_CONF[$_EXTKEY] = [
'title' => 'Tea example', 'title' => 'Tea example',
'description' => 'This extension serves as an example on how to unit-test different data types and relation types in TYPO3 extensions.', 'description' => 'TYPO3 example extension for unit testing and best practices.',
'category' => 'plugin', 'category' => 'example',
'author' => 'Oliver Klee', 'author' => 'Oliver Klee',
'author_email' => 'typo3-coding@oliverklee.de', 'author_email' => 'typo3-coding@oliverklee.de',
'author_company' => 'oliverklee.de', 'author_company' => 'oliverklee.de',
'shy' => '', 'state' => 'stable',
'priority' => '', 'version' => '2.0.x-dev',
'module' => '',
'state' => 'experimental',
'internal' => '',
'uploadfolder' => '0',
'createDirs' => '',
'modify_tables' => '',
'clearCacheOnLoad' => 0,
'lockType' => '',
'version' => '1.0.0',
'constraints' => [ 'constraints' => [
'depends' => [ 'depends' => [
'typo3' => '7.6.0-8.7.99', 'typo3' => '7.6.0-8.7.99',
'phpunit' => '4.0.0-5.9.99', 'phpunit' => '4.0.0-5.9.99',
], ],
'conflicts' => [
],
'suggests' => [
],
], ],
]; ];