Merge pull request #12235 from backstage/emmaindal/stack-overflow-plugin-config-schema

[Stack Overflow] point to config schema from package.json
This commit is contained in:
Emma Indal
2022-06-23 13:59:45 +02:00
committed by GitHub
5 changed files with 16 additions and 8 deletions
+6
View File
@@ -0,0 +1,6 @@
---
'@backstage/plugin-stack-overflow': patch
'@backstage/plugin-stack-overflow-backend': patch
---
app-config is now picked up properly.
+2 -2
View File
@@ -18,11 +18,11 @@ export interface Config {
/**
* Configuration options for the stack overflow plugin
*/
stackoverflow: {
stackoverflow?: {
/**
* The base url of the Stack Overflow API used for the plugin
* @visibility backend
*/
baseUrl: string;
baseUrl?: string;
};
}
+3 -2
View File
@@ -41,6 +41,7 @@
},
"files": [
"dist",
"config"
]
"config.d.ts"
],
"configSchema": "config.d.ts"
}
+2 -2
View File
@@ -18,11 +18,11 @@ export interface Config {
/**
* Configuration options for the stack overflow plugin
*/
stackoverflow: {
stackoverflow?: {
/**
* The base url of the Stack Overflow API used for the plugin
* @visibility frontend
*/
baseUrl: string;
baseUrl?: string;
};
}
+3 -2
View File
@@ -54,6 +54,7 @@
},
"files": [
"dist",
"config"
]
"config.d.ts"
],
"configSchema": "config.d.ts"
}