@backstage-community/plugin-newrelic 0.15.0 → 0.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @backstage-community/plugin-newrelic
2
2
 
3
+ ## 0.16.0
4
+
5
+ ### Minor Changes
6
+
7
+ - efebde8: Backstage version bump to v1.45.1
8
+
9
+ ## 0.15.1
10
+
11
+ ### Patch Changes
12
+
13
+ - 71b618d: Added documentation for the New Frontend System
14
+
3
15
  ## 0.15.0
4
16
 
5
17
  ### Minor Changes
package/README.md CHANGED
@@ -98,6 +98,32 @@ APIs.
98
98
 
99
99
  - Currently only supports New Relic APM data
100
100
 
101
+ ## New Frontend System
102
+
103
+ ### Setup
104
+
105
+ If you're using [feature discovery](https://backstage.io/docs/frontend-system/architecture/app/#feature-discovery), the plugin should be automatically discovered and enabled. Otherwise, you can manually enable the plugin by adding it to your app:
106
+
107
+ ```tsx
108
+ // packages/app/src/App.tsx
109
+ import newrelicPlugin from '@backstage-community/plugin-newrelic/alpha';
110
+
111
+ const app = createApp({
112
+ features: [
113
+ // ...
114
+ newrelicPlugin,
115
+ ],
116
+ });
117
+ ```
118
+
119
+ ### Extensions
120
+
121
+ The following extensions are available in the plugin:
122
+
123
+ - `api:newrelic`
124
+ - `page:newrelic`
125
+ - `nav-item:newrelic`
126
+
101
127
  ---
102
128
 
103
129
  You can also serve the plugin in isolation by running `yarn start` in the plugin directory.
package/dist/alpha.d.ts CHANGED
@@ -5,7 +5,7 @@ import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
5
5
 
6
6
  /** @alpha */
7
7
  declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin<{}, {}, {
8
- "api:newrelic": _backstage_frontend_plugin_api.ExtensionDefinition<{
8
+ "api:newrelic": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
9
9
  kind: "api";
10
10
  name: undefined;
11
11
  config: {};
@@ -16,7 +16,7 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
16
16
  [x: string]: unknown;
17
17
  }>(params: _backstage_core_plugin_api.ApiFactory<TApi, TImpl, TDeps>) => _backstage_frontend_plugin_api.ExtensionBlueprintParams<_backstage_core_plugin_api.AnyApiFactory>;
18
18
  }>;
19
- "nav-item:newrelic": _backstage_frontend_plugin_api.ExtensionDefinition<{
19
+ "nav-item:newrelic": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
20
20
  kind: "nav-item";
21
21
  name: undefined;
22
22
  config: {};
@@ -33,7 +33,7 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
33
33
  routeRef: _backstage_frontend_plugin_api.RouteRef<undefined>;
34
34
  };
35
35
  }>;
36
- "page:newrelic": _backstage_frontend_plugin_api.ExtensionDefinition<{
36
+ "page:newrelic": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
37
37
  kind: "page";
38
38
  name: undefined;
39
39
  config: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage-community/plugin-newrelic",
3
- "version": "0.15.0",
3
+ "version": "0.16.0",
4
4
  "description": "A Backstage plugin that integrates towards New Relic",
5
5
  "backstage": {
6
6
  "role": "frontend-plugin",
@@ -66,10 +66,10 @@
66
66
  "test": "backstage-cli package test"
67
67
  },
68
68
  "dependencies": {
69
- "@backstage/core-compat-api": "^0.5.3",
70
- "@backstage/core-components": "^0.18.2",
71
- "@backstage/core-plugin-api": "^1.11.1",
72
- "@backstage/frontend-plugin-api": "^0.12.1",
69
+ "@backstage/core-compat-api": "^0.5.4",
70
+ "@backstage/core-components": "^0.18.3",
71
+ "@backstage/core-plugin-api": "^1.12.0",
72
+ "@backstage/frontend-plugin-api": "^0.13.1",
73
73
  "@material-ui/core": "^4.12.2",
74
74
  "@material-ui/icons": "^4.9.1",
75
75
  "@material-ui/lab": "4.0.0-alpha.61",
@@ -78,9 +78,9 @@
78
78
  "react-use": "^17.2.4"
79
79
  },
80
80
  "devDependencies": {
81
- "@backstage/cli": "^0.34.4",
82
- "@backstage/dev-utils": "^1.1.15",
83
- "@backstage/test-utils": "^1.7.12",
81
+ "@backstage/cli": "^0.34.5",
82
+ "@backstage/dev-utils": "^1.1.17",
83
+ "@backstage/test-utils": "^1.7.13",
84
84
  "@testing-library/dom": "^10.0.0",
85
85
  "@testing-library/jest-dom": "^6.0.0",
86
86
  "@testing-library/react": "^15.0.0",