Deprecate packages

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2024-04-18 20:50:59 +02:00
parent f17c56de87
commit a5613e38be
3 changed files with 11 additions and 38 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-xcmetrics': patch
---
These packages have been migrated to the [backstage/community-plugins](https://github.com/backstage/community-plugins) repository.
+2 -36
View File
@@ -1,37 +1,3 @@
# XCMetrics
# Deprecated
[XCMetrics](https://xcmetrics.io) is a tool for collecting build metrics from XCode.
With this plugin, you can view data from XCMetrics directly in Backstage.
![XCMetrics-overview](./docs/XCMetrics-overview.png)
## Getting started
```bash
# From your Backstage root directory
yarn --cwd packages/app add @backstage/plugin-xcmetrics
```
In `packages/app/src/App.tsx`, add the following:
```ts
import { XcmetricsPage } from '@backstage/plugin-xcmetrics';
```
```tsx
<FlatRoutes>
{/* Other routes... */}
<Route path="/xcmetrics" element={<XcmetricsPage />} />
</FlatRoutes>
```
Add the URL to your XCMetrics backend instance in `app-config.yaml` like so:
```yaml
proxy:
...
'/xcmetrics':
target: http://127.0.0.1:8080/v1
```
Start Backstage and navigate to `/xcmetrics` to view your build metrics!
This package has been moved to the [backstage-community/plugins](https://github.com/backstage/community-plugins) repository. Migrate to using `@backstage-community/plugin-xcmetrics` instead.
+4 -2
View File
@@ -3,7 +3,8 @@
"version": "0.2.52",
"description": "A Backstage plugin that shows XCode build metrics for your components",
"backstage": {
"role": "frontend-plugin"
"role": "frontend-plugin",
"moved": "@backstage-community/plugin-xcmetrics"
},
"publishConfig": {
"access": "public",
@@ -59,5 +60,6 @@
"react": "^16.13.1 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.13.1 || ^17.0.0 || ^18.0.0",
"react-router-dom": "6.0.0-beta.0 || ^6.3.0"
}
},
"deprecated": "This package has been moved to the backstage/community-plugins repository. You should migrate to using @backstage-community/plugin-xcmetrics instead."
}