@backstage/plugin-scaffolder 1.4.0-next.2 → 1.4.0-next.3

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,25 @@
1
1
  # @backstage/plugin-scaffolder
2
2
 
3
+ ## 1.4.0-next.3
4
+
5
+ ### Patch Changes
6
+
7
+ - b557e6c58d: Fixed that adding more than one `allowedOwner` or `allowedRepo` in the template config will now still set the first value as default in the initial form state of `RepoUrlPicker`.
8
+ - d600cb2ab6: contextMenu prop passed through to <ScaffolderPageContents /> from the <ScaffolderPage /> component
9
+ - a70869e775: Updated dependency `msw` to `^0.43.0`.
10
+ - 4e9a90e307: Updated dependency `luxon` to `^3.0.0`.
11
+ - 72622d9143: Updated dependency `yaml` to `^2.0.0`.
12
+ - 693990d4fe: Updated dependency `@react-hookz/web` to `^15.0.0`.
13
+ - Updated dependencies
14
+ - @backstage/core-plugin-api@1.0.4-next.0
15
+ - @backstage/core-components@0.10.0-next.3
16
+ - @backstage/catalog-client@1.0.4-next.2
17
+ - @backstage/integration-react@1.1.2-next.3
18
+ - @backstage/integration@1.2.2-next.3
19
+ - @backstage/catalog-model@1.1.0-next.3
20
+ - @backstage/plugin-catalog-react@1.1.2-next.3
21
+ - @backstage/plugin-permission-react@0.4.3-next.1
22
+
3
23
  ## 1.4.0-next.2
4
24
 
5
25
  ### Minor Changes
@@ -44,12 +64,6 @@
44
64
 
45
65
  ## 1.4.0-next.0
46
66
 
47
- ### Minor Changes
48
-
49
- - 3500c13a33: A new template editor has been added which is accessible via the context menu on the top right hand corner of the Create page. It allows you to load a template from a local directory, edit it with a preview, execute it in dry-run mode, and view the results. Note that the [File System Access API](https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API) must be supported by your browser for this to be available.
50
-
51
- To support the new template editor the `ScaffolderApi` now has an optional `dryRun` method, which is implemented by the default `ScaffolderClient`.
52
-
53
67
  ### Patch Changes
54
68
 
55
69
  - 37539e29d8: The template editor now shows the cause of request errors that happen during a dry-run.
@@ -92,6 +106,9 @@
92
106
 
93
107
  - 72dfcbc8bf: Gerrit Integration: Implemented a `RepoUrlPicker` for Gerrit.
94
108
  - f93af969cd: Added the ability to support running of templates that are not in the `default` namespace
109
+ - 3500c13a33: A new template editor has been added which is accessible via the context menu on the top right hand corner of the Create page. It allows you to load a template from a local directory, edit it with a preview, execute it in dry-run mode, and view the results. Note that the [File System Access API](https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API) must be supported by your browser for this to be available.
110
+
111
+ To support the new template editor the `ScaffolderApi` now has an optional `dryRun` method, which is implemented by the default `ScaffolderClient`.
95
112
 
96
113
  ### Patch Changes
97
114
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-scaffolder",
3
- "version": "1.4.0-next.2",
3
+ "version": "1.4.0-next.3",
4
4
  "main": "../dist/index.esm.js",
5
5
  "types": "../dist/index.alpha.d.ts"
6
6
  }
@@ -3,7 +3,7 @@ import { useNavigate, Navigate, useOutlet, Routes, Route, useParams as useParams
3
3
  import { ItemCardHeader, MarkdownContent, Button, ContentHeader, Progress, WarningPanel, Link as Link$1, 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 { useRouteRef, useApi, errorApiRef, featureFlagsApiRef, useApiHolder, 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, 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 legacySelectedTemplateRouteRef, j as SecretsContextProvider, k as TaskPage } from './index-a2c4b694.esm.js';
6
+ import { s as selectedTemplateRouteRef, 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 legacySelectedTemplateRouteRef, j as SecretsContextProvider, k as TaskPage } from './index-6000fac5.esm.js';
7
7
  import { RELATION_OWNED_BY, parseEntityRef, stringifyEntityRef } from '@backstage/catalog-model';
8
8
  import { makeStyles, useTheme, Card, CardMedia, CardContent, Box, Typography, Chip, CardActions, IconButton, Tooltip, Link, Stepper, Step, StepLabel, StepContent, Button as Button$1, Paper, LinearProgress, TableContainer, Table, TableHead, TableRow, TableCell, TableBody, Divider as Divider$1, FormControl, InputLabel, Select, MenuItem as MenuItem$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';
@@ -66,7 +66,7 @@ import SettingsIcon from '@material-ui/icons/Settings';
66
66
  import AllIcon from '@material-ui/icons/FontDownload';
67
67
  import { DateTime, Interval } from 'luxon';
68
68
  import humanizeDuration from 'humanize-duration';
69
- import { D as DEFAULT_SCAFFOLDER_FIELD_EXTENSIONS } from './default-a258a462.esm.js';
69
+ import { D as DEFAULT_SCAFFOLDER_FIELD_EXTENSIONS } from './default-e54e51de.esm.js';
70
70
  import '@backstage/errors';
71
71
  import 'zen-observable';
72
72
  import '@material-ui/core/FormControl';
@@ -359,10 +359,12 @@ const ScaffolderPageContents = ({
359
359
  };
360
360
  const ScaffolderPage = ({
361
361
  TemplateCardComponent,
362
- groups
362
+ groups,
363
+ contextMenu
363
364
  }) => /* @__PURE__ */ React.createElement(EntityListProvider, null, /* @__PURE__ */ React.createElement(ScaffolderPageContents, {
364
365
  TemplateCardComponent,
365
- groups
366
+ groups,
367
+ contextMenu
366
368
  }));
367
369
 
368
370
  function isObject$1(value) {
@@ -2394,4 +2396,4 @@ const Router = (props) => {
2394
2396
  };
2395
2397
 
2396
2398
  export { Router };
2397
- //# sourceMappingURL=Router-fbba0f54.esm.js.map
2399
+ //# sourceMappingURL=Router-02ff57b3.esm.js.map