@backstage/plugin-scaffolder-node 0.13.7-next.1 → 0.13.7-next.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,17 @@
1
1
  # @backstage/plugin-scaffolder-node
2
2
 
3
+ ## 0.13.7-next.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 3bb3710: Added optional cancellation support when waiting to claim a scaffolder task.
8
+ - Updated dependencies
9
+ - @backstage/backend-plugin-api@1.10.1-next.1
10
+ - @backstage/integration@2.1.2-next.1
11
+ - @backstage/plugin-permission-common@0.9.11-next.0
12
+ - @backstage/plugin-permission-node@0.11.4-next.1
13
+ - @backstage/plugin-scaffolder-common@2.3.0-next.2
14
+
3
15
  ## 0.13.7-next.1
4
16
 
5
17
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -180,7 +180,10 @@ interface TaskBroker {
180
180
  secrets?: TaskSecrets;
181
181
  taskId: string;
182
182
  }): Promise<void>;
183
- claim(): Promise<TaskContext>;
183
+ claim(options?: {
184
+ /** Stops waiting before a task has been claimed. */
185
+ signal?: AbortSignal;
186
+ }): Promise<TaskContext>;
184
187
  recoverTasks(): Promise<void>;
185
188
  dispatch(options: TaskBrokerDispatchOptions): Promise<TaskBrokerDispatchResult>;
186
189
  vacuumTasks(options: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-scaffolder-node",
3
- "version": "0.13.7-next.1",
3
+ "version": "0.13.7-next.2",
4
4
  "description": "The plugin-scaffolder-node module for @backstage/plugin-scaffolder-backend",
5
5
  "backstage": {
6
6
  "role": "node-library",
@@ -70,13 +70,13 @@
70
70
  "test": "backstage-cli package test"
71
71
  },
72
72
  "dependencies": {
73
- "@backstage/backend-plugin-api": "1.10.1-next.0",
73
+ "@backstage/backend-plugin-api": "1.10.1-next.1",
74
74
  "@backstage/catalog-model": "1.10.0",
75
75
  "@backstage/errors": "1.3.1",
76
- "@backstage/integration": "2.1.2-next.0",
77
- "@backstage/plugin-permission-common": "0.9.10",
78
- "@backstage/plugin-permission-node": "0.11.4-next.0",
79
- "@backstage/plugin-scaffolder-common": "2.3.0-next.1",
76
+ "@backstage/integration": "2.1.2-next.1",
77
+ "@backstage/plugin-permission-common": "0.9.11-next.0",
78
+ "@backstage/plugin-permission-node": "0.11.4-next.1",
79
+ "@backstage/plugin-scaffolder-common": "2.3.0-next.2",
80
80
  "@backstage/types": "1.2.2",
81
81
  "@isomorphic-git/pgp-plugin": "^0.0.7",
82
82
  "concat-stream": "^2.0.0",
@@ -93,14 +93,14 @@
93
93
  "zod-to-json-schema": "^3.25.1"
94
94
  },
95
95
  "devDependencies": {
96
- "@backstage/backend-test-utils": "1.11.7-next.0",
97
- "@backstage/cli": "0.36.6-next.0",
98
- "@backstage/config": "1.3.8",
96
+ "@backstage/backend-test-utils": "1.11.7-next.1",
97
+ "@backstage/cli": "0.36.6-next.1",
98
+ "@backstage/config": "1.3.9-next.0",
99
99
  "@types/lodash": "^4.14.151",
100
100
  "msw": "^2.0.0"
101
101
  },
102
102
  "peerDependencies": {
103
- "@backstage/backend-test-utils": "1.11.7-next.0"
103
+ "@backstage/backend-test-utils": "1.11.7-next.1"
104
104
  },
105
105
  "peerDependenciesMeta": {
106
106
  "@backstage/backend-test-utils": {