diff --git a/CHANGELOG.md b/CHANGELOG.md index f3cb7255..51c83782 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.43.0...main`][2.43.0...main]. +### Changed + +- Updated `schema.json` ([#1363]), by [@ergebnis-bot] + ## [`2.43.0`][2.43.0] For a full diff see [`2.42.0...2.43.0`][2.42.0...2.43.0]. @@ -1238,6 +1242,7 @@ For a full diff see [`81bc3a8...0.1.0`][81bc3a8...0.1.0]. [#1279]: https://github.com/ergebnis/composer-normalize/pull/1279 [#1312]: https://github.com/ergebnis/composer-normalize/pull/1312 [#1349]: https://github.com/ergebnis/composer-normalize/pull/1349 +[#1363]: https://github.com/ergebnis/composer-normalize/pull/1363 [@core23]: https://github.com/core23 [@dependabot]: https://github.com/dependabot diff --git a/resource/schema.json b/resource/schema.json index b23588e8..a388021f 100644 --- a/resource/schema.json +++ b/resource/schema.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft-04/schema#", - "title": "Package", + "title": "Composer Package", "type": "object", "properties": { "name": { @@ -365,6 +365,12 @@ "example": false, "default": true }, + "support-nts": { + "type": "boolean", + "description": "Does this package support non-Thread Safe mode", + "example": false, + "default": true + }, "configure-options": { "type": "array", "description": "These configure options make up the flags that can be passed to ./configure when installing the extension.", @@ -380,6 +386,12 @@ "example": "without-xdebug-compression", "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_]*$" }, + "needs-value": { + "type": "boolean", + "description": "If this is set to true, the flag needs a value (e.g. --with-somelib=), otherwise it is a flag without a value (e.g. --enable-some-feature).", + "example": false, + "default": false + }, "description": { "type": "string", "description": "The description of what the flag does or means.", @@ -775,6 +787,19 @@ "string" ], "description": "Defaults to \"php-only\" which checks only the PHP version. Setting to true will also check the presence of required PHP extensions. If set to false, Composer will not create and require a platform_check.php file as part of the autoloader bootstrap." + }, + "bump-after-update": { + "type": [ + "string", + "boolean" + ], + "description": "Defaults to false and can be any of true, false, \"dev\"` or \"no-dev\"`. If set to true, Composer will run the bump command after running the update command. If set to \"dev\" or \"no-dev\" then only the corresponding dependencies will be bumped." + }, + "allow-missing-requirements": { + "type": [ + "boolean" + ], + "description": "Defaults to false. If set to true, Composer will allow install when lock file is not up to date with the latest changes in composer.json." } } },