Skip to content

Commit

Permalink
Merge pull request #1158 from ergebnis/feature/schema
Browse files Browse the repository at this point in the history
Enhancement: Update `schema.json`
  • Loading branch information
localheinz authored Sep 27, 2024
2 parents 42a9b7a + f768846 commit 97ac250
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion test/Fixture/Vendor/Composer/schema.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft-04/schema#",
"title": "Package",
"title": "Composer Package",
"type": "object",
"properties": {
"name": {
Expand Down Expand Up @@ -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.",
Expand All @@ -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=<path>), 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.",
Expand Down Expand Up @@ -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."
}
}
},
Expand Down

0 comments on commit 97ac250

Please sign in to comment.