@backstage/plugin-scaffolder-backend 1.4.0-next.3 → 1.5.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/dist/index.d.ts CHANGED
@@ -161,7 +161,11 @@ url: string;
161
161
  targetPath?: string | undefined;
162
162
  values: any;
163
163
  templateFileExtension?: string | boolean | undefined;
164
+ /**
165
+ * @deprecated This field is deprecated in favor of copyWithoutTemplating.
166
+ */
164
167
  copyWithoutRender?: string[] | undefined;
168
+ copyWithoutTemplating?: string[] | undefined;
165
169
  cookiecutterCompat?: boolean | undefined;
166
170
  }>;
167
171
 
@@ -299,6 +303,7 @@ repoUrl: string;
299
303
  description?: string | undefined;
300
304
  defaultBranch?: string | undefined;
301
305
  protectDefaultBranch?: boolean | undefined;
306
+ protectEnforceAdmins?: boolean | undefined;
302
307
  gitCommitMessage?: string | undefined;
303
308
  gitAuthorName?: string | undefined;
304
309
  gitAuthorEmail?: string | undefined;
@@ -433,6 +438,23 @@ defaultBranch?: string | undefined;
433
438
  gitCommitMessage?: string | undefined;
434
439
  gitAuthorName?: string | undefined;
435
440
  gitAuthorEmail?: string | undefined;
441
+ sourcePath?: string | undefined;
442
+ }>;
443
+
444
+ /**
445
+ * Creates a new action that creates a Gerrit review
446
+ * @public
447
+ */
448
+ export declare function createPublishGerritReviewAction(options: {
449
+ integrations: ScmIntegrationRegistry;
450
+ config: Config;
451
+ }): TemplateAction< {
452
+ repoUrl: string;
453
+ branch?: string | undefined;
454
+ sourcePath?: string | undefined;
455
+ gitCommitMessage?: string | undefined;
456
+ gitAuthorName?: string | undefined;
457
+ gitAuthorEmail?: string | undefined;
436
458
  }>;
437
459
 
438
460
  /**
@@ -451,6 +473,7 @@ description?: string | undefined;
451
473
  access?: string | undefined;
452
474
  defaultBranch?: string | undefined;
453
475
  protectDefaultBranch?: boolean | undefined;
476
+ protectEnforceAdmins?: boolean | undefined;
454
477
  deleteBranchOnMerge?: boolean | undefined;
455
478
  gitCommitMessage?: string | undefined;
456
479
  gitAuthorName?: string | undefined;
@@ -527,9 +550,11 @@ description: string;
527
550
  branchName: string;
528
551
  targetPath: string;
529
552
  token?: string | undefined;
553
+ commitAction?: "update" | "create" | "delete" | undefined;
530
554
  /** @deprecated Use projectPath instead */
531
555
  projectid?: string | undefined;
532
556
  removeSourceBranch?: boolean | undefined;
557
+ assignee?: string | undefined;
533
558
  }>;
534
559
 
535
560
  /**
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.0-next.3",
4
+ "version": "1.5.0-next.1",
5
5
  "main": "dist/index.cjs.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -35,16 +35,16 @@
35
35
  "build:assets": "node scripts/build-nunjucks.js"
36
36
  },
37
37
  "dependencies": {
38
- "@backstage/backend-common": "^0.14.1-next.3",
39
- "@backstage/backend-plugin-api": "^0.1.0-next.0",
40
- "@backstage/catalog-client": "^1.0.4-next.2",
41
- "@backstage/catalog-model": "^1.1.0-next.3",
38
+ "@backstage/backend-common": "^0.15.0-next.1",
39
+ "@backstage/backend-plugin-api": "^0.1.1-next.0",
40
+ "@backstage/catalog-client": "^1.0.4",
41
+ "@backstage/catalog-model": "^1.1.0",
42
42
  "@backstage/config": "^1.0.1",
43
- "@backstage/errors": "^1.1.0-next.0",
44
- "@backstage/integration": "^1.2.2-next.3",
45
- "@backstage/plugin-catalog-backend": "^1.3.0-next.3",
46
- "@backstage/plugin-catalog-node": "^1.0.0-next.0",
47
- "@backstage/plugin-scaffolder-common": "^1.1.2-next.0",
43
+ "@backstage/errors": "^1.1.0",
44
+ "@backstage/integration": "^1.3.0-next.1",
45
+ "@backstage/plugin-catalog-backend": "^1.3.1-next.1",
46
+ "@backstage/plugin-catalog-node": "^1.0.1-next.0",
47
+ "@backstage/plugin-scaffolder-common": "^1.1.2",
48
48
  "@backstage/types": "^1.0.0",
49
49
  "@gitbeaker/core": "^35.6.0",
50
50
  "@gitbeaker/node": "^35.1.0",
@@ -79,8 +79,8 @@
79
79
  "zod": "^3.11.6"
80
80
  },
81
81
  "devDependencies": {
82
- "@backstage/backend-test-utils": "^0.1.26-next.3",
83
- "@backstage/cli": "^0.18.0-next.3",
82
+ "@backstage/backend-test-utils": "^0.1.27-next.0",
83
+ "@backstage/cli": "^0.18.1-next.0",
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",
@@ -91,7 +91,7 @@
91
91
  "esbuild": "^0.14.1",
92
92
  "jest-when": "^3.1.0",
93
93
  "mock-fs": "^5.1.0",
94
- "msw": "^0.43.0",
94
+ "msw": "^0.44.0",
95
95
  "supertest": "^6.1.3",
96
96
  "yaml": "^2.0.0"
97
97
  },
@@ -103,5 +103,5 @@
103
103
  "assets"
104
104
  ],
105
105
  "configSchema": "config.d.ts",
106
- "gitHead": "291b3a07233061266d9f3ce431345bf19fa4bbd5"
106
+ "gitHead": "62bee85ae500414d27d7828288786de8f4816ef8"
107
107
  }