@@ -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.
|
||||
@@ -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.
|
||||
|
||||

|
||||
|
||||
## 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.
|
||||
|
||||
@@ -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."
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user