From 63438ea835cff9fd6214d167a50a11e5d827b58f Mon Sep 17 00:00:00 2001 From: Luke Fromhold Date: Wed, 24 May 2023 15:17:03 +1000 Subject: [PATCH] Update composer for SS5 compatibility --- README.md | 2 +- composer.json | 12 +++++------- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index db055e7..de01f61 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ A SilverStripe menu management built using the Superlinker foundation ## Requirements -* [silverstripe-framework](https://github.com/silverstripe/silverstripe-framework) ^4 +* [silverstripe-framework](https://github.com/silverstripe/silverstripe-framework) ^4 or ^5 ## Installation diff --git a/composer.json b/composer.json index 96f70a6..eb0c250 100644 --- a/composer.json +++ b/composer.json @@ -13,16 +13,14 @@ "homepage": "https://fromhold.io" }], "require": { - "php": ">=7.0", - "silverstripe/vendor-plugin": "^1.0", - "silverstripe/cms": "^4.0", - "fromholdio/silverstripe-dependentgroupeddropdownfield": "^1.0.0", + "silverstripe/cms": "~4.0 || ~5.0", + "fromholdio/silverstripe-dependentgroupeddropdownfield": "^1.0.0 || ^2.0.0", "fromholdio/silverstripe-externalurlfield": "^1.0.3", - "fromholdio/silverstripe-globalanchors": "^1.0.1", + "fromholdio/silverstripe-globalanchors": "^1.0.1 || ^2.0.0", "fromholdio/silverstripe-sortable": "^3.0.0", "fromholdio/silverstripe-superlinker": "^2.1.0", - "symbiote/silverstripe-gridfieldextensions": "~3.2", - "unclecheese/display-logic": "~2.0" + "symbiote/silverstripe-gridfieldextensions": "^3.2.0 || ^4.0.0", + "unclecheese/display-logic": "^2.0.0 || ^3.0.0" }, "autoload": { "psr-4": {