From be2c89536a2fd390552f8f91a3adcea7c62b8aed Mon Sep 17 00:00:00 2001 From: ergebnis-bot Date: Wed, 30 Mar 2022 09:10:31 +0000 Subject: [PATCH 1/2] Enhancement: Update schema.json --- resource/schema.json | 96 +++++++++++++++++++++++++------------------- 1 file changed, 54 insertions(+), 42 deletions(-) diff --git a/resource/schema.json b/resource/schema.json index eb7a07f2..b5dd533a 100644 --- a/resource/schema.json +++ b/resource/schema.json @@ -142,6 +142,12 @@ } } }, + "source": { + "$ref": "#/definitions/source" + }, + "dist": { + "$ref": "#/definitions/dist" + }, "_comment": { "type": [ "array", @@ -1264,53 +1270,59 @@ } }, "source": { - "type": "object", - "required": [ - "type", - "url", - "reference" - ], - "properties": { - "type": { - "type": "string" - }, - "url": { - "type": "string" - }, - "reference": { - "type": "string" - }, - "mirrors": { - "type": "array" - } - } + "$ref": "#/definitions/source" }, "dist": { - "type": "object", - "required": [ - "type", - "url" - ], - "properties": { - "type": { - "type": "string" - }, - "url": { - "type": "string" - }, - "reference": { - "type": "string" - }, - "shasum": { - "type": "string" - }, - "mirrors": { - "type": "array" - } - } + "$ref": "#/definitions/dist" } }, "additionalProperties": true + }, + "source": { + "type": "object", + "required": [ + "type", + "url", + "reference" + ], + "properties": { + "type": { + "type": "string" + }, + "url": { + "type": "string" + }, + "reference": { + "type": "string" + }, + "mirrors": { + "type": "array" + } + } + }, + "dist": { + "type": "object", + "required": [ + "type", + "url" + ], + "properties": { + "type": { + "type": "string" + }, + "url": { + "type": "string" + }, + "reference": { + "type": "string" + }, + "shasum": { + "type": "string" + }, + "mirrors": { + "type": "array" + } + } } }, "additionalProperties": true, From 886d36b431ccc30f7ff5638c625fff13243e49ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Wed, 30 Mar 2022 11:50:46 +0200 Subject: [PATCH 2/2] Fix: Update CHANGELOG.md --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 238426dc..96e6ba7c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), For a full diff see [`2.24.1...main`][2.24.1...main]. +### Changed + +- Updated `schema.json` ([#912]), by [@ergebnis-bot] + ## [`2.24.1`][2.24.1] For a full diff see [`2.24.0...2.24.1`][2.24.0...2.24.1]. @@ -869,6 +873,7 @@ For a full diff see [`81bc3a8...0.1.0`][81bc3a8...0.1.0]. [#899]: https://github.com/ergebnis/composer-normalize/pull/899 [#904]: https://github.com/ergebnis/composer-normalize/pull/904 [#905]: https://github.com/ergebnis/composer-normalize/pull/905 +[#912]: https://github.com/ergebnis/composer-normalize/pull/912 [@core23]: https://github.com/core23 [@dependabot]: https://github.com/dependabot