@backstage/plugin-scaffolder 1.9.0-next.4 → 1.9.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 +61 -0
- package/alpha/package.json +1 -1
- package/dist/esm/{Router-ba37341f.esm.js → Router-f2355b86.esm.js} +3 -3
- package/dist/esm/{Router-ba37341f.esm.js.map → Router-f2355b86.esm.js.map} +1 -1
- package/dist/esm/{index-8d9b2b59.esm.js → index-8dc22fc0.esm.js} +3 -3
- package/dist/esm/{index-8d9b2b59.esm.js.map → index-8dc22fc0.esm.js.map} +1 -1
- package/dist/esm/{index-c1108e33.esm.js → index-ef40eff7.esm.js} +35 -15
- package/dist/esm/index-ef40eff7.esm.js.map +1 -0
- package/dist/esm/{schema-0d0eab8f.esm.js → schema-1982362e.esm.js} +2 -2
- package/dist/esm/{schema-0d0eab8f.esm.js.map → schema-1982362e.esm.js.map} +1 -1
- package/dist/index.alpha.d.ts +12 -4
- package/dist/index.beta.d.ts +5 -3
- package/dist/index.d.ts +5 -3
- package/dist/index.esm.js +1 -1
- package/package.json +23 -23
- package/dist/esm/index-c1108e33.esm.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,66 @@
|
|
|
1
1
|
# @backstage/plugin-scaffolder
|
|
2
2
|
|
|
3
|
+
## 1.9.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- ddd1c3308d: Implement Custom Field Explorer to view and play around with available installed custom field extensions
|
|
8
|
+
- adb1b01e32: Adds the ability to supply a `transformErrors` function to the `Stepper` for `/next`
|
|
9
|
+
- 34a48cdc4f: The `RepoUrlPicker` field extension now has an `allowedProjects` option for narrowing the selection of Bitbucket URLs.
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- d4d07cf55e: Enabling the customization of the last step in the scaffolder template.
|
|
14
|
+
|
|
15
|
+
To override the content you have to do the next:
|
|
16
|
+
|
|
17
|
+
```typescript jsx
|
|
18
|
+
<TemplatePage ReviewStepComponent={YourCustomComponent} />
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
- ef803022f1: Initialize all `formData` in the `Stepper` in `/next`
|
|
22
|
+
- 9b1fadf6d8: Added `noHtml5Validate` prop to `FormProps` on `NextScaffolderPage`
|
|
23
|
+
- b05dcd5530: Move the `zod` dependency to a version that does not collide with other libraries
|
|
24
|
+
- 2e701b3796: Internal refactor to use `react-router-dom` rather than `react-router`.
|
|
25
|
+
- 9000952e87: Form data is now passed to validator functions in 'next' scaffolder, so it's now possible to perform validation for fields that depend on other field values. This is something that we discourage due to the coupling that it creates, but is sometimes still the most sensible solution.
|
|
26
|
+
|
|
27
|
+
```typescript jsx
|
|
28
|
+
export const myCustomValidation = (
|
|
29
|
+
value: string,
|
|
30
|
+
validation: FieldValidation,
|
|
31
|
+
{ apiHolder, formData }: { apiHolder: ApiHolder; formData: JsonObject },
|
|
32
|
+
) => {
|
|
33
|
+
// validate
|
|
34
|
+
};
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
- 5b10b2485a: Parse `formData` from `window.location.query` for `scaffolder/next`
|
|
38
|
+
- 57ad6553d0: Pass through `transformErrors` to `TemplateWizardPage`
|
|
39
|
+
- 3280711113: Updated dependency `msw` to `^0.49.0`.
|
|
40
|
+
- 19356df560: Updated dependency `zen-observable` to `^0.9.0`.
|
|
41
|
+
- c3fa90e184: Updated dependency `zen-observable` to `^0.10.0`.
|
|
42
|
+
- 5fb6d5e92e: Updated dependency `@react-hookz/web` to `^19.0.0`.
|
|
43
|
+
- 146378c146: Updated dependency `@react-hookz/web` to `^20.0.0`.
|
|
44
|
+
- 380f549b75: bump `@rjsf/*-v5` dependencies
|
|
45
|
+
- a63e2df559: fixed `headerOptions` not passed to `TemplatePage` component
|
|
46
|
+
- 9b606366bf: Bump `json-schema-library` to version `^7.3.9` which does not pull in the `gson-pointer` library
|
|
47
|
+
- db6310b6a0: Show input type array correctly on installed actions page.
|
|
48
|
+
- Updated dependencies
|
|
49
|
+
- @backstage/core-plugin-api@1.2.0
|
|
50
|
+
- @backstage/catalog-client@1.2.0
|
|
51
|
+
- @backstage/core-components@0.12.1
|
|
52
|
+
- @backstage/errors@1.1.4
|
|
53
|
+
- @backstage/plugin-catalog-react@1.2.2
|
|
54
|
+
- @backstage/plugin-permission-react@0.4.8
|
|
55
|
+
- @backstage/integration-react@1.1.7
|
|
56
|
+
- @backstage/integration@1.4.1
|
|
57
|
+
- @backstage/types@1.0.2
|
|
58
|
+
- @backstage/catalog-model@1.1.4
|
|
59
|
+
- @backstage/config@1.0.5
|
|
60
|
+
- @backstage/theme@0.2.16
|
|
61
|
+
- @backstage/plugin-catalog-common@1.0.9
|
|
62
|
+
- @backstage/plugin-scaffolder-common@1.2.3
|
|
63
|
+
|
|
3
64
|
## 1.9.0-next.4
|
|
4
65
|
|
|
5
66
|
### Minor Changes
|
package/alpha/package.json
CHANGED
|
@@ -3,7 +3,7 @@ import { useNavigate, Navigate, useOutlet, Routes, Route } from 'react-router-do
|
|
|
3
3
|
import { ItemCardHeader, MarkdownContent, Button, Link, ContentHeader, Progress, WarningPanel, Content, ItemCardGrid, Page, Header, CreateButton, SupportButton, StructuredMetadataTable, InfoCard, ErrorPage, ErrorPanel, LogViewer, StatusError, StatusOK, StatusPending, Lifecycle, EmptyState, Table as Table$1 } from '@backstage/core-components';
|
|
4
4
|
import { useApp, useRouteRef, useApi, useRouteRefParams, useAnalytics, errorApiRef, featureFlagsApiRef, useApiHolder, AnalyticsContext, alertApiRef, useElementFilter } from '@backstage/core-plugin-api';
|
|
5
5
|
import { getEntityRelations, getEntitySourceLocation, FavoriteEntity, EntityRefLinks, useEntityList, EntityListProvider, CatalogFilterLayout, EntitySearchBar, EntityKindPicker, UserListPicker, EntityTagPicker, catalogApiRef, humanizeEntityRef, EntityRefLink } from '@backstage/plugin-catalog-react';
|
|
6
|
-
import { s as selectedTemplateRouteRef, v as viewTechDocRouteRef, e as editRouteRef, a as actionsRouteRef, b as scaffolderListTaskRouteRef, r as registerComponentRouteRef, T as TemplateTypePicker, S as SecretsContext, c as scaffolderApiRef, d as scaffolderTaskRouteRef, f as rootRouteRef, g as TaskStatusStepper, h as TaskPageLinks, F as FIELD_EXTENSION_WRAPPER_KEY, i as FIELD_EXTENSION_KEY, L as LAYOUTS_WRAPPER_KEY, j as LAYOUTS_KEY, l as legacySelectedTemplateRouteRef, k as SecretsContextProvider, m as TaskPage } from './index-
|
|
6
|
+
import { s as selectedTemplateRouteRef, v as viewTechDocRouteRef, e as editRouteRef, a as actionsRouteRef, b as scaffolderListTaskRouteRef, r as registerComponentRouteRef, T as TemplateTypePicker, S as SecretsContext, c as scaffolderApiRef, d as scaffolderTaskRouteRef, f as rootRouteRef, g as TaskStatusStepper, h as TaskPageLinks, F as FIELD_EXTENSION_WRAPPER_KEY, i as FIELD_EXTENSION_KEY, L as LAYOUTS_WRAPPER_KEY, j as LAYOUTS_KEY, l as legacySelectedTemplateRouteRef, k as SecretsContextProvider, m as TaskPage } from './index-8dc22fc0.esm.js';
|
|
7
7
|
import { RELATION_OWNED_BY, parseEntityRef, stringifyEntityRef, DEFAULT_NAMESPACE } from '@backstage/catalog-model';
|
|
8
8
|
import { makeStyles, useTheme, Card, CardMedia, CardContent, Box, Typography, Chip, CardActions, Tooltip, IconButton, Paper, Button as Button$1, Stepper, Step, StepLabel, StepContent, LinearProgress, TableContainer, Table, TableHead, TableRow, TableCell, TableBody, FormControl, InputLabel, Select, MenuItem as MenuItem$1, CardHeader, Divider as Divider$1, List as List$2, ListItemIcon as ListItemIcon$1, ListItemText as ListItemText$1 } from '@material-ui/core';
|
|
9
9
|
import { scmIntegrationsApiRef, ScmIntegrationIcon } from '@backstage/integration-react';
|
|
@@ -27,7 +27,7 @@ import useAsync from 'react-use/lib/useAsync';
|
|
|
27
27
|
import { withTheme } from '@rjsf/core';
|
|
28
28
|
import { Theme } from '@rjsf/material-ui';
|
|
29
29
|
import cloneDeep from 'lodash/cloneDeep';
|
|
30
|
-
import { e as extractSchemaFromStep, D as DEFAULT_SCAFFOLDER_FIELD_EXTENSIONS } from './schema-
|
|
30
|
+
import { e as extractSchemaFromStep, D as DEFAULT_SCAFFOLDER_FIELD_EXTENSIONS } from './schema-1982362e.esm.js';
|
|
31
31
|
import classNames from 'classnames';
|
|
32
32
|
import { StreamLanguage } from '@codemirror/language';
|
|
33
33
|
import { yaml as yaml$1 } from '@codemirror/legacy-modes/mode/yaml';
|
|
@@ -2699,4 +2699,4 @@ const Router = (props) => {
|
|
|
2699
2699
|
};
|
|
2700
2700
|
|
|
2701
2701
|
export { Router };
|
|
2702
|
-
//# sourceMappingURL=Router-
|
|
2702
|
+
//# sourceMappingURL=Router-f2355b86.esm.js.map
|