@backstage/plugin-scaffolder-backend 1.10.0-next.1 → 1.10.0
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 +213 -0
- package/alpha/package.json +1 -1
- package/dist/index.alpha.d.ts +40 -1
- package/dist/index.beta.d.ts +39 -0
- package/dist/index.cjs.js +376 -86
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +39 -0
- package/package.json +14 -14
package/dist/index.d.ts
CHANGED
|
@@ -150,6 +150,17 @@ message?: string | undefined;
|
|
|
150
150
|
listWorkspace?: boolean | undefined;
|
|
151
151
|
}>;
|
|
152
152
|
|
|
153
|
+
/**
|
|
154
|
+
* Returns entity from the catalog by entity reference.
|
|
155
|
+
* @public
|
|
156
|
+
*/
|
|
157
|
+
export declare function createFetchCatalogEntityAction(options: {
|
|
158
|
+
catalogClient: CatalogApi;
|
|
159
|
+
}): TemplateAction< {
|
|
160
|
+
entityRef: string;
|
|
161
|
+
optional?: boolean | undefined;
|
|
162
|
+
}>;
|
|
163
|
+
|
|
153
164
|
/**
|
|
154
165
|
* Downloads content and places it in the workspace, or optionally
|
|
155
166
|
* in a subdirectory specified by the 'targetPath' input option.
|
|
@@ -299,6 +310,12 @@ users?: string[] | undefined;
|
|
|
299
310
|
teams?: string[] | undefined;
|
|
300
311
|
apps?: string[] | undefined;
|
|
301
312
|
} | undefined;
|
|
313
|
+
requiredApprovingReviewCount?: number | undefined;
|
|
314
|
+
restrictions?: {
|
|
315
|
+
users: string[];
|
|
316
|
+
teams: string[];
|
|
317
|
+
apps?: string[] | undefined;
|
|
318
|
+
} | undefined;
|
|
302
319
|
requiredStatusCheckContexts?: string[] | undefined;
|
|
303
320
|
requireBranchesToBeUpToDate?: boolean | undefined;
|
|
304
321
|
requiredConversationResolution?: boolean | undefined;
|
|
@@ -319,6 +336,7 @@ hasWiki?: boolean | undefined;
|
|
|
319
336
|
hasIssues?: boolean | undefined;
|
|
320
337
|
token?: string | undefined;
|
|
321
338
|
topics?: string[] | undefined;
|
|
339
|
+
requireCommitSigning?: boolean | undefined;
|
|
322
340
|
}>;
|
|
323
341
|
|
|
324
342
|
/**
|
|
@@ -347,11 +365,18 @@ users?: string[];
|
|
|
347
365
|
teams?: string[];
|
|
348
366
|
apps?: string[];
|
|
349
367
|
} | undefined;
|
|
368
|
+
requiredApprovingReviewCount?: number | undefined;
|
|
369
|
+
restrictions?: {
|
|
370
|
+
users: string[];
|
|
371
|
+
teams: string[];
|
|
372
|
+
apps?: string[];
|
|
373
|
+
} | undefined;
|
|
350
374
|
requiredStatusCheckContexts?: string[] | undefined;
|
|
351
375
|
requireBranchesToBeUpToDate?: boolean | undefined;
|
|
352
376
|
requiredConversationResolution?: boolean | undefined;
|
|
353
377
|
sourcePath?: string | undefined;
|
|
354
378
|
token?: string | undefined;
|
|
379
|
+
requiredCommitSigning?: boolean | undefined;
|
|
355
380
|
}>;
|
|
356
381
|
|
|
357
382
|
/**
|
|
@@ -447,6 +472,9 @@ repoVisibility?: "private" | "public" | undefined;
|
|
|
447
472
|
sourcePath?: string | undefined;
|
|
448
473
|
enableLFS?: boolean | undefined;
|
|
449
474
|
token?: string | undefined;
|
|
475
|
+
gitCommitMessage?: string | undefined;
|
|
476
|
+
gitAuthorName?: string | undefined;
|
|
477
|
+
gitAuthorEmail?: string | undefined;
|
|
450
478
|
}>;
|
|
451
479
|
|
|
452
480
|
/**
|
|
@@ -517,6 +545,12 @@ users?: string[];
|
|
|
517
545
|
teams?: string[];
|
|
518
546
|
apps?: string[];
|
|
519
547
|
} | undefined;
|
|
548
|
+
requiredApprovingReviewCount?: number | undefined;
|
|
549
|
+
restrictions?: {
|
|
550
|
+
users: string[];
|
|
551
|
+
teams: string[];
|
|
552
|
+
apps?: string[];
|
|
553
|
+
} | undefined;
|
|
520
554
|
requireCodeOwnerReviews?: boolean | undefined;
|
|
521
555
|
dismissStaleReviews?: boolean | undefined;
|
|
522
556
|
requiredStatusCheckContexts?: string[] | undefined;
|
|
@@ -539,6 +573,7 @@ hasWiki?: boolean | undefined;
|
|
|
539
573
|
hasIssues?: boolean | undefined;
|
|
540
574
|
token?: string | undefined;
|
|
541
575
|
topics?: string[] | undefined;
|
|
576
|
+
requiredCommitSigning?: boolean | undefined;
|
|
542
577
|
}>;
|
|
543
578
|
|
|
544
579
|
/**
|
|
@@ -1045,6 +1080,10 @@ export declare class TaskWorker {
|
|
|
1045
1080
|
export declare type TemplateAction<Input extends JsonObject> = {
|
|
1046
1081
|
id: string;
|
|
1047
1082
|
description?: string;
|
|
1083
|
+
examples?: {
|
|
1084
|
+
description: string;
|
|
1085
|
+
example: string;
|
|
1086
|
+
}[];
|
|
1048
1087
|
supportsDryRun?: boolean;
|
|
1049
1088
|
schema?: {
|
|
1050
1089
|
input?: Schema;
|
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": "1.10.0
|
|
4
|
+
"version": "1.10.0",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -34,18 +34,18 @@
|
|
|
34
34
|
"build:assets": "node scripts/build-nunjucks.js"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@backstage/backend-common": "^0.18.0
|
|
38
|
-
"@backstage/backend-plugin-api": "^0.
|
|
39
|
-
"@backstage/backend-tasks": "^0.4.1
|
|
40
|
-
"@backstage/catalog-client": "^1.3.0
|
|
41
|
-
"@backstage/catalog-model": "^1.1.5
|
|
42
|
-
"@backstage/config": "^1.0.6
|
|
37
|
+
"@backstage/backend-common": "^0.18.0",
|
|
38
|
+
"@backstage/backend-plugin-api": "^0.3.0",
|
|
39
|
+
"@backstage/backend-tasks": "^0.4.1",
|
|
40
|
+
"@backstage/catalog-client": "^1.3.0",
|
|
41
|
+
"@backstage/catalog-model": "^1.1.5",
|
|
42
|
+
"@backstage/config": "^1.0.6",
|
|
43
43
|
"@backstage/errors": "^1.1.4",
|
|
44
|
-
"@backstage/integration": "^1.4.2
|
|
45
|
-
"@backstage/plugin-auth-node": "^0.2.9
|
|
46
|
-
"@backstage/plugin-catalog-backend": "^1.7.0
|
|
47
|
-
"@backstage/plugin-catalog-node": "^1.3.1
|
|
48
|
-
"@backstage/plugin-scaffolder-common": "^1.2.4
|
|
44
|
+
"@backstage/integration": "^1.4.2",
|
|
45
|
+
"@backstage/plugin-auth-node": "^0.2.9",
|
|
46
|
+
"@backstage/plugin-catalog-backend": "^1.7.0",
|
|
47
|
+
"@backstage/plugin-catalog-node": "^1.3.1",
|
|
48
|
+
"@backstage/plugin-scaffolder-common": "^1.2.4",
|
|
49
49
|
"@backstage/types": "^1.0.2",
|
|
50
50
|
"@gitbeaker/core": "^35.6.0",
|
|
51
51
|
"@gitbeaker/node": "^35.1.0",
|
|
@@ -82,8 +82,8 @@
|
|
|
82
82
|
"zod": "~3.18.0"
|
|
83
83
|
},
|
|
84
84
|
"devDependencies": {
|
|
85
|
-
"@backstage/backend-test-utils": "^0.1.32
|
|
86
|
-
"@backstage/cli": "^0.22.1
|
|
85
|
+
"@backstage/backend-test-utils": "^0.1.32",
|
|
86
|
+
"@backstage/cli": "^0.22.1",
|
|
87
87
|
"@types/command-exists": "^1.2.0",
|
|
88
88
|
"@types/fs-extra": "^9.0.1",
|
|
89
89
|
"@types/git-url-parse": "^9.0.0",
|