@backstage/plugin-scaffolder-backend 1.19.2-next.3 → 1.19.3-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 CHANGED
@@ -1,5 +1,65 @@
1
1
  # @backstage/plugin-scaffolder-backend
2
2
 
3
+ ## 1.19.3-next.0
4
+
5
+ ### Patch Changes
6
+
7
+ - e9ab1c4: Fixed an issue where not passing a `value` to any of the action's permission conditions caused an error.
8
+ - Updated dependencies
9
+ - @backstage/backend-common@0.20.1-next.0
10
+ - @backstage/catalog-client@1.5.2-next.0
11
+ - @backstage/plugin-scaffolder-backend-module-github@0.1.1-next.0
12
+ - @backstage/plugin-scaffolder-backend-module-azure@0.1.1-next.0
13
+ - @backstage/plugin-catalog-backend-module-scaffolder-entity-model@0.1.6-next.0
14
+ - @backstage/plugin-catalog-node@1.6.1-next.0
15
+ - @backstage/backend-plugin-api@0.6.9-next.0
16
+ - @backstage/backend-tasks@0.5.14-next.0
17
+ - @backstage/catalog-model@1.4.3
18
+ - @backstage/config@1.1.1
19
+ - @backstage/errors@1.2.3
20
+ - @backstage/integration@1.8.0
21
+ - @backstage/types@1.1.1
22
+ - @backstage/plugin-auth-node@0.4.3-next.0
23
+ - @backstage/plugin-permission-common@0.7.11
24
+ - @backstage/plugin-permission-node@0.7.20-next.0
25
+ - @backstage/plugin-scaffolder-backend-module-bitbucket@0.1.1-next.0
26
+ - @backstage/plugin-scaffolder-backend-module-gerrit@0.1.1-next.0
27
+ - @backstage/plugin-scaffolder-backend-module-gitlab@0.2.12-next.0
28
+ - @backstage/plugin-scaffolder-common@1.4.4
29
+ - @backstage/plugin-scaffolder-node@0.2.10-next.0
30
+
31
+ ## 1.19.2
32
+
33
+ ### Patch Changes
34
+
35
+ - 219d7f0: Refactor some methods to `-node` instead and use the new external modules
36
+ - aff34fc: Fix issue with Circular JSON dependencies in templating
37
+ - 48667b4: Fix creating env secret in github:environment:create action
38
+ - 0cbb03b: Fixing regular expression ReDoS with zod packages. Upgrading to latest. ref: https://security.snyk.io/vuln/SNYK-JS-ZOD-5925617
39
+ - 28949ea: Add a new action for creating github-autolink references for a repository: `github:autolinks:create`
40
+ - Updated dependencies
41
+ - @backstage/backend-common@0.20.0
42
+ - @backstage/plugin-scaffolder-backend-module-github@0.1.0
43
+ - @backstage/plugin-scaffolder-backend-module-gitlab@0.2.11
44
+ - @backstage/plugin-scaffolder-backend-module-gerrit@0.1.0
45
+ - @backstage/plugin-catalog-node@1.6.0
46
+ - @backstage/catalog-client@1.5.0
47
+ - @backstage/plugin-scaffolder-node@0.2.9
48
+ - @backstage/backend-tasks@0.5.13
49
+ - @backstage/integration@1.8.0
50
+ - @backstage/plugin-auth-node@0.4.2
51
+ - @backstage/plugin-scaffolder-backend-module-bitbucket@0.1.0
52
+ - @backstage/plugin-scaffolder-backend-module-azure@0.1.0
53
+ - @backstage/plugin-permission-common@0.7.11
54
+ - @backstage/plugin-permission-node@0.7.19
55
+ - @backstage/plugin-catalog-backend-module-scaffolder-entity-model@0.1.5
56
+ - @backstage/backend-plugin-api@0.6.8
57
+ - @backstage/catalog-model@1.4.3
58
+ - @backstage/config@1.1.1
59
+ - @backstage/errors@1.2.3
60
+ - @backstage/types@1.1.1
61
+ - @backstage/plugin-scaffolder-common@1.4.4
62
+
3
63
  ## 1.19.2-next.3
4
64
 
5
65
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-scaffolder-backend",
3
- "version": "1.19.2-next.3",
3
+ "version": "1.19.3-next.0",
4
4
  "main": "../dist/alpha.cjs.js",
5
5
  "types": "../dist/alpha.d.ts"
6
6
  }
package/dist/alpha.cjs.js CHANGED
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var alpha = require('@backstage/plugin-scaffolder-common/alpha');
6
6
  var pluginPermissionNode = require('@backstage/plugin-permission-node');
7
- var router = require('./cjs/router-46321f3f.cjs.js');
7
+ var router = require('./cjs/router-03a1f408.cjs.js');
8
8
  var backendPluginApi = require('@backstage/backend-plugin-api');
9
9
  var backendCommon = require('@backstage/backend-common');
10
10
  var integration = require('@backstage/integration');
@@ -1372,6 +1372,10 @@ const createBuiltinActions = (options) => {
1372
1372
  }),
1373
1373
  github.createGithubDeployKeyAction({
1374
1374
  integrations
1375
+ }),
1376
+ github.createGithubAutolinksAction({
1377
+ integrations,
1378
+ githubCredentialsProvider
1375
1379
  })
1376
1380
  ];
1377
1381
  return actions;
@@ -2039,7 +2043,7 @@ function buildHasProperty({
2039
2043
  resourceType: alpha.RESOURCE_TYPE_SCAFFOLDER_ACTION,
2040
2044
  paramsSchema: zod.z.object({
2041
2045
  key: zod.z.string().describe(`Property within the action parameters to match on`),
2042
- value: valueSchema.describe(`Value of the given property to match on`)
2046
+ value: valueSchema.optional().describe(`Value of the given property to match on`)
2043
2047
  }),
2044
2048
  apply: (resource, { key, value }) => {
2045
2049
  const foundValue = lodash.get(resource.input, key);
@@ -3204,4 +3208,4 @@ exports.createRouter = createRouter;
3204
3208
  exports.createWaitAction = createWaitAction;
3205
3209
  exports.scaffolderActionRules = scaffolderActionRules;
3206
3210
  exports.scaffolderTemplateRules = scaffolderTemplateRules;
3207
- //# sourceMappingURL=router-46321f3f.cjs.js.map
3211
+ //# sourceMappingURL=router-03a1f408.cjs.js.map