From b8d90de95cfe5e5077dff48c4fe536095113f12d Mon Sep 17 00:00:00 2001 From: ergebnis-bot Date: Wed, 8 Dec 2021 09:06:04 +0000 Subject: [PATCH 1/2] Enhancement: Update schema.json --- resource/schema.json | 51 +++++++++++++++++++++++++++++--------------- 1 file changed, 34 insertions(+), 17 deletions(-) diff --git a/resource/schema.json b/resource/schema.json index 776ab8fb..eb7a07f2 100644 --- a/resource/schema.json +++ b/resource/schema.json @@ -151,42 +151,42 @@ }, "require": { "type": "object", - "description": "This is a hash of package name (keys) and version constraints (values) that are required to run this package.", + "description": "This is an object of package name (keys) and version constraints (values) that are required to run this package.", "additionalProperties": { "type": "string" } }, "require-dev": { "type": "object", - "description": "This is a hash of package name (keys) and version constraints (values) that this package requires for developing it (testing tools and such).", + "description": "This is an object of package name (keys) and version constraints (values) that this package requires for developing it (testing tools and such).", "additionalProperties": { "type": "string" } }, "replace": { "type": "object", - "description": "This is a hash of package name (keys) and version constraints (values) that can be replaced by this package.", + "description": "This is an object of package name (keys) and version constraints (values) that can be replaced by this package.", "additionalProperties": { "type": "string" } }, "conflict": { "type": "object", - "description": "This is a hash of package name (keys) and version constraints (values) that conflict with this package.", + "description": "This is an object of package name (keys) and version constraints (values) that conflict with this package.", "additionalProperties": { "type": "string" } }, "provide": { "type": "object", - "description": "This is a hash of package name (keys) and version constraints (values) that this package provides in addition to this package's name.", + "description": "This is an object of package name (keys) and version constraints (values) that this package provides in addition to this package's name.", "additionalProperties": { "type": "string" } }, "suggest": { "type": "object", - "description": "This is a hash of package name (keys) and descriptions (values) that this package suggests work well with it (this will be suggested to the user during installation).", + "description": "This is an object of package name (keys) and descriptions (values) that this package suggests work well with it (this will be suggested to the user during installation).", "additionalProperties": { "type": "string" } @@ -258,7 +258,7 @@ "properties": { "psr-0": { "type": "object", - "description": "This is a hash of namespaces (keys) and the directories they can be found into (values, can be arrays of paths) by the autoloader.", + "description": "This is an object of namespaces (keys) and the directories they can be found into (values, can be arrays of paths) by the autoloader.", "additionalProperties": { "type": [ "string", @@ -271,7 +271,7 @@ }, "psr-4": { "type": "object", - "description": "This is a hash of namespaces (keys) and the PSR-4 directories they can map to (values, can be arrays of paths) by the autoloader.", + "description": "This is an object of namespaces (keys) and the PSR-4 directories they can map to (values, can be arrays of paths) by the autoloader.", "additionalProperties": { "type": [ "string", @@ -337,7 +337,7 @@ "properties": { "platform": { "type": "object", - "description": "This is a hash of package name (keys) and version (values) that will be used to mock the platform packages on this machine.", + "description": "This is an object of package name (keys) and version (values) that will be used to mock the platform packages on this machine.", "additionalProperties": { "type": [ "string", @@ -345,6 +345,18 @@ ] } }, + "allow-plugins": { + "type": [ + "object", + "boolean" + ], + "description": "This is an object of {\"pattern\": true|false} with packages which are allowed to be loaded as plugins, or true to allow all, false to allow none. Defaults to {} which prompts when an unknown plugin is added.", + "additionalProperties": { + "type": [ + "boolean" + ] + } + }, "process-timeout": { "type": "integer", "description": "The timeout in seconds for process executions, defaults to 300 (5mins)." @@ -365,7 +377,12 @@ "string", "object" ], - "description": "The install method Composer will prefer to use, defaults to auto and can be any of source, dist, auto, or a hash of {\"pattern\": \"preference\"}." + "description": "The install method Composer will prefer to use, defaults to auto and can be any of source, dist, auto, or an object of {\"pattern\": \"preference\"}.", + "additionalProperties": { + "type": [ + "string" + ] + } }, "notify-on-install": { "type": "boolean", @@ -380,21 +397,21 @@ }, "github-oauth": { "type": "object", - "description": "A hash of domain name => github API oauth tokens, typically {\"github.com\":\"\"}.", + "description": "An object of domain name => github API oauth tokens, typically {\"github.com\":\"\"}.", "additionalProperties": { "type": "string" } }, "gitlab-oauth": { "type": "object", - "description": "A hash of domain name => gitlab API oauth tokens, typically {\"gitlab.com\":\"\"}.", + "description": "An object of domain name => gitlab API oauth tokens, typically {\"gitlab.com\":\"\"}.", "additionalProperties": { "type": "string" } }, "gitlab-token": { "type": "object", - "description": "A hash of domain name => gitlab private tokens, typically {\"gitlab.com\":\"\"}.", + "description": "An object of domain name => gitlab private tokens, typically {\"gitlab.com\":\"\"}.", "additionalProperties": { "type": "string" } @@ -409,7 +426,7 @@ }, "bearer": { "type": "object", - "description": "A hash of domain name => bearer authentication token, for example {\"example.com\":\"\"}.", + "description": "An object of domain name => bearer authentication token, for example {\"example.com\":\"\"}.", "additionalProperties": { "type": "string" } @@ -439,7 +456,7 @@ }, "http-basic": { "type": "object", - "description": "A hash of domain name => {\"username\": \"...\", \"password\": \"...\"}.", + "description": "An object of domain name => {\"username\": \"...\", \"password\": \"...\"}.", "additionalProperties": { "type": "object", "required": [ @@ -777,7 +794,7 @@ "properties": { "psr-0": { "type": "object", - "description": "This is a hash of namespaces (keys) and the directories they can be found in (values, can be arrays of paths) by the autoloader.", + "description": "This is an object of namespaces (keys) and the directories they can be found in (values, can be arrays of paths) by the autoloader.", "additionalProperties": { "type": [ "string", @@ -790,7 +807,7 @@ }, "psr-4": { "type": "object", - "description": "This is a hash of namespaces (keys) and the PSR-4 directories they can map to (values, can be arrays of paths) by the autoloader.", + "description": "This is an object of namespaces (keys) and the PSR-4 directories they can map to (values, can be arrays of paths) by the autoloader.", "additionalProperties": { "type": [ "string", From 636dc977f4d0e578cc794b3d14ddba457ce36dab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Wed, 8 Dec 2021 10:09:20 +0100 Subject: [PATCH 2/2] Fix: Update CHANGELOG.md --- CHANGELOG.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 829870c5..f7c1ea5c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## Unreleased -For a full diff see [`2.17.0...main`][2.17.0...main]. +For a full diff see [`2.18.0...main`][2.18.0...main]. + +## [`2.18.0`][2.18.0] + +### Changed + +- Updated `schema.json` ([#829]), by [@ergebnis-bot] ## [`2.17.0`][2.17.0] @@ -675,7 +681,8 @@ For a full diff see [`81bc3a8...0.1.0`][81bc3a8...0.1.0]. [2.14.0...2.15.0]: https://github.com/ergebnis/composer-normalize/compare/2.14.0...2.15.0 [2.15.0...2.16.0]: https://github.com/ergebnis/composer-normalize/compare/2.15.0...2.16.0 [2.16.0...2.17.0]: https://github.com/ergebnis/composer-normalize/compare/2.16.0...2.17.0 -[2.17.0...main]: https://github.com/ergebnis/composer-normalize/compare/2.17.0...main +[2.17.0...2.18.0]: https://github.com/ergebnis/composer-normalize/compare/2.17.0...2.18.0 +[2.18.0...main]: https://github.com/ergebnis/composer-normalize/compare/2.18.0...main [#1]: https://github.com/ergebnis/composer-normalize/pull/1 [#2]: https://github.com/ergebnis/composer-normalize/pull/2 @@ -761,6 +768,7 @@ For a full diff see [`81bc3a8...0.1.0`][81bc3a8...0.1.0]. [#807]: https://github.com/ergebnis/composer-normalize/pull/807 [#816]: https://github.com/ergebnis/composer-normalize/pull/816 [#825]: https://github.com/ergebnis/composer-normalize/pull/825 +[#829]: https://github.com/ergebnis/composer-normalize/pull/829 [@core23]: https://github.com/core23 [@dependabot]: https://github.com/dependabot