Add changeset & update api-reports
Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-linguist-backend': minor
|
||||
---
|
||||
|
||||
**BREAKING**: Removing options from exported `linguistPlugin()` in favour of static config
|
||||
@@ -36,23 +36,7 @@ export interface LinguistBackendApi {
|
||||
}
|
||||
|
||||
// @public
|
||||
export const linguistPlugin: (options: LinguistPluginOptions) => BackendFeature;
|
||||
|
||||
// @public
|
||||
export interface LinguistPluginOptions {
|
||||
// (undocumented)
|
||||
age?: HumanDuration;
|
||||
// (undocumented)
|
||||
batchSize?: number;
|
||||
// (undocumented)
|
||||
kind?: string[];
|
||||
// (undocumented)
|
||||
linguistJsOptions?: Record<string, unknown>;
|
||||
// (undocumented)
|
||||
schedule?: TaskScheduleDefinition;
|
||||
// (undocumented)
|
||||
useSourceLocation?: boolean;
|
||||
}
|
||||
export const linguistPlugin: () => BackendFeature;
|
||||
|
||||
// @public
|
||||
export class LinguistTagsProcessor implements CatalogProcessor {
|
||||
|
||||
Vendored
+1
-1
@@ -40,7 +40,7 @@ export interface Config {
|
||||
/**
|
||||
* [linguist-js](https://www.npmjs.com/package/linguist-js) options
|
||||
*/
|
||||
linguistJsOptions: Record<string, unknown>;
|
||||
linguistJsOptions: object;
|
||||
|
||||
/** Options for the tags processor */
|
||||
tagsProcessor?: {
|
||||
|
||||
Reference in New Issue
Block a user