cli: added config schema

This commit is contained in:
Patrik Oldsberg
2020-11-15 21:11:47 +01:00
parent 8782781f16
commit cb1634e818
+26
View File
@@ -147,5 +147,31 @@
"watch": "./src",
"exec": "bin/backstage-cli",
"ext": "ts"
},
"configSchema": {
"$schema": "https://backstage.io/schema/config-v1",
"title": "@backstage/cli",
"type": "object",
"properties": {
"app": {
"type": "object",
"properties": {
"baseUrl": {
"type": "string",
"visibility": "frontend"
},
"title": {
"type": "string",
"visibility": "frontend"
},
"googleAnalyticsTrackingId": {
"type": "string",
"visibility": "frontend",
"description": "Tracking ID for Google Analytics",
"example": "UA-000000-0"
}
}
}
}
}
}