@backstage-community/plugin-copilot-backend 0.3.0 → 0.3.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.
- package/CHANGELOG.md +6 -0
- package/README.md +11 -8
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @backstage-community/plugin-copilot-backend
|
|
2
2
|
|
|
3
|
+
## 0.3.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 6bf6fe4: Updated READMEs to clarify installation instructions including locations to run commands from and steps for new backend system
|
|
8
|
+
|
|
3
9
|
## 0.3.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -4,6 +4,15 @@ This GitHub Copilot plugin integrates with Backstage to provide metrics and insi
|
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
7
|
+
### Install Dependencies
|
|
8
|
+
|
|
9
|
+
Add the `@backstage-community/plugin-copilot-backend` package to your backend:
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
# From your Backstage root directory
|
|
13
|
+
yarn --cwd packages/backend add @backstage-community/plugin-copilot-backend
|
|
14
|
+
```
|
|
15
|
+
|
|
7
16
|
### New Backend System
|
|
8
17
|
|
|
9
18
|
To configure the plugin using the new backend system:
|
|
@@ -24,13 +33,7 @@ To configure the plugin using the new backend system:
|
|
|
24
33
|
|
|
25
34
|
To install the plugin using the old method:
|
|
26
35
|
|
|
27
|
-
1.
|
|
28
|
-
|
|
29
|
-
```sh
|
|
30
|
-
yarn --cwd packages/backend add @backstage-community/plugin-copilot-backend
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
2. In your `packages/backend/src/plugins/copilot.ts` file, add the following code:
|
|
36
|
+
1. In your `packages/backend/src/plugins/copilot.ts` file, add the following code:
|
|
34
37
|
|
|
35
38
|
```typescript
|
|
36
39
|
import { TaskScheduleDefinition } from '@backstage/backend-tasks';
|
|
@@ -47,7 +50,7 @@ To install the plugin using the old method:
|
|
|
47
50
|
}
|
|
48
51
|
```
|
|
49
52
|
|
|
50
|
-
|
|
53
|
+
1. Integrate the plugin into the main backend router in `packages/backend/src/index.ts`:
|
|
51
54
|
|
|
52
55
|
```typescript
|
|
53
56
|
import { createRouterFromConfig } from './plugins/copilot';
|