@backstage/plugin-scaffolder-backend-module-github 0.4.0-next.0 → 0.4.0-next.1
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 +17 -0
- package/dist/index.cjs.js +142 -22
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +19 -1
- package/package.json +7 -7
package/dist/index.d.ts
CHANGED
|
@@ -143,6 +143,7 @@ declare function createGithubRepoPushAction(options: {
|
|
|
143
143
|
sourcePath?: string | undefined;
|
|
144
144
|
token?: string | undefined;
|
|
145
145
|
requiredCommitSigning?: boolean | undefined;
|
|
146
|
+
requireLastPushApproval?: boolean | undefined;
|
|
146
147
|
}, _backstage_types.JsonObject>;
|
|
147
148
|
|
|
148
149
|
/**
|
|
@@ -313,6 +314,7 @@ declare function createPublishGithubAction(options: {
|
|
|
313
314
|
requiredStatusCheckContexts?: string[] | undefined;
|
|
314
315
|
requireBranchesToBeUpToDate?: boolean | undefined;
|
|
315
316
|
requiredConversationResolution?: boolean | undefined;
|
|
317
|
+
requireLastPushApproval?: boolean | undefined;
|
|
316
318
|
repoVisibility?: "internal" | "private" | "public" | undefined;
|
|
317
319
|
collaborators?: ({
|
|
318
320
|
user: string;
|
|
@@ -358,6 +360,22 @@ declare function createGithubAutolinksAction(options: {
|
|
|
358
360
|
token?: string | undefined;
|
|
359
361
|
}, _backstage_types.JsonObject>;
|
|
360
362
|
|
|
363
|
+
/**
|
|
364
|
+
* Creates a new action that enables GitHub Pages for a repository.
|
|
365
|
+
*
|
|
366
|
+
* @public
|
|
367
|
+
*/
|
|
368
|
+
declare function createGithubPagesEnableAction(options: {
|
|
369
|
+
integrations: ScmIntegrationRegistry;
|
|
370
|
+
githubCredentialsProvider?: GithubCredentialsProvider;
|
|
371
|
+
}): _backstage_plugin_scaffolder_node.TemplateAction<{
|
|
372
|
+
repoUrl: string;
|
|
373
|
+
buildType?: "legacy" | "workflow" | undefined;
|
|
374
|
+
sourceBranch?: string | undefined;
|
|
375
|
+
sourcePath?: "/" | "/docs" | undefined;
|
|
376
|
+
token?: string | undefined;
|
|
377
|
+
}, _backstage_types.JsonObject>;
|
|
378
|
+
|
|
361
379
|
/**
|
|
362
380
|
* Helper for generating octokit configuration options for given repoUrl.
|
|
363
381
|
* If no token is provided, it will attempt to get a token from the credentials provider.
|
|
@@ -376,4 +394,4 @@ declare function getOctokitOptions(options: {
|
|
|
376
394
|
*/
|
|
377
395
|
declare const githubModule: _backstage_backend_plugin_api.BackendFeatureCompat;
|
|
378
396
|
|
|
379
|
-
export { type CreateGithubPullRequestActionOptions, createGithubActionsDispatchAction, createGithubAutolinksAction, createGithubDeployKeyAction, createGithubEnvironmentAction, createGithubIssuesLabelAction, createGithubRepoCreateAction, createGithubRepoPushAction, createGithubWebhookAction, createPublishGithubAction, createPublishGithubPullRequestAction, githubModule as default, getOctokitOptions };
|
|
397
|
+
export { type CreateGithubPullRequestActionOptions, createGithubActionsDispatchAction, createGithubAutolinksAction, createGithubDeployKeyAction, createGithubEnvironmentAction, createGithubIssuesLabelAction, createGithubPagesEnableAction, createGithubRepoCreateAction, createGithubRepoPushAction, createGithubWebhookAction, createPublishGithubAction, createPublishGithubPullRequestAction, githubModule as default, getOctokitOptions };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-scaffolder-backend-module-github",
|
|
3
|
-
"version": "0.4.0-next.
|
|
3
|
+
"version": "0.4.0-next.1",
|
|
4
4
|
"description": "The github module for @backstage/plugin-scaffolder-backend",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "backend-plugin-module",
|
|
@@ -39,12 +39,12 @@
|
|
|
39
39
|
"test": "backstage-cli package test"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@backstage/backend-common": "^0.23.
|
|
43
|
-
"@backstage/backend-plugin-api": "^0.6.
|
|
42
|
+
"@backstage/backend-common": "^0.23.3-next.1",
|
|
43
|
+
"@backstage/backend-plugin-api": "^0.6.22-next.1",
|
|
44
44
|
"@backstage/config": "^1.2.0",
|
|
45
45
|
"@backstage/errors": "^1.2.4",
|
|
46
46
|
"@backstage/integration": "^1.13.0-next.0",
|
|
47
|
-
"@backstage/plugin-scaffolder-node": "^0.4.
|
|
47
|
+
"@backstage/plugin-scaffolder-node": "^0.4.8-next.1",
|
|
48
48
|
"@octokit/webhooks": "^10.0.0",
|
|
49
49
|
"libsodium-wrappers": "^0.7.11",
|
|
50
50
|
"octokit": "^3.0.0",
|
|
@@ -52,9 +52,9 @@
|
|
|
52
52
|
"yaml": "^2.0.0"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@backstage/backend-test-utils": "^0.4.
|
|
56
|
-
"@backstage/cli": "^0.26.
|
|
57
|
-
"@backstage/plugin-scaffolder-node-test-utils": "^0.1.
|
|
55
|
+
"@backstage/backend-test-utils": "^0.4.4-next.1",
|
|
56
|
+
"@backstage/cli": "^0.26.11-next.1",
|
|
57
|
+
"@backstage/plugin-scaffolder-node-test-utils": "^0.1.9-next.1",
|
|
58
58
|
"@types/libsodium-wrappers": "^0.7.10",
|
|
59
59
|
"fs-extra": "^11.2.0",
|
|
60
60
|
"jsonschema": "^1.2.6"
|