@backstage/plugin-scaffolder-backend-module-github 0.5.0-next.2 → 0.5.1-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
@@ -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';
@@ -191,6 +192,7 @@ declare function createGithubDeployKeyAction(options: {
191
192
  */
192
193
  declare function createGithubEnvironmentAction(options: {
193
194
  integrations: ScmIntegrationRegistry;
195
+ catalogClient?: CatalogApi;
194
196
  }): _backstage_plugin_scaffolder_node.TemplateAction<{
195
197
  repoUrl: string;
196
198
  name: string;
@@ -207,6 +209,9 @@ declare function createGithubEnvironmentAction(options: {
207
209
  [key: string]: string;
208
210
  } | undefined;
209
211
  token?: string | undefined;
212
+ waitTimer?: number | undefined;
213
+ preventSelfReview?: boolean | undefined;
214
+ reviewers?: string[] | undefined;
210
215
  }, _backstage_types.JsonObject>;
211
216
 
212
217
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-scaffolder-backend-module-github",
3
- "version": "0.5.0-next.2",
3
+ "version": "0.5.1-next.0",
4
4
  "description": "The github module for @backstage/plugin-scaffolder-backend",
5
5
  "backstage": {
6
6
  "role": "backend-plugin-module",
@@ -18,6 +18,7 @@
18
18
  "license": "Apache-2.0",
19
19
  "exports": {
20
20
  ".": {
21
+ "backstage": "@backstage/BackendFeature",
21
22
  "require": "./dist/index.cjs.js",
22
23
  "types": "./dist/index.d.ts",
23
24
  "default": "./dist/index.cjs.js"
@@ -39,22 +40,24 @@
39
40
  "test": "backstage-cli package test"
40
41
  },
41
42
  "dependencies": {
42
- "@backstage/backend-common": "^0.25.0-next.2",
43
- "@backstage/backend-plugin-api": "^1.0.0-next.2",
43
+ "@backstage/backend-common": "^0.25.0",
44
+ "@backstage/backend-plugin-api": "^1.0.1-next.0",
45
+ "@backstage/catalog-client": "^1.7.0",
46
+ "@backstage/catalog-model": "^1.7.0",
44
47
  "@backstage/config": "^1.2.0",
45
48
  "@backstage/errors": "^1.2.4",
46
- "@backstage/integration": "^1.15.0-next.0",
47
- "@backstage/plugin-scaffolder-node": "^0.4.11-next.2",
48
- "@octokit/webhooks": "^10.0.0",
49
+ "@backstage/integration": "^1.15.0",
50
+ "@backstage/plugin-scaffolder-node": "^0.5.0-next.0",
51
+ "@octokit/webhooks": "^10.9.2",
49
52
  "libsodium-wrappers": "^0.7.11",
50
53
  "octokit": "^3.0.0",
51
54
  "octokit-plugin-create-pull-request": "^5.0.0",
52
55
  "yaml": "^2.0.0"
53
56
  },
54
57
  "devDependencies": {
55
- "@backstage/backend-test-utils": "^1.0.0-next.2",
56
- "@backstage/cli": "^0.27.1-next.2",
57
- "@backstage/plugin-scaffolder-node-test-utils": "^0.1.12-next.2",
58
+ "@backstage/backend-test-utils": "^1.0.1-next.0",
59
+ "@backstage/cli": "^0.28.0-next.0",
60
+ "@backstage/plugin-scaffolder-node-test-utils": "^0.1.13-next.0",
58
61
  "@types/libsodium-wrappers": "^0.7.10",
59
62
  "fs-extra": "^11.2.0",
60
63
  "jsonschema": "^1.2.6"