Skip to content

Commit

Permalink
Updated EXT requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
svenpet90 committed Feb 7, 2022
1 parent a14fdab commit 4c9ad7f
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Configuration/TCA/Overrides/sys_template.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

defined('TYPO3') || die();
defined('TYPO3_MODE') || die();

\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile(
'headless_navigations',
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This extension adds a "navigations" key to the default JSON response, provides c
![Navigations array in default response](Documentation/response.png)

## Requirements
Extension requires TYPO3 in version at least 11.5.
Extension requires TYPO3 in version at least 10.4.

## TYPO3 Installation
Install extension using composer\
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"GPL-2.0-or-later"
],
"require": {
"typo3/cms-core": "^11.5"
"typo3/cms-core": "^10.4 || ^11.5"
},
"suggest": {
"friendsoftypo3/headless": "^2.0"
"friendsoftypo3/headless": "^2.0 || ^3.0"
},
"extra": {
"typo3/cms": {
Expand Down
23 changes: 23 additions & 0 deletions ext_emconf.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?php

/** @phpstan-ignore-next-line */
$EM_CONF[$_EXTKEY] = [
'title' => 'Headless Navigations',
'description' => 'This extension enhances the EXT:headless json response with three customizable navigations.',
'category' => 'misc',
'author' => 'Sven Petersen',
'author_email' => 'sven@hardanders.de',
'state' => 'stable',
'clearCacheOnLoad' => 0,
'version' => '1.0.0',
'constraints' => [
'depends' => [
'typo3' => '10.4.0-11.5.99',
],
'conflicts' => [
],
'suggests' => [
'headless' => '2.6.0-3.0.99'
],
],
];

0 comments on commit 4c9ad7f

Please sign in to comment.