Updates based off of @freben's code review

* Reduced changeset to `minor`
* Fixed indentation and quoting in README
* yarn.lock update for rebased versions
* ran `prettier` against all .js and .ts files and fixed errors

Signed-off-by: Matt Ray <github@mattray.dev>
This commit is contained in:
Matt Ray
2023-08-02 17:16:49 +10:00
committed by Fredrik Adelöw
parent 1380a689ab
commit 6961967fb4
27 changed files with 753 additions and 415 deletions
+10 -10
View File
@@ -15,18 +15,18 @@ All of the code was originally ported from https://github.com/opencost/opencost/
```
2. Add the `OpenCostPage` to your `packages/app/src/App.tsx`:
```tsx
import { OpenCostPage } from '@backstage/plugin-opencost';
```
```tsx
import { OpenCostPage } from '@backstage/plugin-opencost';
```
and
```tsx
<FlatRoutes>
<Route path="/opencost" element={<OpenCostPage />} />
</FlatRoutes>
```
```tsx
<FlatRoutes>
<Route path="/opencost" element={<OpenCostPage />} />
</FlatRoutes>
```
3. Add link to OpenCost to your sidebar
@@ -74,6 +74,6 @@ opencost:
- Allow for user-provided default reports and/or disabling controls
- Support multiple hard-coded reports
- clean up deprecation warnings and upgrade to all the latest React components
- Fork(?) to support Kubecost, which could provide Alerts and Recommendations, similar to the Cost Explorer plugin
- Fork(?) to support `Kubecost`, which could provide Alerts and Recommendations, similar to the Cost Explorer plugin
![Screenshot](screenshot.png)