@backstage/plugin-scaffolder 1.36.2 → 1.36.3-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/CHANGELOG.md +36 -0
- package/dist/alpha.d.ts +13 -9
- package/dist/components/ListTasksPage/columns/OwnerEntityColumn.esm.js +3 -20
- package/dist/components/ListTasksPage/columns/OwnerEntityColumn.esm.js.map +1 -1
- package/dist/plugins/scaffolder/package.json.esm.js +2 -2
- package/package.json +27 -27
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,41 @@
|
|
|
1
1
|
# @backstage/plugin-scaffolder
|
|
2
2
|
|
|
3
|
+
## 1.36.3-next.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- f635139: Limited `@remixicon/react` dependency to versions below 4.9.0 due to a license change in that release.
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @backstage/ui@0.15.0-next.1
|
|
10
|
+
- @backstage/frontend-plugin-api@0.17.0-next.1
|
|
11
|
+
- @backstage/catalog-model@1.8.1-next.1
|
|
12
|
+
- @backstage/core-plugin-api@1.12.6-next.1
|
|
13
|
+
- @backstage/plugin-catalog-react@2.1.5-next.1
|
|
14
|
+
|
|
15
|
+
## 1.36.3-next.0
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- 415e30b: Simplified the `OwnerEntityColumn` in the task list to rely on `EntityRefLink` and the entity presentation API instead of manually fetching entities from the catalog.
|
|
20
|
+
- Updated dependencies
|
|
21
|
+
- @backstage/core-components@0.18.10-next.0
|
|
22
|
+
- @backstage/ui@0.15.0-next.0
|
|
23
|
+
- @backstage/errors@1.3.1-next.0
|
|
24
|
+
- @backstage/integration@2.0.2-next.0
|
|
25
|
+
- @backstage/plugin-catalog-react@2.1.5-next.0
|
|
26
|
+
- @backstage/frontend-plugin-api@0.17.0-next.0
|
|
27
|
+
- @backstage/plugin-techdocs-react@1.3.11-next.0
|
|
28
|
+
- @backstage/integration-react@1.2.18-next.0
|
|
29
|
+
- @backstage/plugin-scaffolder-react@1.20.2-next.0
|
|
30
|
+
- @backstage/catalog-client@1.15.1-next.0
|
|
31
|
+
- @backstage/catalog-model@1.8.1-next.0
|
|
32
|
+
- @backstage/core-plugin-api@1.12.6-next.0
|
|
33
|
+
- @backstage/plugin-scaffolder-common@2.1.1-next.0
|
|
34
|
+
- @backstage/types@1.2.2
|
|
35
|
+
- @backstage/plugin-catalog-common@1.1.10-next.0
|
|
36
|
+
- @backstage/plugin-permission-react@0.5.1-next.0
|
|
37
|
+
- @backstage/plugin-techdocs-common@0.1.1
|
|
38
|
+
|
|
3
39
|
## 1.36.2
|
|
4
40
|
|
|
5
41
|
### Patch Changes
|
package/dist/alpha.d.ts
CHANGED
|
@@ -175,9 +175,9 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
175
175
|
filter: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
176
176
|
};
|
|
177
177
|
configInput: {
|
|
178
|
-
filter?: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
179
178
|
label?: string | undefined;
|
|
180
179
|
title?: string | undefined;
|
|
180
|
+
filter?: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
181
181
|
};
|
|
182
182
|
output: _backstage_frontend_plugin_api.ExtensionDataRef<(entity: _backstage_catalog_model.Entity) => boolean, "catalog.entity-filter-function", {
|
|
183
183
|
optional: true;
|
|
@@ -193,8 +193,12 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
193
193
|
"nav-item:scaffolder": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
|
|
194
194
|
kind: "nav-item";
|
|
195
195
|
name: undefined;
|
|
196
|
-
config: {
|
|
197
|
-
|
|
196
|
+
config: {
|
|
197
|
+
title: string | undefined;
|
|
198
|
+
};
|
|
199
|
+
configInput: {
|
|
200
|
+
title?: string | undefined;
|
|
201
|
+
};
|
|
198
202
|
output: _backstage_frontend_plugin_api.ExtensionDataRef<{
|
|
199
203
|
title: string;
|
|
200
204
|
icon: _backstage_frontend_plugin_api.IconComponent;
|
|
@@ -213,8 +217,8 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
213
217
|
title: string | undefined;
|
|
214
218
|
};
|
|
215
219
|
configInput: {
|
|
216
|
-
title?: string | undefined;
|
|
217
220
|
path?: string | undefined;
|
|
221
|
+
title?: string | undefined;
|
|
218
222
|
};
|
|
219
223
|
output: _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
|
|
220
224
|
optional: true;
|
|
@@ -370,8 +374,8 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
370
374
|
title: string | undefined;
|
|
371
375
|
};
|
|
372
376
|
configInput: {
|
|
373
|
-
title?: string | undefined;
|
|
374
377
|
path?: string | undefined;
|
|
378
|
+
title?: string | undefined;
|
|
375
379
|
};
|
|
376
380
|
output: _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
|
|
377
381
|
optional: true;
|
|
@@ -395,8 +399,8 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
395
399
|
title: string | undefined;
|
|
396
400
|
};
|
|
397
401
|
configInput: {
|
|
398
|
-
title?: string | undefined;
|
|
399
402
|
path?: string | undefined;
|
|
403
|
+
title?: string | undefined;
|
|
400
404
|
};
|
|
401
405
|
output: _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
|
|
402
406
|
optional: true;
|
|
@@ -420,8 +424,8 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
420
424
|
title: string | undefined;
|
|
421
425
|
};
|
|
422
426
|
configInput: {
|
|
423
|
-
title?: string | undefined;
|
|
424
427
|
path?: string | undefined;
|
|
428
|
+
title?: string | undefined;
|
|
425
429
|
};
|
|
426
430
|
output: _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
|
|
427
431
|
optional: true;
|
|
@@ -443,8 +447,8 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
443
447
|
title: string | undefined;
|
|
444
448
|
};
|
|
445
449
|
configInput: {
|
|
446
|
-
title?: string | undefined;
|
|
447
450
|
path?: string | undefined;
|
|
451
|
+
title?: string | undefined;
|
|
448
452
|
};
|
|
449
453
|
output: _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
|
|
450
454
|
optional: true;
|
|
@@ -470,8 +474,8 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
470
474
|
title: string | undefined;
|
|
471
475
|
};
|
|
472
476
|
configInput: {
|
|
473
|
-
title?: string | undefined;
|
|
474
477
|
path?: string | undefined;
|
|
478
|
+
title?: string | undefined;
|
|
475
479
|
};
|
|
476
480
|
output: _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
|
|
477
481
|
optional: true;
|
|
@@ -1,29 +1,12 @@
|
|
|
1
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
|
-
import {
|
|
3
|
-
import useAsync from 'react-use/esm/useAsync';
|
|
4
|
-
import { catalogApiRef, EntityRefLink } from '@backstage/plugin-catalog-react';
|
|
5
|
-
import { parseEntityRef } from '@backstage/catalog-model';
|
|
2
|
+
import { EntityRefLink } from '@backstage/plugin-catalog-react';
|
|
6
3
|
import Typography from '@material-ui/core/Typography';
|
|
7
4
|
|
|
8
5
|
const OwnerEntityColumn = ({ entityRef }) => {
|
|
9
|
-
const catalogApi = useApi(catalogApiRef);
|
|
10
|
-
const { value, loading, error } = useAsync(
|
|
11
|
-
() => catalogApi.getEntityByRef(entityRef || ""),
|
|
12
|
-
[catalogApi, entityRef]
|
|
13
|
-
);
|
|
14
6
|
if (!entityRef) {
|
|
15
|
-
return /* @__PURE__ */ jsx(Typography, {
|
|
7
|
+
return /* @__PURE__ */ jsx(Typography, { children: "Unknown" });
|
|
16
8
|
}
|
|
17
|
-
|
|
18
|
-
return null;
|
|
19
|
-
}
|
|
20
|
-
return /* @__PURE__ */ jsx(
|
|
21
|
-
EntityRefLink,
|
|
22
|
-
{
|
|
23
|
-
entityRef: parseEntityRef(entityRef),
|
|
24
|
-
title: value?.spec?.profile?.displayName ?? value?.metadata.name
|
|
25
|
-
}
|
|
26
|
-
);
|
|
9
|
+
return /* @__PURE__ */ jsx(EntityRefLink, { entityRef });
|
|
27
10
|
};
|
|
28
11
|
|
|
29
12
|
export { OwnerEntityColumn };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OwnerEntityColumn.esm.js","sources":["../../../../src/components/ListTasksPage/columns/OwnerEntityColumn.tsx"],"sourcesContent":["/*\n * Copyright 2022 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport {
|
|
1
|
+
{"version":3,"file":"OwnerEntityColumn.esm.js","sources":["../../../../src/components/ListTasksPage/columns/OwnerEntityColumn.tsx"],"sourcesContent":["/*\n * Copyright 2022 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { EntityRefLink } from '@backstage/plugin-catalog-react';\nimport Typography from '@material-ui/core/Typography';\n\nexport const OwnerEntityColumn = ({ entityRef }: { entityRef?: string }) => {\n if (!entityRef) {\n return <Typography>Unknown</Typography>;\n }\n\n return <EntityRefLink entityRef={entityRef} />;\n};\n"],"names":[],"mappings":";;;;AAkBO,MAAM,iBAAA,GAAoB,CAAC,EAAE,SAAA,EAAU,KAA8B;AAC1E,EAAA,IAAI,CAAC,SAAA,EAAW;AACd,IAAA,uBAAO,GAAA,CAAC,cAAW,QAAA,EAAA,SAAA,EAAO,CAAA;AAAA,EAC5B;AAEA,EAAA,uBAAO,GAAA,CAAC,iBAAc,SAAA,EAAsB,CAAA;AAC9C;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var name = "@backstage/plugin-scaffolder";
|
|
2
|
-
var version = "1.36.
|
|
2
|
+
var version = "1.36.3-next.1";
|
|
3
3
|
var description = "The Backstage plugin that helps you create new things";
|
|
4
4
|
var backstage = {
|
|
5
5
|
role: "frontend-plugin",
|
|
@@ -81,7 +81,7 @@ var dependencies = {
|
|
|
81
81
|
"@material-ui/icons": "^4.9.1",
|
|
82
82
|
"@material-ui/lab": "4.0.0-alpha.61",
|
|
83
83
|
"@react-hookz/web": "^24.0.0",
|
|
84
|
-
"@remixicon/react": "
|
|
84
|
+
"@remixicon/react": ">=4.6.0 <4.9.0",
|
|
85
85
|
"@rjsf/core": "5.24.13",
|
|
86
86
|
"@rjsf/material-ui": "5.24.13",
|
|
87
87
|
"@rjsf/utils": "5.24.13",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-scaffolder",
|
|
3
|
-
"version": "1.36.
|
|
3
|
+
"version": "1.36.3-next.1",
|
|
4
4
|
"description": "The Backstage plugin that helps you create new things",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "frontend-plugin",
|
|
@@ -70,23 +70,23 @@
|
|
|
70
70
|
"test": "backstage-cli package test"
|
|
71
71
|
},
|
|
72
72
|
"dependencies": {
|
|
73
|
-
"@backstage/catalog-client": "
|
|
74
|
-
"@backstage/catalog-model": "
|
|
75
|
-
"@backstage/core-components": "
|
|
76
|
-
"@backstage/core-plugin-api": "
|
|
77
|
-
"@backstage/errors": "
|
|
78
|
-
"@backstage/frontend-plugin-api": "
|
|
79
|
-
"@backstage/integration": "
|
|
80
|
-
"@backstage/integration-react": "
|
|
81
|
-
"@backstage/plugin-catalog-common": "
|
|
82
|
-
"@backstage/plugin-catalog-react": "
|
|
83
|
-
"@backstage/plugin-permission-react": "
|
|
84
|
-
"@backstage/plugin-scaffolder-common": "
|
|
85
|
-
"@backstage/plugin-scaffolder-react": "
|
|
86
|
-
"@backstage/plugin-techdocs-common": "
|
|
87
|
-
"@backstage/plugin-techdocs-react": "
|
|
88
|
-
"@backstage/types": "
|
|
89
|
-
"@backstage/ui": "
|
|
73
|
+
"@backstage/catalog-client": "1.15.1-next.0",
|
|
74
|
+
"@backstage/catalog-model": "1.8.1-next.1",
|
|
75
|
+
"@backstage/core-components": "0.18.10-next.0",
|
|
76
|
+
"@backstage/core-plugin-api": "1.12.6-next.1",
|
|
77
|
+
"@backstage/errors": "1.3.1-next.0",
|
|
78
|
+
"@backstage/frontend-plugin-api": "0.17.0-next.1",
|
|
79
|
+
"@backstage/integration": "2.0.2-next.0",
|
|
80
|
+
"@backstage/integration-react": "1.2.18-next.0",
|
|
81
|
+
"@backstage/plugin-catalog-common": "1.1.10-next.0",
|
|
82
|
+
"@backstage/plugin-catalog-react": "2.1.5-next.1",
|
|
83
|
+
"@backstage/plugin-permission-react": "0.5.1-next.0",
|
|
84
|
+
"@backstage/plugin-scaffolder-common": "2.1.1-next.0",
|
|
85
|
+
"@backstage/plugin-scaffolder-react": "1.20.2-next.0",
|
|
86
|
+
"@backstage/plugin-techdocs-common": "0.1.1",
|
|
87
|
+
"@backstage/plugin-techdocs-react": "1.3.11-next.0",
|
|
88
|
+
"@backstage/types": "1.2.2",
|
|
89
|
+
"@backstage/ui": "0.15.0-next.1",
|
|
90
90
|
"@codemirror/language": "^6.0.0",
|
|
91
91
|
"@codemirror/legacy-modes": "^6.1.0",
|
|
92
92
|
"@codemirror/view": "^6.0.0",
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
"@material-ui/icons": "^4.9.1",
|
|
95
95
|
"@material-ui/lab": "4.0.0-alpha.61",
|
|
96
96
|
"@react-hookz/web": "^24.0.0",
|
|
97
|
-
"@remixicon/react": "
|
|
97
|
+
"@remixicon/react": ">=4.6.0 <4.9.0",
|
|
98
98
|
"@rjsf/core": "5.24.13",
|
|
99
99
|
"@rjsf/material-ui": "5.24.13",
|
|
100
100
|
"@rjsf/utils": "5.24.13",
|
|
@@ -119,14 +119,14 @@
|
|
|
119
119
|
"zod-to-json-schema": "^3.25.1"
|
|
120
120
|
},
|
|
121
121
|
"devDependencies": {
|
|
122
|
-
"@backstage/cli": "
|
|
123
|
-
"@backstage/core-app-api": "
|
|
124
|
-
"@backstage/dev-utils": "
|
|
125
|
-
"@backstage/frontend-test-utils": "
|
|
126
|
-
"@backstage/plugin-catalog": "
|
|
127
|
-
"@backstage/plugin-permission-common": "
|
|
128
|
-
"@backstage/plugin-techdocs": "
|
|
129
|
-
"@backstage/test-utils": "
|
|
122
|
+
"@backstage/cli": "0.36.2-next.1",
|
|
123
|
+
"@backstage/core-app-api": "1.20.1-next.0",
|
|
124
|
+
"@backstage/dev-utils": "1.1.23-next.0",
|
|
125
|
+
"@backstage/frontend-test-utils": "0.5.3-next.1",
|
|
126
|
+
"@backstage/plugin-catalog": "2.0.5-next.0",
|
|
127
|
+
"@backstage/plugin-permission-common": "0.9.9-next.1",
|
|
128
|
+
"@backstage/plugin-techdocs": "1.17.6-next.1",
|
|
129
|
+
"@backstage/test-utils": "1.7.18-next.0",
|
|
130
130
|
"@testing-library/dom": "^10.0.0",
|
|
131
131
|
"@testing-library/jest-dom": "^6.0.0",
|
|
132
132
|
"@testing-library/react": "^16.0.0",
|