Verified Commit 8cf42aee authored by Daniel Siepmann's avatar Daniel Siepmann
Browse files

Add composer.json

Add composer.json, following best practices for TYPO3 Projects.

Relates: #5
parent f295b131
Pipeline #8919 passed with stages
in 1 minute and 31 seconds
/config/
/private/
/public/
/var/
/vendor/
stages:
- lint
- setup
lint:composer:
image: composer:latest
stage: lint
dependencies: []
script:
- composer validate
setup:composer:
image: composer:latest
stage: setup
dependencies: []
variables:
COMPOSER_CACHE_DIR: .composer/cache
script:
- mkdir -p .composer/cache
- composer install --no-progress --no-ansi --no-interaction -o
cache:
key: composer-cache
paths:
- .composer/cache
artifacts:
expire_in: 1 hour
paths:
- vendor
- public
- private
{
"name": "typo3/example-project",
"description": "TYPO3 Example project, demonstrating best practices.",
"type": "project",
"license": "GPL-2.0-or-later",
"config": {
"php": "7.4",
"sort-packages": true
},
"require": {
"helhum/typo3-console": "^6.3",
"helhum/typo3-secure-web": "^0.2.10",
"typo3/cms-backend": "^10.4",
"typo3/cms-core": "^10.4",
"typo3/cms-extbase": "^10.4",
"typo3/cms-extensionmanager": "^10.4",
"typo3/cms-filelist": "^10.4",
"typo3/cms-fluid": "^10.4",
"typo3/cms-frontend": "^10.4",
"typo3/cms-install": "^10.4",
"typo3/cms-recordlist": "^10.4",
"typo3/cms-setup": "^10.4"
},
"extra": {
"typo3/cms": {
"root-dir": "private",
"web-dir": "public"
}
}
}
This diff is collapsed.
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