@backstage-community/plugin-cost-insights 0.22.0 → 0.23.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,22 @@
1
1
  # @backstage-community/plugin-cost-insights
2
2
 
3
+ ## 0.23.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 01e0ee5: Backstage version bump to v1.45.1
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [01e0ee5]
12
+ - @backstage-community/plugin-cost-insights-common@0.10.0
13
+
14
+ ## 0.22.1
15
+
16
+ ### Patch Changes
17
+
18
+ - 2b0eb8c: Added documentation for the New Frontend System
19
+
3
20
  ## 0.22.0
4
21
 
5
22
  ### Minor Changes
package/README.md CHANGED
@@ -118,6 +118,32 @@ To expose the plugin to your users, you can integrate the `cost-insights` route
118
118
  );
119
119
  ```
120
120
 
121
+ ## New Frontend System
122
+
123
+ ### Setup
124
+
125
+ 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:
126
+
127
+ ```tsx
128
+ // packages/app/src/App.tsx
129
+ import costInsightsPlugin from '@backstage-community/plugin-cost-insights/alpha';
130
+
131
+ const app = createApp({
132
+ features: [
133
+ // ...
134
+ costInsightsPlugin,
135
+ ],
136
+ });
137
+ ```
138
+
139
+ ### Extensions
140
+
141
+ The following extensions are available in the plugin:
142
+
143
+ - `api:cost-insights`
144
+ - `page:cost-insights`
145
+ - `nav-item:cost-insights`
146
+
121
147
  ## Configuration
122
148
 
123
149
  Cost Insights has only one required configuration field: `engineerCost` - the average yearly cost of an engineer including benefits.
package/dist/alpha.d.ts CHANGED
@@ -6,7 +6,7 @@ import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
6
6
  declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin<{
7
7
  root: _backstage_frontend_plugin_api.RouteRef<undefined>;
8
8
  }, {}, {
9
- "api:cost-insights": _backstage_frontend_plugin_api.ExtensionDefinition<{
9
+ "api:cost-insights": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
10
10
  kind: "api";
11
11
  name: undefined;
12
12
  config: {};
@@ -17,7 +17,7 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
17
17
  [x: string]: unknown;
18
18
  }>(params: _backstage_core_plugin_api.ApiFactory<TApi, TImpl, TDeps>) => _backstage_frontend_plugin_api.ExtensionBlueprintParams<_backstage_core_plugin_api.AnyApiFactory>;
19
19
  }>;
20
- "nav-item:cost-insights": _backstage_frontend_plugin_api.ExtensionDefinition<{
20
+ "nav-item:cost-insights": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
21
21
  kind: "nav-item";
22
22
  name: undefined;
23
23
  config: {};
@@ -34,7 +34,7 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
34
34
  routeRef: _backstage_frontend_plugin_api.RouteRef<undefined>;
35
35
  };
36
36
  }>;
37
- "page:cost-insights": _backstage_frontend_plugin_api.ExtensionDefinition<{
37
+ "page:cost-insights": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
38
38
  kind: "page";
39
39
  name: undefined;
40
40
  config: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage-community/plugin-cost-insights",
3
- "version": "0.22.0",
3
+ "version": "0.23.0",
4
4
  "description": "A Backstage plugin that helps you keep track of your cloud spend",
5
5
  "backstage": {
6
6
  "role": "frontend-plugin",
@@ -67,14 +67,14 @@
67
67
  "test": "backstage-cli package test"
68
68
  },
69
69
  "dependencies": {
70
- "@backstage-community/plugin-cost-insights-common": "^0.9.0",
71
- "@backstage/catalog-model": "^1.7.5",
72
- "@backstage/config": "^1.3.5",
73
- "@backstage/core-compat-api": "^0.5.3",
74
- "@backstage/core-components": "^0.18.2",
75
- "@backstage/core-plugin-api": "^1.11.1",
76
- "@backstage/frontend-plugin-api": "^0.12.1",
77
- "@backstage/plugin-catalog-react": "^1.21.2",
70
+ "@backstage-community/plugin-cost-insights-common": "^0.10.0",
71
+ "@backstage/catalog-model": "^1.7.6",
72
+ "@backstage/config": "^1.3.6",
73
+ "@backstage/core-compat-api": "^0.5.4",
74
+ "@backstage/core-components": "^0.18.3",
75
+ "@backstage/core-plugin-api": "^1.12.0",
76
+ "@backstage/frontend-plugin-api": "^0.13.1",
77
+ "@backstage/plugin-catalog-react": "^1.21.3",
78
78
  "@backstage/theme": "^0.7.0",
79
79
  "@material-ui/core": "^4.12.2",
80
80
  "@material-ui/icons": "^4.9.1",
@@ -93,10 +93,10 @@
93
93
  "yup": "^1.0.0"
94
94
  },
95
95
  "devDependencies": {
96
- "@backstage/cli": "^0.34.4",
97
- "@backstage/core-app-api": "^1.19.1",
98
- "@backstage/dev-utils": "^1.1.15",
99
- "@backstage/test-utils": "^1.7.12",
96
+ "@backstage/cli": "^0.34.5",
97
+ "@backstage/core-app-api": "^1.19.2",
98
+ "@backstage/dev-utils": "^1.1.17",
99
+ "@backstage/test-utils": "^1.7.13",
100
100
  "@testing-library/dom": "^10.0.0",
101
101
  "@testing-library/jest-dom": "^6.0.0",
102
102
  "@testing-library/react": "^15.0.0",