@backstage/plugin-scaffolder-backend 1.17.0-next.3 → 1.17.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/CHANGELOG.md +62 -0
- package/alpha/package.json +1 -1
- package/dist/alpha.d.ts +2 -2
- package/package.json +21 -21
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,67 @@
|
|
|
1
1
|
# @backstage/plugin-scaffolder-backend
|
|
2
2
|
|
|
3
|
+
## 1.17.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
- @backstage/plugin-catalog-backend@1.13.1
|
|
9
|
+
|
|
10
|
+
## 1.17.0
|
|
11
|
+
|
|
12
|
+
### Minor Changes
|
|
13
|
+
|
|
14
|
+
- b5f239b50bcf: Improved the `parseEntityRef` Scaffolder filter by introducing the ability for users to provide default kind and/or namespace values. The filter now takes
|
|
15
|
+
2 arguments, similarly to the original [parseEntityRef](https://github.com/backstage/backstage/blob/v1.17.2/packages/catalog-model/src/entity/ref.ts#L77).
|
|
16
|
+
- d5313ede3529: **DEPRECATION**: Deprecated `ScaffolderEntitiesProcessor`, which should now instead be imported from `@backstage/plugin-catalog-backend-module-scaffolder-entity-model`.
|
|
17
|
+
|
|
18
|
+
`catalogModuleTemplateKind` was also moved to that package and renamed to `catalogModuleScaffolderEntityModel`, without any deprecation since it was an alpha export.
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- 71114ac50e02: The export for the new backend system has been moved to be the `default` export.
|
|
23
|
+
|
|
24
|
+
For example, if you are currently importing the plugin using the following pattern:
|
|
25
|
+
|
|
26
|
+
```ts
|
|
27
|
+
import { examplePlugin } from '@backstage/plugin-example-backend';
|
|
28
|
+
|
|
29
|
+
backend.add(examplePlugin);
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
It should be migrated to this:
|
|
33
|
+
|
|
34
|
+
```ts
|
|
35
|
+
backend.add(import('@backstage/plugin-example-backend'));
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
- a4989552d828: Add examples for `publish:github` and `publish:gitlab` scaffolder actions.
|
|
39
|
+
- ded27b83ead2: Add examples for `publish:bitbucket` scaffolder actions.
|
|
40
|
+
- 5f1a92b9f19f: Use `DefaultAzureDevOpsCredentialsProvider` to retrieve credentials for Azure DevOps.
|
|
41
|
+
- fb57a4694fc6: Fixed the plugin and module ID of the alpha `catalogModuleTemplateKind` export.
|
|
42
|
+
- f3c0b95e3ef1: Add examples for `github:actions:dispatch` scaffolder actions.
|
|
43
|
+
- cfc3ca6ce060: Changes needed to support MySQL
|
|
44
|
+
- 814feeed7343: Update to handle invalid luxon values
|
|
45
|
+
- Updated dependencies
|
|
46
|
+
- @backstage/plugin-catalog-backend@1.13.0
|
|
47
|
+
- @backstage/backend-tasks@0.5.8
|
|
48
|
+
- @backstage/backend-common@0.19.5
|
|
49
|
+
- @backstage/plugin-auth-node@0.3.0
|
|
50
|
+
- @backstage/config@1.1.0
|
|
51
|
+
- @backstage/catalog-client@1.4.4
|
|
52
|
+
- @backstage/catalog-model@1.4.2
|
|
53
|
+
- @backstage/errors@1.2.2
|
|
54
|
+
- @backstage/integration@1.7.0
|
|
55
|
+
- @backstage/plugin-catalog-common@1.0.16
|
|
56
|
+
- @backstage/plugin-permission-common@0.7.8
|
|
57
|
+
- @backstage/plugin-scaffolder-common@1.4.1
|
|
58
|
+
- @backstage/types@1.1.1
|
|
59
|
+
- @backstage/plugin-permission-node@0.7.14
|
|
60
|
+
- @backstage/backend-plugin-api@0.6.3
|
|
61
|
+
- @backstage/plugin-catalog-backend-module-scaffolder-entity-model@0.1.0
|
|
62
|
+
- @backstage/plugin-catalog-node@1.4.4
|
|
63
|
+
- @backstage/plugin-scaffolder-node@0.2.3
|
|
64
|
+
|
|
3
65
|
## 1.17.0-next.3
|
|
4
66
|
|
|
5
67
|
### Minor Changes
|
package/alpha/package.json
CHANGED
package/dist/alpha.d.ts
CHANGED
|
@@ -36,7 +36,7 @@ import * as _backstage_backend_plugin_api from '@backstage/backend-plugin-api';
|
|
|
36
36
|
*
|
|
37
37
|
* @alpha
|
|
38
38
|
*/
|
|
39
|
-
declare const createScaffolderTemplateConditionalDecision: (permission: _backstage_plugin_permission_common.ResourcePermission<"scaffolder-template">, conditions: _backstage_plugin_permission_common.PermissionCriteria<_backstage_plugin_permission_common.PermissionCondition<"scaffolder-template"
|
|
39
|
+
declare const createScaffolderTemplateConditionalDecision: (permission: _backstage_plugin_permission_common.ResourcePermission<"scaffolder-template">, conditions: _backstage_plugin_permission_common.PermissionCriteria<_backstage_plugin_permission_common.PermissionCondition<"scaffolder-template">>) => _backstage_plugin_permission_common.ConditionalPolicyDecision;
|
|
40
40
|
/**
|
|
41
41
|
* These conditions are used when creating conditional decisions for scaffolder
|
|
42
42
|
* templates that are returned by authorization policies.
|
|
@@ -51,7 +51,7 @@ declare const scaffolderTemplateConditions: _backstage_plugin_permission_node.Co
|
|
|
51
51
|
/**
|
|
52
52
|
* @alpha
|
|
53
53
|
*/
|
|
54
|
-
declare const createScaffolderActionConditionalDecision: (permission: _backstage_plugin_permission_common.ResourcePermission<"scaffolder-action">, conditions: _backstage_plugin_permission_common.PermissionCriteria<_backstage_plugin_permission_common.PermissionCondition<"scaffolder-action"
|
|
54
|
+
declare const createScaffolderActionConditionalDecision: (permission: _backstage_plugin_permission_common.ResourcePermission<"scaffolder-action">, conditions: _backstage_plugin_permission_common.PermissionCriteria<_backstage_plugin_permission_common.PermissionCondition<"scaffolder-action">>) => _backstage_plugin_permission_common.ConditionalPolicyDecision;
|
|
55
55
|
/**
|
|
56
56
|
*
|
|
57
57
|
* These conditions are used when creating conditional decisions for scaffolder
|
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.17.
|
|
4
|
+
"version": "1.17.1",
|
|
5
5
|
"main": "./dist/index.cjs.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -44,24 +44,24 @@
|
|
|
44
44
|
"build:assets": "node scripts/build-nunjucks.js"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@backstage/backend-common": "^0.19.5
|
|
48
|
-
"@backstage/backend-plugin-api": "^0.6.3
|
|
49
|
-
"@backstage/backend-tasks": "^0.5.8
|
|
50
|
-
"@backstage/catalog-client": "^1.4.4
|
|
51
|
-
"@backstage/catalog-model": "^1.4.2
|
|
52
|
-
"@backstage/config": "^1.1.0
|
|
53
|
-
"@backstage/errors": "^1.2.2
|
|
54
|
-
"@backstage/integration": "^1.7.0
|
|
55
|
-
"@backstage/plugin-auth-node": "^0.3.0
|
|
56
|
-
"@backstage/plugin-catalog-backend": "^1.13.
|
|
57
|
-
"@backstage/plugin-catalog-backend-module-scaffolder-entity-model": "^0.1.0
|
|
58
|
-
"@backstage/plugin-catalog-common": "^1.0.16
|
|
59
|
-
"@backstage/plugin-catalog-node": "^1.4.4
|
|
60
|
-
"@backstage/plugin-permission-common": "^0.7.8
|
|
61
|
-
"@backstage/plugin-permission-node": "^0.7.14
|
|
62
|
-
"@backstage/plugin-scaffolder-common": "^1.4.1
|
|
63
|
-
"@backstage/plugin-scaffolder-node": "^0.2.3
|
|
64
|
-
"@backstage/types": "^1.1.1
|
|
47
|
+
"@backstage/backend-common": "^0.19.5",
|
|
48
|
+
"@backstage/backend-plugin-api": "^0.6.3",
|
|
49
|
+
"@backstage/backend-tasks": "^0.5.8",
|
|
50
|
+
"@backstage/catalog-client": "^1.4.4",
|
|
51
|
+
"@backstage/catalog-model": "^1.4.2",
|
|
52
|
+
"@backstage/config": "^1.1.0",
|
|
53
|
+
"@backstage/errors": "^1.2.2",
|
|
54
|
+
"@backstage/integration": "^1.7.0",
|
|
55
|
+
"@backstage/plugin-auth-node": "^0.3.0",
|
|
56
|
+
"@backstage/plugin-catalog-backend": "^1.13.1",
|
|
57
|
+
"@backstage/plugin-catalog-backend-module-scaffolder-entity-model": "^0.1.0",
|
|
58
|
+
"@backstage/plugin-catalog-common": "^1.0.16",
|
|
59
|
+
"@backstage/plugin-catalog-node": "^1.4.4",
|
|
60
|
+
"@backstage/plugin-permission-common": "^0.7.8",
|
|
61
|
+
"@backstage/plugin-permission-node": "^0.7.14",
|
|
62
|
+
"@backstage/plugin-scaffolder-common": "^1.4.1",
|
|
63
|
+
"@backstage/plugin-scaffolder-node": "^0.2.3",
|
|
64
|
+
"@backstage/types": "^1.1.1",
|
|
65
65
|
"@gitbeaker/core": "^35.6.0",
|
|
66
66
|
"@gitbeaker/node": "^35.1.0",
|
|
67
67
|
"@octokit/webhooks": "^10.0.0",
|
|
@@ -99,8 +99,8 @@
|
|
|
99
99
|
"zod": "^3.21.4"
|
|
100
100
|
},
|
|
101
101
|
"devDependencies": {
|
|
102
|
-
"@backstage/backend-test-utils": "^0.2.
|
|
103
|
-
"@backstage/cli": "^0.22.13
|
|
102
|
+
"@backstage/backend-test-utils": "^0.2.4",
|
|
103
|
+
"@backstage/cli": "^0.22.13",
|
|
104
104
|
"@types/command-exists": "^1.2.0",
|
|
105
105
|
"@types/fs-extra": "^9.0.1",
|
|
106
106
|
"@types/git-url-parse": "^9.0.0",
|