@backstage/plugin-scaffolder-backend-module-github 0.5.0-next.1 → 0.5.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 +41 -0
- package/dist/index.cjs.js +140 -10
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +11 -0
- package/package.json +11 -9
package/dist/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import * as _backstage_plugin_scaffolder_node from '@backstage/plugin-scaffolder
|
|
|
2
2
|
import * as _backstage_types from '@backstage/types';
|
|
3
3
|
import { ScmIntegrations, GithubCredentialsProvider, ScmIntegrationRegistry } from '@backstage/integration';
|
|
4
4
|
import { Config } from '@backstage/config';
|
|
5
|
+
import { CatalogApi } from '@backstage/catalog-client';
|
|
5
6
|
import { Octokit } from 'octokit';
|
|
6
7
|
import { createPullRequest } from 'octokit-plugin-create-pull-request';
|
|
7
8
|
import { OctokitOptions } from '@octokit/core/dist-types/types';
|
|
@@ -103,6 +104,9 @@ declare function createGithubRepoCreateAction(options: {
|
|
|
103
104
|
includeClaimKeys?: string[] | undefined;
|
|
104
105
|
} | undefined;
|
|
105
106
|
requireCommitSigning?: boolean | undefined;
|
|
107
|
+
customProperties?: {
|
|
108
|
+
[key: string]: string;
|
|
109
|
+
} | undefined;
|
|
106
110
|
}, _backstage_types.JsonObject>;
|
|
107
111
|
|
|
108
112
|
/**
|
|
@@ -188,6 +192,7 @@ declare function createGithubDeployKeyAction(options: {
|
|
|
188
192
|
*/
|
|
189
193
|
declare function createGithubEnvironmentAction(options: {
|
|
190
194
|
integrations: ScmIntegrationRegistry;
|
|
195
|
+
catalogClient?: CatalogApi;
|
|
191
196
|
}): _backstage_plugin_scaffolder_node.TemplateAction<{
|
|
192
197
|
repoUrl: string;
|
|
193
198
|
name: string;
|
|
@@ -204,6 +209,9 @@ declare function createGithubEnvironmentAction(options: {
|
|
|
204
209
|
[key: string]: string;
|
|
205
210
|
} | undefined;
|
|
206
211
|
token?: string | undefined;
|
|
212
|
+
waitTimer?: number | undefined;
|
|
213
|
+
preventSelfReview?: boolean | undefined;
|
|
214
|
+
reviewers?: string[] | undefined;
|
|
207
215
|
}, _backstage_types.JsonObject>;
|
|
208
216
|
|
|
209
217
|
/**
|
|
@@ -343,6 +351,9 @@ declare function createPublishGithubAction(options: {
|
|
|
343
351
|
includeClaimKeys?: string[] | undefined;
|
|
344
352
|
} | undefined;
|
|
345
353
|
requiredCommitSigning?: boolean | undefined;
|
|
354
|
+
customProperties?: {
|
|
355
|
+
[key: string]: string;
|
|
356
|
+
} | undefined;
|
|
346
357
|
}, _backstage_types.JsonObject>;
|
|
347
358
|
|
|
348
359
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-scaffolder-backend-module-github",
|
|
3
|
-
"version": "0.5.0
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "The github module for @backstage/plugin-scaffolder-backend",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "backend-plugin-module",
|
|
@@ -39,22 +39,24 @@
|
|
|
39
39
|
"test": "backstage-cli package test"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@backstage/backend-common": "^0.25.0
|
|
43
|
-
"@backstage/backend-plugin-api": "^0.
|
|
42
|
+
"@backstage/backend-common": "^0.25.0",
|
|
43
|
+
"@backstage/backend-plugin-api": "^1.0.0",
|
|
44
|
+
"@backstage/catalog-client": "^1.7.0",
|
|
45
|
+
"@backstage/catalog-model": "^1.7.0",
|
|
44
46
|
"@backstage/config": "^1.2.0",
|
|
45
47
|
"@backstage/errors": "^1.2.4",
|
|
46
|
-
"@backstage/integration": "^1.
|
|
47
|
-
"@backstage/plugin-scaffolder-node": "^0.4.11
|
|
48
|
-
"@octokit/webhooks": "^10.
|
|
48
|
+
"@backstage/integration": "^1.15.0",
|
|
49
|
+
"@backstage/plugin-scaffolder-node": "^0.4.11",
|
|
50
|
+
"@octokit/webhooks": "^10.9.2",
|
|
49
51
|
"libsodium-wrappers": "^0.7.11",
|
|
50
52
|
"octokit": "^3.0.0",
|
|
51
53
|
"octokit-plugin-create-pull-request": "^5.0.0",
|
|
52
54
|
"yaml": "^2.0.0"
|
|
53
55
|
},
|
|
54
56
|
"devDependencies": {
|
|
55
|
-
"@backstage/backend-test-utils": "^0.
|
|
56
|
-
"@backstage/cli": "^0.27.1
|
|
57
|
-
"@backstage/plugin-scaffolder-node-test-utils": "^0.1.12
|
|
57
|
+
"@backstage/backend-test-utils": "^1.0.0",
|
|
58
|
+
"@backstage/cli": "^0.27.1",
|
|
59
|
+
"@backstage/plugin-scaffolder-node-test-utils": "^0.1.12",
|
|
58
60
|
"@types/libsodium-wrappers": "^0.7.10",
|
|
59
61
|
"fs-extra": "^11.2.0",
|
|
60
62
|
"jsonschema": "^1.2.6"
|