@backstage-community/plugin-newrelic-dashboard 0.16.0 → 0.17.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-dashboard
2
2
 
3
+ ## 0.17.0
4
+
5
+ ### Minor Changes
6
+
7
+ - efebde8: Backstage version bump to v1.45.1
8
+
9
+ ## 0.16.1
10
+
11
+ ### Patch Changes
12
+
13
+ - 71b618d: Added documentation for the New Frontend System
14
+
3
15
  ## 0.16.0
4
16
 
5
17
  ### Minor Changes
package/README.md CHANGED
@@ -77,3 +77,29 @@ spec:
77
77
  ```
78
78
 
79
79
  All set , you will be able to see the plugin in action!
80
+
81
+ ## New Frontend System
82
+
83
+ ### Setup
84
+
85
+ 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:
86
+
87
+ ```tsx
88
+ // packages/app/src/App.tsx
89
+ import newrelicDashboardPlugin from '@backstage-community/plugin-newrelic-dashboard/alpha';
90
+
91
+ const app = createApp({
92
+ features: [
93
+ // ...
94
+ newrelicDashboardPlugin,
95
+ ],
96
+ });
97
+ ```
98
+
99
+ ### Extensions
100
+
101
+ The following extensions are available in the plugin:
102
+
103
+ - `api:newrelic-dashboard`
104
+ - `entity-content:newrelic-dashboard/EntityNewRelicDashboardContent`
105
+ - `entity-card:newrelic-dashboard/EntityNewRelicDashboardCard`
package/dist/alpha.d.ts CHANGED
@@ -7,7 +7,7 @@ import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
7
7
 
8
8
  /** @alpha */
9
9
  declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin<{}, {}, {
10
- "api:newrelic-dashboard": _backstage_frontend_plugin_api.ExtensionDefinition<{
10
+ "api:newrelic-dashboard": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
11
11
  kind: "api";
12
12
  name: undefined;
13
13
  config: {};
@@ -18,7 +18,7 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
18
18
  [x: string]: unknown;
19
19
  }>(params: _backstage_core_plugin_api.ApiFactory<TApi, TImpl, TDeps>) => _backstage_frontend_plugin_api.ExtensionBlueprintParams<_backstage_core_plugin_api.AnyApiFactory>;
20
20
  }>;
21
- "entity-card:newrelic-dashboard/EntityNewRelicDashboardCard": _backstage_frontend_plugin_api.ExtensionDefinition<{
21
+ "entity-card:newrelic-dashboard/EntityNewRelicDashboardCard": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
22
22
  kind: "entity-card";
23
23
  name: "EntityNewRelicDashboardCard";
24
24
  config: {
@@ -43,7 +43,7 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
43
43
  type?: _backstage_plugin_catalog_react_alpha.EntityCardType | undefined;
44
44
  };
45
45
  }>;
46
- "entity-content:newrelic-dashboard/EntityNewRelicDashboardContent": _backstage_frontend_plugin_api.ExtensionDefinition<{
46
+ "entity-content:newrelic-dashboard/EntityNewRelicDashboardContent": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
47
47
  kind: "entity-content";
48
48
  name: "EntityNewRelicDashboardContent";
49
49
  config: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage-community/plugin-newrelic-dashboard",
3
- "version": "0.16.0",
3
+ "version": "0.17.0",
4
4
  "backstage": {
5
5
  "role": "frontend-plugin",
6
6
  "pluginId": "newrelic-dashboard",
@@ -61,22 +61,22 @@
61
61
  "test": "backstage-cli package test"
62
62
  },
63
63
  "dependencies": {
64
- "@backstage/catalog-model": "^1.7.5",
65
- "@backstage/core-compat-api": "^0.5.3",
66
- "@backstage/core-components": "^0.18.2",
67
- "@backstage/core-plugin-api": "^1.11.1",
64
+ "@backstage/catalog-model": "^1.7.6",
65
+ "@backstage/core-compat-api": "^0.5.4",
66
+ "@backstage/core-components": "^0.18.3",
67
+ "@backstage/core-plugin-api": "^1.12.0",
68
68
  "@backstage/errors": "^1.2.7",
69
- "@backstage/frontend-plugin-api": "^0.12.1",
70
- "@backstage/plugin-catalog-react": "^1.21.2",
69
+ "@backstage/frontend-plugin-api": "^0.13.1",
70
+ "@backstage/plugin-catalog-react": "^1.21.3",
71
71
  "@material-ui/core": "^4.12.2",
72
72
  "@material-ui/icons": "^4.9.1",
73
73
  "@types/react": "^16.13.1 || ^17.0.0 || ^18.0.0",
74
74
  "react-use": "^17.2.4"
75
75
  },
76
76
  "devDependencies": {
77
- "@backstage/cli": "^0.34.4",
78
- "@backstage/dev-utils": "^1.1.15",
79
- "@backstage/test-utils": "^1.7.12",
77
+ "@backstage/cli": "^0.34.5",
78
+ "@backstage/dev-utils": "^1.1.17",
79
+ "@backstage/test-utils": "^1.7.13",
80
80
  "@testing-library/dom": "^10.0.0",
81
81
  "@testing-library/jest-dom": "^6.0.0",
82
82
  "@testing-library/react": "^15.0.0",