@backstage/plugin-scaffolder 1.9.0-next.2 → 1.9.0-next.4

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,52 @@
1
1
  # @backstage/plugin-scaffolder
2
2
 
3
+ ## 1.9.0-next.4
4
+
5
+ ### Minor Changes
6
+
7
+ - 34a48cdc4f: The `RepoUrlPicker` field extension now has an `allowedProjects` option for narrowing the selection of Bitbucket URLs.
8
+
9
+ ### Patch Changes
10
+
11
+ - b05dcd5530: Move the `zod` dependency to a version that does not collide with other libraries
12
+ - 2e701b3796: Internal refactor to use `react-router-dom` rather than `react-router`.
13
+ - db6310b6a0: Show input type array correctly on installed actions page.
14
+ - Updated dependencies
15
+ - @backstage/core-components@0.12.1-next.4
16
+ - @backstage/plugin-catalog-react@1.2.2-next.4
17
+ - @backstage/plugin-permission-react@0.4.8-next.3
18
+ - @backstage/catalog-client@1.2.0-next.1
19
+ - @backstage/catalog-model@1.1.4-next.1
20
+ - @backstage/config@1.0.5-next.1
21
+ - @backstage/core-plugin-api@1.2.0-next.2
22
+ - @backstage/errors@1.1.4-next.1
23
+ - @backstage/integration@1.4.1-next.1
24
+ - @backstage/integration-react@1.1.7-next.4
25
+ - @backstage/theme@0.2.16
26
+ - @backstage/types@1.0.2-next.1
27
+ - @backstage/plugin-catalog-common@1.0.9-next.3
28
+ - @backstage/plugin-scaffolder-common@1.2.3-next.1
29
+
30
+ ## 1.9.0-next.3
31
+
32
+ ### Patch Changes
33
+
34
+ - Updated dependencies
35
+ - @backstage/core-components@0.12.1-next.3
36
+ - @backstage/catalog-client@1.2.0-next.1
37
+ - @backstage/catalog-model@1.1.4-next.1
38
+ - @backstage/config@1.0.5-next.1
39
+ - @backstage/core-plugin-api@1.2.0-next.2
40
+ - @backstage/errors@1.1.4-next.1
41
+ - @backstage/integration@1.4.1-next.1
42
+ - @backstage/integration-react@1.1.7-next.3
43
+ - @backstage/theme@0.2.16
44
+ - @backstage/types@1.0.2-next.1
45
+ - @backstage/plugin-catalog-common@1.0.9-next.2
46
+ - @backstage/plugin-catalog-react@1.2.2-next.3
47
+ - @backstage/plugin-permission-react@0.4.8-next.2
48
+ - @backstage/plugin-scaffolder-common@1.2.3-next.1
49
+
3
50
  ## 1.9.0-next.2
4
51
 
5
52
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-scaffolder",
3
- "version": "1.9.0-next.2",
3
+ "version": "1.9.0-next.4",
4
4
  "main": "../dist/index.esm.js",
5
5
  "types": "../dist/index.alpha.d.ts"
6
6
  }
@@ -1,9 +1,9 @@
1
1
  import React, { useState, useContext, useCallback, createContext, useEffect, useRef, useMemo, Component, Children, Fragment } from 'react';
2
- import { useNavigate, Navigate, useOutlet, Routes, Route } from 'react-router';
2
+ import { useNavigate, Navigate, useOutlet, Routes, Route } from 'react-router-dom';
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-102258f6.esm.js';
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-8d9b2b59.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-4db0f1ff.esm.js';
30
+ import { e as extractSchemaFromStep, D as DEFAULT_SCAFFOLDER_FIELD_EXTENSIONS } from './schema-0d0eab8f.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';
@@ -910,7 +910,7 @@ const ActionsPage = () => {
910
910
  const codeClassname = classNames(classes.code, {
911
911
  [classes.codeRequired]: (_a = input.required) == null ? void 0 : _a.includes(key)
912
912
  });
913
- return /* @__PURE__ */ React.createElement(TableRow, { key }, /* @__PURE__ */ React.createElement(TableCell, null, /* @__PURE__ */ React.createElement("div", { className: codeClassname }, key)), /* @__PURE__ */ React.createElement(TableCell, null, props.title), /* @__PURE__ */ React.createElement(TableCell, null, props.description), /* @__PURE__ */ React.createElement(TableCell, null, /* @__PURE__ */ React.createElement("span", { className: classes.code }, props.type)));
913
+ return /* @__PURE__ */ React.createElement(TableRow, { key }, /* @__PURE__ */ React.createElement(TableCell, null, /* @__PURE__ */ React.createElement("div", { className: codeClassname }, key)), /* @__PURE__ */ React.createElement(TableCell, null, props.title), /* @__PURE__ */ React.createElement(TableCell, null, props.description), /* @__PURE__ */ React.createElement(TableCell, null, /* @__PURE__ */ React.createElement(React.Fragment, null, [props.type].flat().map((type) => /* @__PURE__ */ React.createElement(Chip, { label: type })))));
914
914
  });
915
915
  };
916
916
  const renderTable = (input) => {
@@ -2699,4 +2699,4 @@ const Router = (props) => {
2699
2699
  };
2700
2700
 
2701
2701
  export { Router };
2702
- //# sourceMappingURL=Router-95a01240.esm.js.map
2702
+ //# sourceMappingURL=Router-ba37341f.esm.js.map