@backstage/plugin-scaffolder 1.27.0-next.3 → 1.27.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 +29 -0
- package/dist/alpha/api/FormFieldsApi.esm.js +1 -1
- package/dist/alpha/api.esm.js +1 -1
- package/dist/alpha/components/TemplateEditorPage/DirectoryEditorContext.esm.js +1 -1
- package/dist/alpha/components/TemplateEditorPage/DryRunContext.esm.js +1 -1
- package/dist/alpha/extensions.esm.js +1 -1
- package/dist/alpha/plugin.esm.js +1 -1
- package/dist/components/ActionsPage/ActionsPage.esm.js +2 -2
- package/dist/components/OngoingTask/ContextMenu.esm.js +1 -1
- package/dist/components/fields/MultiEntityPicker/MultiEntityPicker.esm.js +1 -1
- package/dist/extensions/default.esm.js +1 -1
- package/dist/plugin.esm.js +3 -3
- package/package.json +22 -22
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,34 @@
|
|
|
1
1
|
# @backstage/plugin-scaffolder
|
|
2
2
|
|
|
3
|
+
## 1.27.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- f61d4cc: Add scaffolder permission `scaffolder.template.management` for accessing the template management features
|
|
8
|
+
- 69fb6e7: Fix `contextMenu` not being disabled bug in new scaffolder pages
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- 99471cd: fix(scaffolder): use `onInputChange` in `RepoUrlPicker` to fix issue with the value not updating properly
|
|
13
|
+
- 8e4bed4: Updated dependency `idb-keyval` to `5.1.5`.
|
|
14
|
+
- 7669af3: Revert the change of the option label for `EntityPicker`
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
- @backstage/catalog-client@1.8.0
|
|
17
|
+
- @backstage/types@1.2.0
|
|
18
|
+
- @backstage/plugin-scaffolder-react@1.14.0
|
|
19
|
+
- @backstage/plugin-catalog-react@1.14.1
|
|
20
|
+
- @backstage/plugin-scaffolder-common@1.5.7
|
|
21
|
+
- @backstage/core-components@0.16.0
|
|
22
|
+
- @backstage/catalog-model@1.7.1
|
|
23
|
+
- @backstage/core-compat-api@0.3.2
|
|
24
|
+
- @backstage/core-plugin-api@1.10.1
|
|
25
|
+
- @backstage/errors@1.2.5
|
|
26
|
+
- @backstage/frontend-plugin-api@0.9.1
|
|
27
|
+
- @backstage/integration@1.15.2
|
|
28
|
+
- @backstage/integration-react@1.2.1
|
|
29
|
+
- @backstage/plugin-catalog-common@1.1.1
|
|
30
|
+
- @backstage/plugin-permission-react@0.4.28
|
|
31
|
+
|
|
3
32
|
## 1.27.0-next.3
|
|
4
33
|
|
|
5
34
|
### Minor Changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ApiBlueprint,
|
|
1
|
+
import { ApiBlueprint, createApiFactory, createExtensionInput } from '@backstage/frontend-plugin-api';
|
|
2
2
|
import { formFieldsApiRef } from './ref.esm.js';
|
|
3
3
|
import { FormFieldBlueprint } from '@backstage/plugin-scaffolder-react/alpha';
|
|
4
4
|
import { OpaqueFormField } from '../../packages/scaffolder-internal/src/wiring/InternalFormField.esm.js';
|
package/dist/alpha/api.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ApiBlueprint, createApiFactory,
|
|
1
|
+
import { ApiBlueprint, createApiFactory, identityApiRef, fetchApiRef, discoveryApiRef } from '@backstage/frontend-plugin-api';
|
|
2
2
|
import { scmIntegrationsApiRef } from '@backstage/integration-react';
|
|
3
3
|
import { scaffolderApiRef } from '@backstage/plugin-scaffolder-react';
|
|
4
4
|
import { ScaffolderClient } from '../api.esm.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ErrorPanel } from '@backstage/core-components';
|
|
2
2
|
import { useAsync, useRerender } from '@react-hookz/web';
|
|
3
|
-
import React, {
|
|
3
|
+
import React, { useEffect, createContext, useContext } from 'react';
|
|
4
4
|
|
|
5
5
|
const MAX_SIZE = 1024 * 1024;
|
|
6
6
|
const MAX_SIZE_MESSAGE = "This file is too large to be displayed";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import yaml from 'yaml';
|
|
2
2
|
import { useApi } from '@backstage/core-plugin-api';
|
|
3
|
-
import React, {
|
|
3
|
+
import React, { useState, useRef, useCallback, useMemo, createContext, useContext } from 'react';
|
|
4
4
|
import { scaffolderApiRef } from '@backstage/plugin-scaffolder-react';
|
|
5
5
|
|
|
6
6
|
const MAX_CONTENT_SIZE = 64 * 1024;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { compatWrapper, convertLegacyRouteRef } from '@backstage/core-compat-api';
|
|
2
2
|
import { PageBlueprint, NavItemBlueprint } from '@backstage/frontend-plugin-api';
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { rootRouteRef } from '../routes.esm.js';
|
package/dist/alpha/plugin.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { convertLegacyRouteRefs } from '@backstage/core-compat-api';
|
|
2
2
|
import { createFrontendPlugin } from '@backstage/frontend-plugin-api';
|
|
3
|
-
import {
|
|
3
|
+
import { viewTechDocRouteRef, registerComponentRouteRef, editRouteRef, scaffolderListTaskRouteRef, actionsRouteRef, scaffolderTaskRouteRef, selectedTemplateRouteRef, rootRouteRef } from '../routes.esm.js';
|
|
4
4
|
import { scaffolderApi } from './api.esm.js';
|
|
5
5
|
import { scaffolderPage, scaffolderNavItem, repoUrlPickerFormField } from './extensions.esm.js';
|
|
6
6
|
import { formFieldsApi } from './api/FormFieldsApi.esm.js';
|
|
@@ -24,8 +24,8 @@ import Autocomplete from '@material-ui/lab/Autocomplete';
|
|
|
24
24
|
import TextField from '@material-ui/core/TextField';
|
|
25
25
|
import InputAdornment from '@material-ui/core/InputAdornment';
|
|
26
26
|
import SearchIcon from '@material-ui/icons/Search';
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
27
|
+
import { useApi, useRouteRef } from '@backstage/core-plugin-api';
|
|
28
|
+
import { Progress, ErrorPanel, EmptyState, Link, MarkdownContent, CodeSnippet, Page, Header, Content } from '@backstage/core-components';
|
|
29
29
|
import Chip from '@material-ui/core/Chip';
|
|
30
30
|
import { ScaffolderPageContextMenu } from '@backstage/plugin-scaffolder-react/alpha';
|
|
31
31
|
import { useNavigate } from 'react-router-dom';
|
|
@@ -4,7 +4,7 @@ import ListItemText from '@material-ui/core/ListItemText';
|
|
|
4
4
|
import MenuItem from '@material-ui/core/MenuItem';
|
|
5
5
|
import MenuList from '@material-ui/core/MenuList';
|
|
6
6
|
import Popover from '@material-ui/core/Popover';
|
|
7
|
-
import {
|
|
7
|
+
import { useTheme, makeStyles } from '@material-ui/core/styles';
|
|
8
8
|
import { useAsync } from '@react-hookz/web';
|
|
9
9
|
import Cancel from '@material-ui/icons/Cancel';
|
|
10
10
|
import Repeat from '@material-ui/icons/Repeat';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CATALOG_FILTER_EXISTS } from '@backstage/catalog-client';
|
|
2
|
-
import {
|
|
2
|
+
import { parseEntityRef, stringifyEntityRef } from '@backstage/catalog-model';
|
|
3
3
|
import { useApi } from '@backstage/core-plugin-api';
|
|
4
4
|
import { catalogApiRef, entityPresentationApiRef, EntityDisplayName } from '@backstage/plugin-catalog-react';
|
|
5
5
|
import TextField from '@material-ui/core/TextField';
|
|
@@ -8,7 +8,7 @@ import { repoPickerValidation } from '../components/fields/RepoUrlPicker/validat
|
|
|
8
8
|
import { OwnedEntityPicker } from '../components/fields/OwnedEntityPicker/OwnedEntityPicker.esm.js';
|
|
9
9
|
import { MyGroupsPicker } from '../components/fields/MyGroupsPicker/MyGroupsPicker.esm.js';
|
|
10
10
|
import { SecretInput } from '../components/fields/SecretInput/SecretInput.esm.js';
|
|
11
|
-
import {
|
|
11
|
+
import { validateMultiEntityPickerValidation, MultiEntityPicker } from '../components/fields/MultiEntityPicker/MultiEntityPicker.esm.js';
|
|
12
12
|
import { RepoBranchPicker } from '../components/fields/RepoBranchPicker/RepoBranchPicker.esm.js';
|
|
13
13
|
import { RepoBranchPickerSchema } from '../components/fields/RepoBranchPicker/schema.esm.js';
|
|
14
14
|
import { EntityPickerSchema } from '../components/fields/EntityPicker/schema.esm.js';
|
package/dist/plugin.esm.js
CHANGED
|
@@ -5,14 +5,14 @@ import { EntityPicker } from './components/fields/EntityPicker/EntityPicker.esm.
|
|
|
5
5
|
import { entityNamePickerValidation } from './components/fields/EntityNamePicker/validation.esm.js';
|
|
6
6
|
import { EntityNamePicker } from './components/fields/EntityNamePicker/EntityNamePicker.esm.js';
|
|
7
7
|
import { OwnerPicker } from './components/fields/OwnerPicker/OwnerPicker.esm.js';
|
|
8
|
-
import {
|
|
8
|
+
import { validateMultiEntityPickerValidation, MultiEntityPicker } from './components/fields/MultiEntityPicker/MultiEntityPicker.esm.js';
|
|
9
9
|
import { RepoUrlPickerSchema } from './components/fields/RepoUrlPicker/schema.esm.js';
|
|
10
10
|
import { repoPickerValidation } from './components/fields/RepoUrlPicker/validation.esm.js';
|
|
11
11
|
import { RepoUrlPicker } from './components/fields/RepoUrlPicker/RepoUrlPicker.esm.js';
|
|
12
|
-
import { createPlugin, createApiFactory,
|
|
12
|
+
import { createPlugin, createApiFactory, identityApiRef, fetchApiRef, discoveryApiRef, createRoutableExtension } from '@backstage/core-plugin-api';
|
|
13
13
|
import { OwnedEntityPicker } from './components/fields/OwnedEntityPicker/OwnedEntityPicker.esm.js';
|
|
14
14
|
import { EntityTagsPicker } from './components/fields/EntityTagsPicker/EntityTagsPicker.esm.js';
|
|
15
|
-
import {
|
|
15
|
+
import { viewTechDocRouteRef, registerComponentRouteRef, templateFormRouteRef, customFieldsRouteRef, editorRouteRef, editRouteRef, scaffolderListTaskRouteRef, actionsRouteRef, scaffolderTaskRouteRef, selectedTemplateRouteRef, rootRouteRef } from './routes.esm.js';
|
|
16
16
|
import { MyGroupsPicker } from './components/fields/MyGroupsPicker/MyGroupsPicker.esm.js';
|
|
17
17
|
import { RepoBranchPicker } from './components/fields/RepoBranchPicker/RepoBranchPicker.esm.js';
|
|
18
18
|
import { RepoBranchPickerSchema } from './components/fields/RepoBranchPicker/schema.esm.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-scaffolder",
|
|
3
|
-
"version": "1.27.0
|
|
3
|
+
"version": "1.27.0",
|
|
4
4
|
"description": "The Backstage plugin that helps you create new things",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "frontend-plugin",
|
|
@@ -67,21 +67,21 @@
|
|
|
67
67
|
"test": "backstage-cli package test"
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@backstage/catalog-client": "1.8.0
|
|
71
|
-
"@backstage/catalog-model": "1.7.
|
|
72
|
-
"@backstage/core-compat-api": "0.3.2
|
|
73
|
-
"@backstage/core-components": "0.16.0
|
|
74
|
-
"@backstage/core-plugin-api": "1.10.
|
|
75
|
-
"@backstage/errors": "1.2.
|
|
76
|
-
"@backstage/frontend-plugin-api": "0.9.1
|
|
77
|
-
"@backstage/integration": "1.15.
|
|
78
|
-
"@backstage/integration-react": "1.2.
|
|
79
|
-
"@backstage/plugin-catalog-common": "1.1.
|
|
80
|
-
"@backstage/plugin-catalog-react": "1.14.1
|
|
81
|
-
"@backstage/plugin-permission-react": "0.4.
|
|
82
|
-
"@backstage/plugin-scaffolder-common": "1.5.7
|
|
83
|
-
"@backstage/plugin-scaffolder-react": "1.14.0
|
|
84
|
-
"@backstage/types": "1.
|
|
70
|
+
"@backstage/catalog-client": "^1.8.0",
|
|
71
|
+
"@backstage/catalog-model": "^1.7.1",
|
|
72
|
+
"@backstage/core-compat-api": "^0.3.2",
|
|
73
|
+
"@backstage/core-components": "^0.16.0",
|
|
74
|
+
"@backstage/core-plugin-api": "^1.10.1",
|
|
75
|
+
"@backstage/errors": "^1.2.5",
|
|
76
|
+
"@backstage/frontend-plugin-api": "^0.9.1",
|
|
77
|
+
"@backstage/integration": "^1.15.2",
|
|
78
|
+
"@backstage/integration-react": "^1.2.1",
|
|
79
|
+
"@backstage/plugin-catalog-common": "^1.1.1",
|
|
80
|
+
"@backstage/plugin-catalog-react": "^1.14.1",
|
|
81
|
+
"@backstage/plugin-permission-react": "^0.4.28",
|
|
82
|
+
"@backstage/plugin-scaffolder-common": "^1.5.7",
|
|
83
|
+
"@backstage/plugin-scaffolder-react": "^1.14.0",
|
|
84
|
+
"@backstage/types": "^1.2.0",
|
|
85
85
|
"@codemirror/language": "^6.0.0",
|
|
86
86
|
"@codemirror/legacy-modes": "^6.1.0",
|
|
87
87
|
"@codemirror/view": "^6.0.0",
|
|
@@ -114,12 +114,12 @@
|
|
|
114
114
|
"zod-to-json-schema": "^3.20.4"
|
|
115
115
|
},
|
|
116
116
|
"devDependencies": {
|
|
117
|
-
"@backstage/cli": "0.29.0
|
|
118
|
-
"@backstage/core-app-api": "1.15.
|
|
119
|
-
"@backstage/dev-utils": "1.1.3
|
|
120
|
-
"@backstage/plugin-catalog": "1.25.0
|
|
121
|
-
"@backstage/plugin-permission-common": "0.8.
|
|
122
|
-
"@backstage/test-utils": "1.7.1
|
|
117
|
+
"@backstage/cli": "^0.29.0",
|
|
118
|
+
"@backstage/core-app-api": "^1.15.2",
|
|
119
|
+
"@backstage/dev-utils": "^1.1.3",
|
|
120
|
+
"@backstage/plugin-catalog": "^1.25.0",
|
|
121
|
+
"@backstage/plugin-permission-common": "^0.8.2",
|
|
122
|
+
"@backstage/test-utils": "^1.7.1",
|
|
123
123
|
"@testing-library/dom": "^10.0.0",
|
|
124
124
|
"@testing-library/jest-dom": "^6.0.0",
|
|
125
125
|
"@testing-library/react": "^16.0.0",
|