mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-10 00:16:13 +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,59 +1,73 @@
{ {
"name": "oliverklee/tea", "name": "oliverklee/tea",
"type": "typo3-cms-extension", "description": "TYPO3 example extension for unit testing and best practices.",
"version": "1.0.0", "type": "typo3-cms-extension",
"description": "This extension serves as an example on how to unit-test different data types and relation types in TYPO3 extensions.", "keywords": [
"keywords": ["TYPO3", "extension", "tdd", "phpunit", "unit testing"], "TYPO3",
"homepage": "https://www.oliverklee.de", "extension",
"authors": [ "TDD",
{ "PHPUnit",
"name": "Oliver Klee", "unit testing",
"role": "Developer", "best practices"
"homepage": "https://www.oliverklee.de" ],
"homepage": "https://github.com/oliverklee/tea",
"license": "GPL-3.0",
"authors": [
{
"name": "Oliver Klee",
"role": "Developer",
"homepage": "https://www.oliverklee.de"
}
],
"support": "https://github.com/oliverklee/tea",
"require": {
"php": "~7.0.0 || ~7.1.0",
"typo3/cms-core": "^7.6 || ^8.7",
"roave/security-advisories": "dev-master"
},
"require-dev": {
"namelesscoder/typo3-repository-client": "^1.2.0",
"nimut/testing-framework": "^2.0.0",
"phpunit/phpunit": "^5.7.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": {
"vendor-dir": ".Build/vendor",
"bin-dir": ".Build/bin"
},
"scripts": {
"post-autoload-dump": [
"mkdir -p .Build/Web/typo3conf/ext/",
"[ -L .Build/Web/typo3conf/ext/tea ]|| ln -snvf ../../../../. .Build/Web/typo3conf/ext/tea"
]
},
"extra": {
"branch-alias": {
"dev-master": "2.x-dev"
},
"typo3/cms": {
"cms-package-dir": "{$vendor-dir}/typo3/cms",
"web-dir": ".Build/Web"
}
} }
],
"license": ["GPL-2.0+"],
"replace": {
"tea": "self.version",
"typo3-ter/tea": "self.version"
},
"repositories": [
{
"type": "composer",
"url": "https://composer.typo3.org/"
}
],
"require": {
"php": "~7.0.0 || ~7.1.0",
"typo3/cms-core": "^7.6.0",
"roave/security-advisories": "dev-master"
},
"require-dev": {
"namelesscoder/typo3-repository-client": "^1.2.0",
"nimut/testing-framework": "^2.0.0",
"phpunit/phpunit": "^5.7.0",
"mikey179/vfsStream": "^1.6.0"
},
"config": {
"vendor-dir": ".Build/vendor",
"bin-dir": ".Build/bin"
},
"scripts": {
"post-autoload-dump": [
"mkdir -p .Build/Web/typo3conf/ext/",
"[ -L .Build/Web/typo3conf/ext/tea ]|| ln -snvf ../../../../. .Build/Web/typo3conf/ext/tea"
]
},
"autoload": {
"psr-4": {
"OliverKlee\\Tea\\": "Classes/",
"OliverKlee\\Tea\\Tests\\": "Tests/"
}
},
"extra": {
"typo3/cms": {
"cms-package-dir": "{$vendor-dir}/typo3/cms",
"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' => [
],
], ],
]; ];