@backstage-community/plugin-copilot-backend 0.3.1 → 0.3.2

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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @backstage-community/plugin-copilot-backend
2
2
 
3
+ ## 0.3.2
4
+
5
+ ### Patch Changes
6
+
7
+ - e9b265d: Removed usages of `@backstage/backend-tasks`
8
+
3
9
  ## 0.3.1
4
10
 
5
11
  ### Patch Changes
package/README.md CHANGED
@@ -36,11 +36,11 @@ To install the plugin using the old method:
36
36
  1. In your `packages/backend/src/plugins/copilot.ts` file, add the following code:
37
37
 
38
38
  ```typescript
39
- import { TaskScheduleDefinition } from '@backstage/backend-tasks';
39
+ import { SchedulerServiceTaskScheduleDefinition } from '@backstage/backend-plugin-api';
40
40
  import { createRouterFromConfig } from '@backstage-community/plugin-copilot-backend';
41
41
 
42
42
  export default async function createPlugin(): Promise<void> {
43
- const schedule: TaskScheduleDefinition = {
43
+ const schedule: SchedulerServiceTaskScheduleDefinition = {
44
44
  frequency: { cron: '0 2 * * *' },
45
45
  timeout: { minutes: 15 },
46
46
  initialDelay: { seconds: 15 },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage-community/plugin-copilot-backend",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "homepage": "https://backstage.io",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/index.cjs.js",
@@ -43,7 +43,6 @@
43
43
  "@backstage/backend-app-api": "^1.1.0",
44
44
  "@backstage/backend-defaults": "^0.6.2",
45
45
  "@backstage/backend-plugin-api": "^1.1.0",
46
- "@backstage/backend-tasks": "^0.6.1",
47
46
  "@backstage/config": "^1.3.1",
48
47
  "@backstage/errors": "^1.2.6",
49
48
  "@backstage/integration": "^1.16.0",