Prepare usage as standalone composer package

This commit is contained in:
Daniel Siepmann 2020-02-25 19:58:46 +01:00
parent 654d52cede
commit 73ec4641ff
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4
3 changed files with 31 additions and 4 deletions

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
/.Build/
/composer.lock

View file

@ -15,12 +15,35 @@
}
},
"require": {
"doctrine/dbal": "^2.10",
"php": "^7.3.0",
"psr/http-message": "^1.0",
"psr/http-server-handler": "^1.0",
"psr/http-server-middleware": "^1.0",
"symfony/expression-language": "^5.0",
"typo3/cms-core": "^10.3.0"
},
"suggest": {
"typo3/cms-dashboard": "To make use of provided TYPO3 widgets"
},
"config": {
"vendor-dir": ".Build/vendor",
"bin-dir": ".Build/bin"
},
"extra": {
"typo3/cms": {
"extension-key": "tracking"
"cms-package-dir": "{$vendor-dir}/typo3/cms",
"extension-key": "tracking",
"web-dir": ".Build/web"
},
"branch-alias": {
"dev-develop": "1.0.x-dev"
}
},
"scripts": {
"post-autoload-dump": [
"mkdir -p .Build/web/typo3conf/ext/",
"[ -L .Build/web/typo3conf/ext/tracking ] || ln -snvf ../../../../. .Build/web/typo3conf/ext/tracking"
]
}
}

View file

@ -3,19 +3,21 @@ $EM_CONF[$_EXTKEY] = [
'title' => 'Tracking',
'description' => 'Tracks page visits in TYPO3.',
'category' => 'fe',
'state' => 'stable',
'state' => 'alpha',
'uploadfolder' => 0,
'createDirs' => '',
'clearCacheOnLoad' => 0,
'author' => 'Daniel Siepmann',
'author_email' => 'coding@daniel-siepmann.de',
'author_company' => '',
'version' => '1.0.0',
'version' => '0.1.0',
'constraints' => [
'depends' => [
'core' => '',
],
'conflicts' => [],
'suggests' => [],
'suggests' => [
'dashboard' => '',
],
],
];