@backstage/plugin-scaffolder-backend 1.2.0 → 1.3.0-next.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 +14 -0
- package/dist/index.cjs.js +149 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +18 -1
- package/package.json +7 -7
package/dist/index.d.ts
CHANGED
|
@@ -447,6 +447,23 @@ declare function createPublishFileAction(): TemplateAction<{
|
|
|
447
447
|
path: string;
|
|
448
448
|
}>;
|
|
449
449
|
|
|
450
|
+
/**
|
|
451
|
+
* Creates a new action that initializes a git repository of the content in the workspace
|
|
452
|
+
* and publishes it to a Gerrit instance.
|
|
453
|
+
* @public
|
|
454
|
+
*/
|
|
455
|
+
declare function createPublishGerritAction(options: {
|
|
456
|
+
integrations: ScmIntegrationRegistry;
|
|
457
|
+
config: Config;
|
|
458
|
+
}): TemplateAction<{
|
|
459
|
+
repoUrl: string;
|
|
460
|
+
description: string;
|
|
461
|
+
defaultBranch?: string | undefined;
|
|
462
|
+
gitCommitMessage?: string | undefined;
|
|
463
|
+
gitAuthorName?: string | undefined;
|
|
464
|
+
gitAuthorEmail?: string | undefined;
|
|
465
|
+
}>;
|
|
466
|
+
|
|
450
467
|
/**
|
|
451
468
|
* Creates a new action that initializes a git repository of the content in the workspace
|
|
452
469
|
* and publishes it to GitHub.
|
|
@@ -800,4 +817,4 @@ declare class ScaffolderEntitiesProcessor implements CatalogProcessor {
|
|
|
800
817
|
postProcessEntity(entity: Entity, _location: LocationSpec, emit: CatalogProcessorEmit): Promise<Entity>;
|
|
801
818
|
}
|
|
802
819
|
|
|
803
|
-
export { ActionContext, CreateBuiltInActionsOptions, CreateGithubPullRequestActionOptions, CreateGithubPullRequestClientFactoryInput, CreateWorkerOptions, CurrentClaimedTask, DatabaseTaskStore, DatabaseTaskStoreOptions, OctokitWithPullRequestPluginClient, RouterOptions, RunCommandOptions, ScaffolderEntitiesProcessor, SerializedTask, SerializedTaskEvent, TaskBroker, TaskBrokerDispatchOptions, TaskBrokerDispatchResult, TaskCompletionState, TaskContext, TaskEventType, TaskManager, TaskSecrets, TaskStatus, TaskStore, TaskStoreCreateTaskOptions, TaskStoreCreateTaskResult, TaskStoreEmitOptions, TaskStoreListEventsOptions, TaskWorker, TemplateAction, TemplateActionRegistry, TemplateFilter, createBuiltinActions, createCatalogRegisterAction, createCatalogWriteAction, createDebugLogAction, createFetchPlainAction, createFetchTemplateAction, createFilesystemDeleteAction, createFilesystemRenameAction, createGithubActionsDispatchAction, createGithubIssuesLabelAction, createGithubWebhookAction, createPublishAzureAction, createPublishBitbucketAction, createPublishBitbucketCloudAction, createPublishBitbucketServerAction, createPublishFileAction, createPublishGithubAction, createPublishGithubPullRequestAction, createPublishGitlabAction, createPublishGitlabMergeRequestAction, createRouter, createTemplateAction, executeShellCommand, fetchContents };
|
|
820
|
+
export { ActionContext, CreateBuiltInActionsOptions, CreateGithubPullRequestActionOptions, CreateGithubPullRequestClientFactoryInput, CreateWorkerOptions, CurrentClaimedTask, DatabaseTaskStore, DatabaseTaskStoreOptions, OctokitWithPullRequestPluginClient, RouterOptions, RunCommandOptions, ScaffolderEntitiesProcessor, SerializedTask, SerializedTaskEvent, TaskBroker, TaskBrokerDispatchOptions, TaskBrokerDispatchResult, TaskCompletionState, TaskContext, TaskEventType, TaskManager, TaskSecrets, TaskStatus, TaskStore, TaskStoreCreateTaskOptions, TaskStoreCreateTaskResult, TaskStoreEmitOptions, TaskStoreListEventsOptions, TaskWorker, TemplateAction, TemplateActionRegistry, TemplateFilter, createBuiltinActions, createCatalogRegisterAction, createCatalogWriteAction, createDebugLogAction, createFetchPlainAction, createFetchTemplateAction, createFilesystemDeleteAction, createFilesystemRenameAction, createGithubActionsDispatchAction, createGithubIssuesLabelAction, createGithubWebhookAction, createPublishAzureAction, createPublishBitbucketAction, createPublishBitbucketCloudAction, createPublishBitbucketServerAction, createPublishFileAction, createPublishGerritAction, createPublishGithubAction, createPublishGithubPullRequestAction, createPublishGitlabAction, createPublishGitlabMergeRequestAction, createRouter, createTemplateAction, executeShellCommand, fetchContents };
|
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.
|
|
4
|
+
"version": "1.3.0-next.0",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -34,13 +34,13 @@
|
|
|
34
34
|
"build:assets": "node scripts/build-nunjucks.js"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@backstage/backend-common": "^0.13.
|
|
37
|
+
"@backstage/backend-common": "^0.13.6-next.0",
|
|
38
38
|
"@backstage/catalog-client": "^1.0.2",
|
|
39
39
|
"@backstage/catalog-model": "^1.0.2",
|
|
40
40
|
"@backstage/config": "^1.0.1",
|
|
41
41
|
"@backstage/errors": "^1.0.0",
|
|
42
|
-
"@backstage/integration": "^1.2.0",
|
|
43
|
-
"@backstage/plugin-catalog-backend": "^1.
|
|
42
|
+
"@backstage/integration": "^1.2.1-next.0",
|
|
43
|
+
"@backstage/plugin-catalog-backend": "^1.2.0-next.0",
|
|
44
44
|
"@backstage/plugin-scaffolder-common": "^1.1.0",
|
|
45
45
|
"@backstage/types": "^1.0.0",
|
|
46
46
|
"@gitbeaker/core": "^35.6.0",
|
|
@@ -74,8 +74,8 @@
|
|
|
74
74
|
"zen-observable": "^0.8.15"
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
77
|
-
"@backstage/backend-test-utils": "^0.1.
|
|
78
|
-
"@backstage/cli": "^0.17.
|
|
77
|
+
"@backstage/backend-test-utils": "^0.1.25-next.0",
|
|
78
|
+
"@backstage/cli": "^0.17.2-next.0",
|
|
79
79
|
"@types/command-exists": "^1.2.0",
|
|
80
80
|
"@types/fs-extra": "^9.0.1",
|
|
81
81
|
"@types/git-url-parse": "^9.0.0",
|
|
@@ -97,5 +97,5 @@
|
|
|
97
97
|
"assets"
|
|
98
98
|
],
|
|
99
99
|
"configSchema": "config.d.ts",
|
|
100
|
-
"gitHead": "
|
|
100
|
+
"gitHead": "c1511c99a532aeb003a97510a5638bd939ee65ca"
|
|
101
101
|
}
|