From 022d325795583943f9dfa9f35758770af6f1987d Mon Sep 17 00:00:00 2001 From: Julian Schelker Date: Fri, 24 May 2024 14:14:17 +0200 Subject: [PATCH 1/2] add support for craft5, add archive configuration --- composer.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 312b9b3..0495375 100644 --- a/composer.json +++ b/composer.json @@ -24,13 +24,16 @@ "issues": "https://github.com/codemonauts/craft-readonly-field/issues" }, "require": { - "craftcms/cms": "^4.0.0" + "craftcms/cms": "^4.0.0 || ^5.0.0" }, "autoload": { "psr-4": { "codemonauts\\readonly\\": "src/" } }, + "archive": { + "exclude": ["vendor", "*.tar"] + }, "extra": { "handle": "readonly", "class": "codemonauts\\readonly\\ReadonlyPlugin", From 71bdb5690f9675f0001df03f21f2446bc9dc5fd0 Mon Sep 17 00:00:00 2001 From: Julian Schelker Date: Fri, 24 May 2024 15:27:03 +0200 Subject: [PATCH 2/2] increase version to 2.1.0 --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 0495375..5e60bc1 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "codemonauts/craft-readonly-field", "description": "Craft CMS plugin to add a simple, read-only plaintext field.", - "version": "2.0.1", + "version": "2.1.0", "type": "craft-plugin", "keywords": [ "craft", @@ -24,7 +24,7 @@ "issues": "https://github.com/codemonauts/craft-readonly-field/issues" }, "require": { - "craftcms/cms": "^4.0.0 || ^5.0.0" + "craftcms/cms": "^4.0.0|^5.0.0" }, "autoload": { "psr-4": {