@backstage/plugin-scaffolder-backend 0.15.21-next.0 → 0.15.21

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/dist/index.d.ts CHANGED
@@ -214,8 +214,10 @@ declare type SerializedTaskEvent = {
214
214
  *
215
215
  * @public
216
216
  */
217
- declare type TaskSecrets = {
218
- token: string | undefined;
217
+ declare type TaskSecrets = Record<string, string> & {
218
+ /** @deprecated Use `backstageToken` instead */
219
+ token?: string;
220
+ backstageToken?: string;
219
221
  };
220
222
  /**
221
223
  * DispatchResult
@@ -321,8 +323,10 @@ declare type ActionContext<Input extends InputBase> = {
321
323
  logStream: Writable;
322
324
  /**
323
325
  * User token forwarded from initial request, for use in subsequent api requests
326
+ * @deprecated use `secrets.backstageToken` instead
324
327
  */
325
328
  token?: string | undefined;
329
+ secrets?: TaskSecrets;
326
330
  workspacePath: string;
327
331
  input: Input;
328
332
  output(name: string, value: JsonValue): void;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@backstage/plugin-scaffolder-backend",
3
3
  "description": "The Backstage backend plugin that helps you create new things",
4
- "version": "0.15.21-next.0",
4
+ "version": "0.15.21",
5
5
  "main": "dist/index.cjs.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -31,15 +31,15 @@
31
31
  "build:assets": "node scripts/build-nunjucks.js"
32
32
  },
33
33
  "dependencies": {
34
- "@backstage/backend-common": "^0.10.4-next.0",
35
- "@backstage/catalog-client": "^0.5.5-next.0",
36
- "@backstage/catalog-model": "^0.9.10-next.0",
37
- "@backstage/config": "^0.1.13-next.0",
34
+ "@backstage/backend-common": "^0.10.4",
35
+ "@backstage/catalog-client": "^0.5.5",
36
+ "@backstage/catalog-model": "^0.9.10",
37
+ "@backstage/config": "^0.1.13",
38
38
  "@backstage/errors": "^0.2.0",
39
- "@backstage/integration": "^0.7.2-next.0",
40
- "@backstage/plugin-catalog-backend": "^0.21.0-next.0",
41
- "@backstage/plugin-scaffolder-backend-module-cookiecutter": "^0.1.9-next.0",
42
- "@backstage/plugin-scaffolder-common": "^0.1.3-next.0",
39
+ "@backstage/integration": "^0.7.2",
40
+ "@backstage/plugin-catalog-backend": "^0.21.0",
41
+ "@backstage/plugin-scaffolder-backend-module-cookiecutter": "^0.1.9",
42
+ "@backstage/plugin-scaffolder-common": "^0.1.3",
43
43
  "@backstage/types": "^0.1.1",
44
44
  "@gitbeaker/core": "^34.6.0",
45
45
  "@gitbeaker/node": "^34.6.0",
@@ -73,8 +73,8 @@
73
73
  "yaml": "^1.10.0"
74
74
  },
75
75
  "devDependencies": {
76
- "@backstage/cli": "^0.12.0-next.0",
77
- "@backstage/test-utils": "^0.2.3-next.0",
76
+ "@backstage/cli": "^0.12.0",
77
+ "@backstage/test-utils": "^0.2.3",
78
78
  "@types/command-exists": "^1.2.0",
79
79
  "@types/fs-extra": "^9.0.1",
80
80
  "@types/git-url-parse": "^9.0.0",
@@ -95,5 +95,5 @@
95
95
  "assets"
96
96
  ],
97
97
  "configSchema": "config.d.ts",
98
- "gitHead": "31184691d5a38cb78b091c8f7ad6db80604519a6"
98
+ "gitHead": "600d6e3c854bbfb12a0078ca6f726d1c0d1fea0b"
99
99
  }