mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-12 07:36:34 +03:00
49 lines
2.4 KiB
JSON
49 lines
2.4 KiB
JSON
{
|
|
"locks": {
|
|
"jane-php/json-schema": {
|
|
"version": "6.0",
|
|
"recipe": {
|
|
"repo": "6.0",
|
|
"branch": "master",
|
|
"version": "6.0",
|
|
"ref": "5383305f5cc44c1f8f8d11ceeb157b761e437b4c"
|
|
}
|
|
}
|
|
},
|
|
"manifests": {
|
|
"jane-php/json-schema": {
|
|
"repository": "github.com/symfony/recipes-contrib",
|
|
"package": "jane-php/json-schema",
|
|
"version": "6.0",
|
|
"manifest": {
|
|
"copy-from-recipe": {
|
|
"bin/": "%BIN_DIR%/",
|
|
"config/": "%CONFIG_DIR%/"
|
|
},
|
|
"conflict": {
|
|
"symfony/symfony": "<5.0"
|
|
}
|
|
},
|
|
"files": {
|
|
"config/jane/json_schema.php": {
|
|
"contents": "<?php\n\nreturn [\n 'json-schema-file' => __DIR__ . '/json-schema.json',\n 'root-class' => 'MyModel',\n 'namespace' => 'MyApp\\Library\\Generated',\n 'directory' => __DIR__ . '/../../generated',\n];\n",
|
|
"executable": false,
|
|
"encoding": ""
|
|
},
|
|
"config/packages/jane.yaml": {
|
|
"contents": "services:\n _defaults:\n autowire: true\n autoconfigure: true\n\n# MyApp\\Library\\Generated\\Normalizer\\JaneObjectNormalizer: null\n",
|
|
"executable": false,
|
|
"encoding": ""
|
|
},
|
|
"bin/jane-json-schema-generate": {
|
|
"contents": "#!/usr/bin/env php\n<?php\n\nrequire __DIR__ . '/../vendor/autoload.php';\n\nuse Jane\\JsonSchema\\Console\\Command\\GenerateCommand;\nuse Symfony\\Component\\Console\\Input\\ArrayInput;\nuse Symfony\\Component\\Console\\Output\\NullOutput;\nuse Jane\\JsonSchema\\Console\\Loader\\ConfigLoader;\nuse Jane\\JsonSchema\\Console\\Loader\\SchemaLoader;\n\n$command = new GenerateCommand(new ConfigLoader(), new SchemaLoader());\n$inputArray = new ArrayInput(['--config-file' => __DIR__ . '/../config/jane/json_schema.php'], $command->getDefinition());\n\n$command->execute($inputArray, new NullOutput());\n",
|
|
"executable": true,
|
|
"encoding": ""
|
|
}
|
|
},
|
|
"origin": "jane-php/json-schema:6.0@github.com/symfony/recipes-contrib:master",
|
|
"not_installable": false,
|
|
"is_contrib": true
|
|
}
|
|
}
|
|
} |