@backstage-community/plugin-cost-insights 0.21.0 → 0.22.1

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/README.md +26 -0
  3. package/package.json +13 -13
package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # @backstage-community/plugin-cost-insights
2
2
 
3
+ ## 0.22.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 2b0eb8c: Added documentation for the New Frontend System
8
+
9
+ ## 0.22.0
10
+
11
+ ### Minor Changes
12
+
13
+ - 3c791c0: Backstage version bump to v1.44.0
14
+
15
+ ### Patch Changes
16
+
17
+ - Updated dependencies [3c791c0]
18
+ - @backstage-community/plugin-cost-insights-common@0.9.0
19
+
3
20
  ## 0.21.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage-community/plugin-cost-insights",
3
- "version": "0.21.0",
3
+ "version": "0.22.1",
4
4
  "description": "A Backstage plugin that helps you keep track of your cloud spend",
5
5
  "backstage": {
6
6
  "role": "frontend-plugin",
@@ -67,15 +67,15 @@
67
67
  "test": "backstage-cli package test"
68
68
  },
69
69
  "dependencies": {
70
- "@backstage-community/plugin-cost-insights-common": "^0.8.0",
70
+ "@backstage-community/plugin-cost-insights-common": "^0.9.0",
71
71
  "@backstage/catalog-model": "^1.7.5",
72
- "@backstage/config": "^1.3.3",
73
- "@backstage/core-compat-api": "^0.5.2",
74
- "@backstage/core-components": "^0.18.1",
75
- "@backstage/core-plugin-api": "^1.11.0",
76
- "@backstage/frontend-plugin-api": "^0.12.0",
77
- "@backstage/plugin-catalog-react": "^1.21.1",
78
- "@backstage/theme": "^0.6.8",
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",
78
+ "@backstage/theme": "^0.7.0",
79
79
  "@material-ui/core": "^4.12.2",
80
80
  "@material-ui/icons": "^4.9.1",
81
81
  "@material-ui/lab": "4.0.0-alpha.61",
@@ -93,10 +93,10 @@
93
93
  "yup": "^1.0.0"
94
94
  },
95
95
  "devDependencies": {
96
- "@backstage/cli": "^0.34.3",
97
- "@backstage/core-app-api": "^1.19.0",
98
- "@backstage/dev-utils": "^1.1.14",
99
- "@backstage/test-utils": "^1.7.11",
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",
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",