@backstage/plugin-scaffolder-backend 1.1.0-next.1 → 1.2.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/dist/index.d.ts CHANGED
@@ -366,16 +366,58 @@ declare function createPublishAzureAction(options: {
366
366
  defaultBranch?: string | undefined;
367
367
  sourcePath?: string | undefined;
368
368
  token?: string | undefined;
369
+ gitCommitMessage?: string | undefined;
370
+ gitAuthorName?: string | undefined;
371
+ gitAuthorEmail?: string | undefined;
369
372
  }>;
370
373
 
371
374
  /**
372
375
  * Creates a new action that initializes a git repository of the content in the workspace
373
376
  * and publishes it to Bitbucket.
374
377
  * @public
378
+ * @deprecated in favor of createPublishBitbucketCloudAction and createPublishBitbucketServerAction
375
379
  */
376
380
  declare function createPublishBitbucketAction(options: {
377
381
  integrations: ScmIntegrationRegistry;
378
382
  config: Config;
383
+ }): TemplateAction<{
384
+ repoUrl: string;
385
+ description?: string | undefined;
386
+ defaultBranch?: string | undefined;
387
+ repoVisibility?: "private" | "public" | undefined;
388
+ sourcePath?: string | undefined;
389
+ enableLFS?: boolean | undefined;
390
+ token?: string | undefined;
391
+ gitCommitMessage?: string | undefined;
392
+ gitAuthorName?: string | undefined;
393
+ gitAuthorEmail?: string | undefined;
394
+ }>;
395
+
396
+ /**
397
+ * Creates a new action that initializes a git repository of the content in the workspace
398
+ * and publishes it to Bitbucket Cloud.
399
+ * @public
400
+ */
401
+ declare function createPublishBitbucketCloudAction(options: {
402
+ integrations: ScmIntegrationRegistry;
403
+ config: Config;
404
+ }): TemplateAction<{
405
+ repoUrl: string;
406
+ description?: string | undefined;
407
+ defaultBranch?: string | undefined;
408
+ repoVisibility?: "private" | "public" | undefined;
409
+ sourcePath?: string | undefined;
410
+ token?: string | undefined;
411
+ }>;
412
+
413
+ /**
414
+ * Creates a new action that initializes a git repository of the content in the workspace
415
+ * and publishes it to Bitbucket Server.
416
+ * @public
417
+ */
418
+ declare function createPublishBitbucketServerAction(options: {
419
+ integrations: ScmIntegrationRegistry;
420
+ config: Config;
379
421
  }): TemplateAction<{
380
422
  repoUrl: string;
381
423
  description?: string | undefined;
@@ -417,11 +459,15 @@ declare function createPublishGithubAction(options: {
417
459
  access?: string | undefined;
418
460
  defaultBranch?: string | undefined;
419
461
  deleteBranchOnMerge?: boolean | undefined;
462
+ gitCommitMessage?: string | undefined;
463
+ gitAuthorName?: string | undefined;
464
+ gitAuthorEmail?: string | undefined;
420
465
  allowRebaseMerge?: boolean | undefined;
421
466
  allowSquashMerge?: boolean | undefined;
422
467
  allowMergeCommit?: boolean | undefined;
423
468
  sourcePath?: string | undefined;
424
469
  requireCodeOwnerReviews?: boolean | undefined;
470
+ requiredStatusCheckContexts?: string[] | undefined;
425
471
  repoVisibility?: "internal" | "private" | "public" | undefined;
426
472
  collaborators?: {
427
473
  username: string;
@@ -745,4 +791,4 @@ declare class ScaffolderEntitiesProcessor implements CatalogProcessor {
745
791
  postProcessEntity(entity: Entity, _location: LocationSpec, emit: CatalogProcessorEmit): Promise<Entity>;
746
792
  }
747
793
 
748
- 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, createPublishFileAction, createPublishGithubAction, createPublishGithubPullRequestAction, createPublishGitlabAction, createPublishGitlabMergeRequestAction, createRouter, createTemplateAction, executeShellCommand, fetchContents };
794
+ 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 };
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.1.0-next.1",
4
+ "version": "1.2.0-next.0",
5
5
  "main": "dist/index.cjs.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -34,16 +34,16 @@
34
34
  "build:assets": "node scripts/build-nunjucks.js"
35
35
  },
36
36
  "dependencies": {
37
- "@backstage/backend-common": "^0.13.2-next.1",
38
- "@backstage/catalog-client": "^1.0.1-next.0",
39
- "@backstage/catalog-model": "^1.0.1-next.0",
37
+ "@backstage/backend-common": "^0.13.3-next.0",
38
+ "@backstage/catalog-client": "^1.0.1",
39
+ "@backstage/catalog-model": "^1.0.1",
40
40
  "@backstage/config": "^1.0.0",
41
41
  "@backstage/errors": "^1.0.0",
42
- "@backstage/integration": "^1.1.0-next.1",
43
- "@backstage/plugin-catalog-backend": "^1.1.0-next.1",
44
- "@backstage/plugin-scaffolder-common": "^1.0.1-next.0",
42
+ "@backstage/integration": "^1.2.0-next.0",
43
+ "@backstage/plugin-catalog-backend": "^1.1.2-next.0",
44
+ "@backstage/plugin-scaffolder-common": "^1.0.1",
45
45
  "@backstage/types": "^1.0.0",
46
- "@gitbeaker/core": "^34.6.0",
46
+ "@gitbeaker/core": "^35.6.0",
47
47
  "@gitbeaker/node": "^35.1.0",
48
48
  "@octokit/webhooks": "^9.14.1",
49
49
  "@types/express": "^4.17.6",
@@ -53,10 +53,10 @@
53
53
  "cors": "^2.8.5",
54
54
  "express": "^4.17.1",
55
55
  "express-promise-router": "^4.1.0",
56
- "fs-extra": "10.0.1",
56
+ "fs-extra": "10.1.0",
57
57
  "git-url-parse": "^11.6.0",
58
58
  "globby": "^11.0.0",
59
- "isbinaryfile": "^4.0.8",
59
+ "isbinaryfile": "^5.0.0",
60
60
  "isomorphic-git": "^1.8.0",
61
61
  "jsonschema": "^1.2.6",
62
62
  "knex": "^1.0.2",
@@ -74,8 +74,8 @@
74
74
  "zen-observable": "^0.8.15"
75
75
  },
76
76
  "devDependencies": {
77
- "@backstage/backend-test-utils": "^0.1.23-next.1",
78
- "@backstage/cli": "^0.17.0-next.1",
77
+ "@backstage/backend-test-utils": "^0.1.24-next.0",
78
+ "@backstage/cli": "^0.17.1-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": "57d12dcc35aeb6c33b09e51d1efc3408c574f109"
100
+ "gitHead": "88ee375f5ee44b7a7917297785ddf88691fe3381"
101
101
  }