@backstage/plugin-scaffolder-backend 1.5.0-next.0 → 1.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/dist/index.d.ts CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  /// <reference types="node" />
8
8
 
9
- import { BackendRegistrable } from '@backstage/backend-plugin-api';
9
+ import { BackendFeature } from '@backstage/backend-plugin-api';
10
10
  import { CatalogApi } from '@backstage/catalog-client';
11
11
  import { CatalogProcessor } from '@backstage/plugin-catalog-backend';
12
12
  import { CatalogProcessorEmit } from '@backstage/plugin-catalog-backend';
@@ -21,6 +21,7 @@ import { Knex } from 'knex';
21
21
  import { LocationSpec } from '@backstage/plugin-catalog-backend';
22
22
  import { Logger } from 'winston';
23
23
  import { Observable } from '@backstage/types';
24
+ import { Octokit } from 'octokit';
24
25
  import { PluginDatabaseManager } from '@backstage/backend-common';
25
26
  import { Schema } from 'jsonschema';
26
27
  import { ScmIntegrationRegistry } from '@backstage/integration';
@@ -418,6 +419,7 @@ token?: string | undefined;
418
419
  * production, as it writes the files to the local filesystem of the scaffolder.
419
420
  *
420
421
  * @public
422
+ * @deprecated This action will be removed, prefer testing templates using the template editor instead.
421
423
  */
422
424
  export declare function createPublishFileAction(): TemplateAction< {
423
425
  path: string;
@@ -513,6 +515,8 @@ draft?: boolean | undefined;
513
515
  targetPath?: string | undefined;
514
516
  sourcePath?: string | undefined;
515
517
  token?: string | undefined;
518
+ reviewers?: string[] | undefined;
519
+ teamReviewers?: string[] | undefined;
516
520
  }>;
517
521
 
518
522
  /**
@@ -676,14 +680,14 @@ export declare function fetchContents({ reader, integrations, baseUrl, fetchUrl,
676
680
  }): Promise<void>;
677
681
 
678
682
  /** @public */
679
- export declare interface OctokitWithPullRequestPluginClient {
683
+ export declare type OctokitWithPullRequestPluginClient = Octokit & {
680
684
  createPullRequest(options: createPullRequest.Options): Promise<{
681
685
  data: {
682
686
  html_url: string;
683
687
  number: number;
684
688
  };
685
689
  } | null>;
686
- }
690
+ };
687
691
 
688
692
  /**
689
693
  * RouterOptions
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.5.0-next.0",
4
+ "version": "1.5.0",
5
5
  "main": "dist/index.cjs.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -35,15 +35,15 @@
35
35
  "build:assets": "node scripts/build-nunjucks.js"
36
36
  },
37
37
  "dependencies": {
38
- "@backstage/backend-common": "^0.15.0-next.0",
39
- "@backstage/backend-plugin-api": "^0.1.1-next.0",
38
+ "@backstage/backend-common": "^0.15.0",
39
+ "@backstage/backend-plugin-api": "^0.1.1",
40
40
  "@backstage/catalog-client": "^1.0.4",
41
41
  "@backstage/catalog-model": "^1.1.0",
42
42
  "@backstage/config": "^1.0.1",
43
43
  "@backstage/errors": "^1.1.0",
44
- "@backstage/integration": "^1.3.0-next.0",
45
- "@backstage/plugin-catalog-backend": "^1.3.1-next.0",
46
- "@backstage/plugin-catalog-node": "^1.0.1-next.0",
44
+ "@backstage/integration": "^1.3.0",
45
+ "@backstage/plugin-catalog-backend": "^1.3.1",
46
+ "@backstage/plugin-catalog-node": "^1.0.1",
47
47
  "@backstage/plugin-scaffolder-common": "^1.1.2",
48
48
  "@backstage/types": "^1.0.0",
49
49
  "@gitbeaker/core": "^35.6.0",
@@ -79,8 +79,8 @@
79
79
  "zod": "^3.11.6"
80
80
  },
81
81
  "devDependencies": {
82
- "@backstage/backend-test-utils": "^0.1.27-next.0",
83
- "@backstage/cli": "^0.18.1-next.0",
82
+ "@backstage/backend-test-utils": "^0.1.27",
83
+ "@backstage/cli": "^0.18.1",
84
84
  "@types/command-exists": "^1.2.0",
85
85
  "@types/fs-extra": "^9.0.1",
86
86
  "@types/git-url-parse": "^9.0.0",
@@ -103,5 +103,5 @@
103
103
  "assets"
104
104
  ],
105
105
  "configSchema": "config.d.ts",
106
- "gitHead": "fc3229c49caf6eced02ed9516199015bf4682664"
106
+ "gitHead": "a12f6269e3bf224aa7f52475be9152bc52addeed"
107
107
  }