@backstage/plugin-scaffolder-backend 0.0.0-nightly-20220717025420 → 0.0.0-nightly-20220721025105
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 +28 -10
- package/alpha/package.json +1 -1
- package/dist/index.alpha.d.ts +20 -0
- package/dist/index.beta.d.ts +20 -0
- package/dist/index.cjs.js +201 -14
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +20 -0
- package/package.json +12 -12
package/dist/index.d.ts
CHANGED
|
@@ -303,6 +303,7 @@ repoUrl: string;
|
|
|
303
303
|
description?: string | undefined;
|
|
304
304
|
defaultBranch?: string | undefined;
|
|
305
305
|
protectDefaultBranch?: boolean | undefined;
|
|
306
|
+
protectEnforceAdmins?: boolean | undefined;
|
|
306
307
|
gitCommitMessage?: string | undefined;
|
|
307
308
|
gitAuthorName?: string | undefined;
|
|
308
309
|
gitAuthorEmail?: string | undefined;
|
|
@@ -440,6 +441,22 @@ gitAuthorEmail?: string | undefined;
|
|
|
440
441
|
sourcePath?: string | undefined;
|
|
441
442
|
}>;
|
|
442
443
|
|
|
444
|
+
/**
|
|
445
|
+
* Creates a new action that creates a Gerrit review
|
|
446
|
+
* @public
|
|
447
|
+
*/
|
|
448
|
+
export declare function createPublishGerritReviewAction(options: {
|
|
449
|
+
integrations: ScmIntegrationRegistry;
|
|
450
|
+
config: Config;
|
|
451
|
+
}): TemplateAction< {
|
|
452
|
+
repoUrl: string;
|
|
453
|
+
branch?: string | undefined;
|
|
454
|
+
sourcePath?: string | undefined;
|
|
455
|
+
gitCommitMessage?: string | undefined;
|
|
456
|
+
gitAuthorName?: string | undefined;
|
|
457
|
+
gitAuthorEmail?: string | undefined;
|
|
458
|
+
}>;
|
|
459
|
+
|
|
443
460
|
/**
|
|
444
461
|
* Creates a new action that initializes a git repository of the content in the workspace
|
|
445
462
|
* and publishes it to GitHub.
|
|
@@ -456,6 +473,7 @@ description?: string | undefined;
|
|
|
456
473
|
access?: string | undefined;
|
|
457
474
|
defaultBranch?: string | undefined;
|
|
458
475
|
protectDefaultBranch?: boolean | undefined;
|
|
476
|
+
protectEnforceAdmins?: boolean | undefined;
|
|
459
477
|
deleteBranchOnMerge?: boolean | undefined;
|
|
460
478
|
gitCommitMessage?: string | undefined;
|
|
461
479
|
gitAuthorName?: string | undefined;
|
|
@@ -532,9 +550,11 @@ description: string;
|
|
|
532
550
|
branchName: string;
|
|
533
551
|
targetPath: string;
|
|
534
552
|
token?: string | undefined;
|
|
553
|
+
commitAction?: "create" | "update" | "delete" | undefined;
|
|
535
554
|
/** @deprecated Use projectPath instead */
|
|
536
555
|
projectid?: string | undefined;
|
|
537
556
|
removeSourceBranch?: boolean | undefined;
|
|
557
|
+
assignee?: string | undefined;
|
|
538
558
|
}>;
|
|
539
559
|
|
|
540
560
|
/**
|
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.0.0-nightly-
|
|
4
|
+
"version": "0.0.0-nightly-20220721025105",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -35,16 +35,16 @@
|
|
|
35
35
|
"build:assets": "node scripts/build-nunjucks.js"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@backstage/backend-common": "0.0.0-nightly-
|
|
39
|
-
"@backstage/catalog-client": "
|
|
40
|
-
"@backstage/catalog-model": "
|
|
38
|
+
"@backstage/backend-common": "0.0.0-nightly-20220721025105",
|
|
39
|
+
"@backstage/catalog-client": "^1.0.4",
|
|
40
|
+
"@backstage/catalog-model": "^1.1.0",
|
|
41
41
|
"@backstage/config": "^1.0.1",
|
|
42
|
-
"@backstage/errors": "
|
|
43
|
-
"@backstage/integration": "0.0.0-nightly-
|
|
44
|
-
"@backstage/plugin-catalog-backend": "0.0.0-nightly-
|
|
45
|
-
"@backstage/plugin-scaffolder-common": "
|
|
46
|
-
"@backstage/backend-plugin-api": "0.0.0-nightly-
|
|
47
|
-
"@backstage/plugin-catalog-node": "
|
|
42
|
+
"@backstage/errors": "^1.1.0",
|
|
43
|
+
"@backstage/integration": "0.0.0-nightly-20220721025105",
|
|
44
|
+
"@backstage/plugin-catalog-backend": "0.0.0-nightly-20220721025105",
|
|
45
|
+
"@backstage/plugin-scaffolder-common": "^1.1.2",
|
|
46
|
+
"@backstage/backend-plugin-api": "0.0.0-nightly-20220721025105",
|
|
47
|
+
"@backstage/plugin-catalog-node": "^1.0.0",
|
|
48
48
|
"@backstage/types": "^1.0.0",
|
|
49
49
|
"@gitbeaker/core": "^35.6.0",
|
|
50
50
|
"@gitbeaker/node": "^35.1.0",
|
|
@@ -79,8 +79,8 @@
|
|
|
79
79
|
"zod": "^3.11.6"
|
|
80
80
|
},
|
|
81
81
|
"devDependencies": {
|
|
82
|
-
"@backstage/backend-test-utils": "0.0.0-nightly-
|
|
83
|
-
"@backstage/cli": "0.0.0-nightly-
|
|
82
|
+
"@backstage/backend-test-utils": "0.0.0-nightly-20220721025105",
|
|
83
|
+
"@backstage/cli": "0.0.0-nightly-20220721025105",
|
|
84
84
|
"@types/command-exists": "^1.2.0",
|
|
85
85
|
"@types/fs-extra": "^9.0.1",
|
|
86
86
|
"@types/git-url-parse": "^9.0.0",
|