Get the plugins ready for release
Signed-off-by: Karan Shah <karan.shah@simplybusiness.co.uk>
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
---
|
||||
'@backstage/plugin-airbrake': minor
|
||||
'@backstage/plugin-airbrake-backend': minor
|
||||
---
|
||||
|
||||
This marks the first release where the Airbrake plugin is useable. Airbrake frontend and Airbrake backend work with each other. Currently just a summary of the latest Airbrakes is shown on Backstage.
|
||||
@@ -6,6 +6,7 @@
|
||||
import { Config } from '@backstage/config';
|
||||
import express from 'express';
|
||||
import { Logger as Logger_2 } from 'winston';
|
||||
import * as winston from 'winston';
|
||||
|
||||
// @public
|
||||
export interface AirbrakeConfig {
|
||||
@@ -16,7 +17,10 @@ export interface AirbrakeConfig {
|
||||
export function createRouter(options: RouterOptions): Promise<express.Router>;
|
||||
|
||||
// @public
|
||||
export function extractAirbrakeConfig(config: Config): AirbrakeConfig;
|
||||
export function extractAirbrakeConfig(
|
||||
config: Config,
|
||||
logger: winston.Logger,
|
||||
): AirbrakeConfig;
|
||||
|
||||
// @public
|
||||
export interface RouterOptions {
|
||||
|
||||
@@ -8,9 +8,7 @@
|
||||
import { BackstagePlugin } from '@backstage/core-plugin-api';
|
||||
import { RouteRef } from '@backstage/core-plugin-api';
|
||||
|
||||
// Warning: (ae-missing-release-tag) "airbrakePlugin" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
//
|
||||
// @public (undocumented)
|
||||
// @public
|
||||
export const airbrakePlugin: BackstagePlugin<
|
||||
{
|
||||
root: RouteRef<undefined>;
|
||||
@@ -18,10 +16,6 @@ export const airbrakePlugin: BackstagePlugin<
|
||||
{}
|
||||
>;
|
||||
|
||||
// Warning: (ae-missing-release-tag) "EntityAirbrakeContent" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
//
|
||||
// @public (undocumented)
|
||||
// @public
|
||||
export const EntityAirbrakeContent: () => JSX.Element;
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
```
|
||||
|
||||
@@ -20,6 +20,11 @@ import { airbrakePlugin } from './plugin';
|
||||
import { createRoutableExtension } from '@backstage/core-plugin-api';
|
||||
import { rootRouteRef } from './routes';
|
||||
|
||||
/**
|
||||
* This is the widget that shows up on a component page
|
||||
*
|
||||
* @public
|
||||
*/
|
||||
export const EntityAirbrakeContent = airbrakePlugin.provide(
|
||||
createRoutableExtension({
|
||||
name: 'EntityAirbrakeContent',
|
||||
|
||||
@@ -13,5 +13,12 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The Airbrake plugin provides connectivity between Backstage and Airbrake (https://airbrake.io/).
|
||||
*
|
||||
* @packageDocumentation
|
||||
*/
|
||||
|
||||
export { airbrakePlugin } from './plugin';
|
||||
export { EntityAirbrakeContent } from './extensions';
|
||||
|
||||
@@ -22,6 +22,11 @@ import {
|
||||
import { rootRouteRef } from './routes';
|
||||
import { airbrakeApiRef, ProductionAirbrakeApi } from './api';
|
||||
|
||||
/**
|
||||
* The Airbrake plugin instance
|
||||
*
|
||||
* @public
|
||||
*/
|
||||
export const airbrakePlugin = createPlugin({
|
||||
id: 'airbrake',
|
||||
apis: [
|
||||
|
||||
Reference in New Issue
Block a user