/
githubmirror
/
angular-cli
Обзор
Документация
Войти
/
githubmirror
/
angular-cli
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
packages/angular_devkit/architect/src/builders-schema.json
70 строк
2 KB
Charles Lyding
refactor(@angular-devkit/architect): allow aliasing builder names in package builder manifest
09 апр 2024, 14:50
09 апр 2024, 14:50
6d9a06a
Код
Авторство
О чём код?
{ "$schema": "http://json-schema.org/draft-07/schema", "$id": "BuildersSchema", "title": "Builders schema for validating a list of builders.", "type": "object", "properties": { "$schema": { "type": "string", "description": "Link to schema." }, "builders": { "type": "object", "additionalProperties": { "oneOf": [ { "$ref": "#/definitions/builder" }, { "type": "string", "minLength": 1 } ] } } }, "required": ["builders"], "definitions": { "builder": { "type": "object", "description": "Target options for Builders.", "allOf": [ { "properties": { "schema": { "type": "string", "description": "Schema for builder option validation." }, "description": { "type": "string", "description": "Builder description." } }, "required": ["schema", "description"] }, { "anyOf": [ { "properties": { "implementation": { "type": "string", "description": "The next generation builder module." } }, "required": ["implementation"] }, { "properties": { "class": { "type": "string", "description": "The builder class module." } }, "required": ["class"] } ] } ] } } }