@backstage/plugin-scaffolder 1.15.1 → 1.16.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/CHANGELOG.md CHANGED
@@ -1,5 +1,60 @@
1
1
  # @backstage/plugin-scaffolder
2
2
 
3
+ ## 1.16.0-next.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 26e4d916d5: Title and description in RepoUrlPicker are now correctly displayed.
8
+ - 62b5922916: Internal theme type updates
9
+ - Updated dependencies
10
+ - @backstage/integration@1.7.2-next.0
11
+ - @backstage/plugin-scaffolder-react@1.6.0-next.1
12
+ - @backstage/plugin-catalog-react@1.9.0-next.1
13
+ - @backstage/plugin-scaffolder-common@1.4.3-next.1
14
+ - @backstage/integration-react@1.1.21-next.1
15
+ - @backstage/core-components@0.13.8-next.1
16
+ - @backstage/catalog-client@1.4.5
17
+ - @backstage/catalog-model@1.4.3
18
+ - @backstage/config@1.1.1
19
+ - @backstage/core-plugin-api@1.8.0-next.0
20
+ - @backstage/errors@1.2.3
21
+ - @backstage/theme@0.4.4-next.0
22
+ - @backstage/types@1.1.1
23
+ - @backstage/plugin-catalog-common@1.0.17
24
+ - @backstage/plugin-permission-react@0.4.17-next.0
25
+
26
+ ## 1.16.0-next.0
27
+
28
+ ### Minor Changes
29
+
30
+ - 3fdffbb699: Release design improvements for the `Scaffolder` plugin and support v5 of `@rjsf/*` libraries.
31
+
32
+ This change should be non-breaking. If you're seeing typescript issues after migrating please [open an issue](https://github.com/backstage/backstage/issues/new/choose)
33
+
34
+ The `next` versions like `createNextFieldExtension` and `NextScaffolderPage` have been promoted to the public interface under `createScaffolderFieldExtension` and `ScaffolderPage`, so any older imports which are no longer found will need updating from `@backstage/plugin-scaffolder/alpha` or `@backstage/plugin-scaffolder-react/alpha` will need to be imported from `@backstage/plugin-scaffolder` and `@backstage/plugin-scaffolder-react` respectively.
35
+
36
+ The legacy versions are now available in `/alpha` under `createLegacyFieldExtension` and `LegacyScaffolderPage` if you're running into issues, but be aware that these will be removed in a next mainline release.
37
+
38
+ ### Patch Changes
39
+
40
+ - 6c2b872153: Add official support for React 18.
41
+ - Updated dependencies
42
+ - @backstage/core-components@0.13.7-next.0
43
+ - @backstage/plugin-scaffolder-common@1.4.3-next.0
44
+ - @backstage/plugin-catalog-react@1.9.0-next.0
45
+ - @backstage/integration-react@1.1.21-next.0
46
+ - @backstage/core-plugin-api@1.8.0-next.0
47
+ - @backstage/plugin-permission-react@0.4.17-next.0
48
+ - @backstage/plugin-scaffolder-react@1.6.0-next.0
49
+ - @backstage/theme@0.4.4-next.0
50
+ - @backstage/integration@1.7.1
51
+ - @backstage/catalog-client@1.4.5
52
+ - @backstage/catalog-model@1.4.3
53
+ - @backstage/config@1.1.1
54
+ - @backstage/errors@1.2.3
55
+ - @backstage/types@1.1.1
56
+ - @backstage/plugin-catalog-common@1.0.17
57
+
3
58
  ## 1.15.1
4
59
 
5
60
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-scaffolder",
3
- "version": "1.15.1",
3
+ "version": "1.16.0-next.1",
4
4
  "main": "../dist/alpha.esm.js",
5
5
  "module": "../dist/alpha.esm.js",
6
6
  "types": "../dist/alpha.d.ts"
package/dist/alpha.d.ts CHANGED
@@ -1,14 +1,40 @@
1
- export { f as NextRouterProps, N as NextScaffolderPage, T as TemplateListPageProps, g as TemplateWizardPageProps } from './types/plugin.d-2d1240f7.js';
2
- import { FormProps as FormProps$1 } from '@rjsf/core-v5';
3
- import 'react';
4
- import '@backstage/plugin-scaffolder-common';
5
- import '@backstage/plugin-scaffolder-react/alpha';
6
- import '@backstage/plugin-scaffolder-react';
1
+ import React__default from 'react';
2
+ import { TemplateEntityV1beta3 } from '@backstage/plugin-scaffolder-common';
3
+ import { TemplateGroupFilter, FieldExtensionOptions, ReviewStepProps, LayoutOptions, FormProps as FormProps$1 } from '@backstage/plugin-scaffolder-react';
4
+ import { FormProps as FormProps$2 } from '@rjsf/core';
5
+ export { L as LegacyRouter, e as LegacyRouterProps, f as LegacyScaffolderPage } from './types/plugin.d-63255bd3.js';
7
6
  import '@backstage/catalog-model';
8
- import '@rjsf/utils';
9
- import '@backstage/types';
7
+ import '@backstage/plugin-scaffolder/alpha';
10
8
  import '@backstage/core-plugin-api';
11
9
 
10
+ /**
11
+ * @alpha
12
+ */
13
+ type TemplateListPageProps = {
14
+ TemplateCardComponent?: React__default.ComponentType<{
15
+ template: TemplateEntityV1beta3;
16
+ }>;
17
+ groups?: TemplateGroupFilter[];
18
+ templateFilter?: (entity: TemplateEntityV1beta3) => boolean;
19
+ contextMenu?: {
20
+ editor?: boolean;
21
+ actions?: boolean;
22
+ tasks?: boolean;
23
+ };
24
+ };
25
+
26
+ /**
27
+ * @alpha
28
+ */
29
+ type TemplateWizardPageProps = {
30
+ customFieldExtensions: FieldExtensionOptions<any, any>[];
31
+ components?: {
32
+ ReviewStepComponent?: React__default.ComponentType<ReviewStepProps>;
33
+ };
34
+ layouts?: LayoutOptions[];
35
+ formProps?: FormProps$1;
36
+ };
37
+
12
38
  /**
13
39
  * These types will be replaced eventually by the one in the scaffolder-react plugin.
14
40
  * It is a temporary solution to avoid the `/alpha` types being re-exported and that not being supported right now.
@@ -21,6 +47,6 @@ import '@backstage/core-plugin-api';
21
47
  * @alpha
22
48
  * @deprecated use the import from {@link @backstage/plugin-scaffolder-react/alpha#FormProps} instead
23
49
  */
24
- type FormProps = Pick<FormProps$1, 'transformErrors' | 'noHtml5Validate'>;
50
+ type FormProps = Pick<FormProps$2, 'transformErrors' | 'noHtml5Validate'>;
25
51
 
26
- export { FormProps };
52
+ export { FormProps, TemplateListPageProps, TemplateWizardPageProps };
package/dist/alpha.esm.js CHANGED
@@ -1,26 +1,102 @@
1
- export { N as NextScaffolderPage } from './esm/plugin-76d8b756.esm.js';
1
+ export { LegacyRouter } from './esm/Router-6af57b0f.esm.js';
2
+ export { L as LegacyScaffolderPage } from './esm/OngoingTask-b4635228.esm.js';
3
+ import 'react';
4
+ import 'react-router-dom';
5
+ import '@backstage/core-components';
6
+ import '@backstage/core-plugin-api';
7
+ import '@backstage/plugin-catalog-react';
8
+ import '@backstage/catalog-model';
9
+ import '@backstage/plugin-scaffolder-common';
10
+ import '@material-ui/core';
2
11
  import '@backstage/integration-react';
12
+ import '@material-ui/icons/Language';
13
+ import '@material-ui/icons/Warning';
14
+ import '@backstage/plugin-catalog-common/alpha';
15
+ import '@backstage/plugin-permission-react';
16
+ import '@material-ui/core/IconButton';
17
+ import '@material-ui/core/ListItemIcon';
18
+ import '@material-ui/core/ListItemText';
19
+ import '@material-ui/core/MenuItem';
20
+ import '@material-ui/core/MenuList';
21
+ import '@material-ui/core/Popover';
22
+ import '@material-ui/core/styles';
23
+ import '@material-ui/icons/Description';
24
+ import '@material-ui/icons/Edit';
25
+ import '@material-ui/icons/List';
26
+ import '@material-ui/icons/MoreVert';
27
+ import 'zod-to-json-schema';
28
+ import 'qs';
29
+ import 'react-use/lib/useAsync';
3
30
  import '@backstage/plugin-scaffolder-react';
4
- import '@backstage/catalog-model';
31
+ import '@rjsf/core';
32
+ import '@rjsf/material-ui';
33
+ import 'lodash/cloneDeep';
34
+ import '@rjsf/validator-ajv8';
35
+ import '@backstage/plugin-scaffolder-react/alpha';
36
+ import './esm/DryRunResults-f1773f51.esm.js';
37
+ import 'classnames';
38
+ import '@material-ui/icons/ExpandMore';
39
+ import '@material-ui/icons/ExpandLess';
40
+ import '@material-ui/core/Chip';
41
+ import '@material-ui/icons/Settings';
42
+ import '@material-ui/icons/FontDownload';
43
+ import 'luxon';
44
+ import 'humanize-duration';
45
+ import '@material-ui/core/Typography';
46
+ import '@material-ui/core/Card';
47
+ import '@material-ui/core/CardActionArea';
48
+ import '@material-ui/core/CardContent';
49
+ import '@material-ui/core/Tooltip';
50
+ import '@material-ui/icons/InfoOutlined';
51
+ import '@material-ui/icons/Close';
52
+ import '@material-ui/icons/Refresh';
53
+ import '@material-ui/icons/Save';
54
+ import '@codemirror/language';
55
+ import '@codemirror/legacy-modes/mode/yaml';
56
+ import '@codemirror/view';
57
+ import '@react-hookz/web';
58
+ import '@uiw/react-codemirror';
59
+ import '@material-ui/core/Accordion';
60
+ import '@material-ui/core/AccordionDetails';
61
+ import '@material-ui/core/AccordionSummary';
62
+ import '@material-ui/core/Divider';
63
+ import 'yaml';
64
+ import '@material-ui/core/List';
65
+ import '@material-ui/core/ListItem';
66
+ import '@material-ui/core/ListItemSecondaryAction';
67
+ import '@material-ui/icons/Cancel';
68
+ import '@material-ui/icons/Check';
69
+ import '@material-ui/icons/Delete';
70
+ import '@material-ui/icons/GetApp';
71
+ import '@material-ui/core/Box';
72
+ import '@material-ui/core/Tab';
73
+ import '@material-ui/core/Tabs';
74
+ import '@material-ui/lab/TreeView';
75
+ import '@material-ui/icons/ChevronRight';
76
+ import '@material-ui/lab/TreeItem';
77
+ import '@material-ui/core/Grid';
78
+ import '@material-ui/core/Step';
79
+ import '@material-ui/core/StepLabel';
80
+ import '@material-ui/core/Stepper';
81
+ import '@material-ui/icons/FiberManualRecord';
82
+ import 'react-use/lib/useInterval';
83
+ import 'react-use/lib/useDebounce';
5
84
  import '@backstage/errors';
6
- import 'qs';
7
85
  import 'zen-observable';
8
86
  import 'event-source-polyfill';
9
87
  import '@backstage/catalog-client';
10
- import '@backstage/core-plugin-api';
11
- import '@backstage/plugin-catalog-react';
12
- import '@material-ui/core';
13
88
  import '@material-ui/core/FormControl';
14
89
  import '@material-ui/lab/Autocomplete';
15
- import 'react';
16
- import 'react-use/lib/useAsync';
17
90
  import 'zod';
18
- import 'zod-to-json-schema';
19
91
  import '@material-ui/core/FormHelperText';
20
92
  import '@material-ui/core/Input';
21
93
  import '@material-ui/core/InputLabel';
22
- import '@backstage/core-components';
23
- import 'react-use/lib/useDebounce';
24
94
  import 'react-use/lib/useEffectOnce';
25
95
  import '@material-ui/lab';
96
+ import 'lodash/capitalize';
97
+ import '@material-ui/icons/CheckBox';
98
+ import '@material-ui/icons/CheckBoxOutlineBlank';
99
+ import '@material-ui/icons/Repeat';
100
+ import '@material-ui/icons/Toc';
101
+ import '@material-ui/icons/ControlPoint';
26
102
  //# sourceMappingURL=alpha.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"alpha.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"alpha.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}