@backstage/plugin-scaffolder-react 1.14.4 → 1.14.5-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 +60 -4
- package/dist/index.d.ts +1 -0
- package/dist/next/components/TemplateOutputs/DefaultTemplateOutputs.esm.js +4 -2
- package/dist/next/components/TemplateOutputs/DefaultTemplateOutputs.esm.js.map +1 -1
- package/dist/utils.esm.js +1 -0
- package/dist/utils.esm.js.map +1 -1
- package/package.json +24 -22
package/CHANGELOG.md
CHANGED
|
@@ -1,20 +1,76 @@
|
|
|
1
1
|
# @backstage/plugin-scaffolder-react
|
|
2
2
|
|
|
3
|
-
## 1.14.
|
|
3
|
+
## 1.14.5-next.3
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
-
- 88465d0: Reverted the validation in dependencies in scaffolder
|
|
8
7
|
- Updated dependencies
|
|
8
|
+
- @backstage/frontend-plugin-api@0.9.5-next.3
|
|
9
|
+
- @backstage/catalog-client@1.9.1
|
|
10
|
+
- @backstage/catalog-model@1.7.3
|
|
11
|
+
- @backstage/core-components@0.16.4-next.1
|
|
12
|
+
- @backstage/core-plugin-api@1.10.4-next.0
|
|
13
|
+
- @backstage/theme@0.6.4-next.0
|
|
14
|
+
- @backstage/types@1.2.1
|
|
15
|
+
- @backstage/version-bridge@1.0.11-next.0
|
|
16
|
+
- @backstage/plugin-catalog-react@1.15.2-next.3
|
|
17
|
+
- @backstage/plugin-permission-react@0.4.31-next.0
|
|
18
|
+
- @backstage/plugin-scaffolder-common@1.5.9
|
|
19
|
+
|
|
20
|
+
## 1.14.5-next.2
|
|
21
|
+
|
|
22
|
+
### Patch Changes
|
|
23
|
+
|
|
24
|
+
- 656f67b: Reverted the validation in dependencies in scaffolder
|
|
25
|
+
- 2003fc2: Hide text output button if only one is present
|
|
26
|
+
- a35118f: build(deps): bump `immer` from 8.0.4 to 9.0.6
|
|
27
|
+
- 1283f06: Added missing `ajv` and `immer` dependencies to `@backstage/plugin-scaffolder-react`
|
|
28
|
+
- Updated dependencies
|
|
29
|
+
- @backstage/core-components@0.16.4-next.1
|
|
30
|
+
- @backstage/plugin-catalog-react@1.15.2-next.2
|
|
31
|
+
- @backstage/catalog-client@1.9.1
|
|
32
|
+
- @backstage/catalog-model@1.7.3
|
|
33
|
+
- @backstage/core-plugin-api@1.10.4-next.0
|
|
34
|
+
- @backstage/frontend-plugin-api@0.9.5-next.2
|
|
35
|
+
- @backstage/theme@0.6.4-next.0
|
|
36
|
+
- @backstage/types@1.2.1
|
|
37
|
+
- @backstage/version-bridge@1.0.11-next.0
|
|
38
|
+
- @backstage/plugin-permission-react@0.4.31-next.0
|
|
39
|
+
- @backstage/plugin-scaffolder-common@1.5.9
|
|
40
|
+
|
|
41
|
+
## 1.14.4-next.1
|
|
42
|
+
|
|
43
|
+
### Patch Changes
|
|
44
|
+
|
|
45
|
+
- 58ec9e7: Removed older versions of React packages as a preparatory step for upgrading to React 19. This commit does not introduce any functional changes, but removes dependencies on previous React versions, allowing for a cleaner upgrade path in subsequent commits.
|
|
46
|
+
- Updated dependencies
|
|
47
|
+
- @backstage/core-components@0.16.4-next.0
|
|
48
|
+
- @backstage/frontend-plugin-api@0.9.5-next.1
|
|
49
|
+
- @backstage/core-plugin-api@1.10.4-next.0
|
|
50
|
+
- @backstage/plugin-permission-react@0.4.31-next.0
|
|
51
|
+
- @backstage/version-bridge@1.0.11-next.0
|
|
52
|
+
- @backstage/plugin-catalog-react@1.15.2-next.1
|
|
53
|
+
- @backstage/theme@0.6.4-next.0
|
|
54
|
+
- @backstage/catalog-client@1.9.1
|
|
55
|
+
- @backstage/catalog-model@1.7.3
|
|
56
|
+
- @backstage/types@1.2.1
|
|
57
|
+
- @backstage/plugin-scaffolder-common@1.5.9
|
|
58
|
+
|
|
59
|
+
## 1.14.4-next.0
|
|
60
|
+
|
|
61
|
+
### Patch Changes
|
|
62
|
+
|
|
63
|
+
- 3edf7e7: Add schema output return type to the `makeFieldSchema` function return
|
|
64
|
+
- Updated dependencies
|
|
65
|
+
- @backstage/frontend-plugin-api@0.9.5-next.0
|
|
9
66
|
- @backstage/catalog-client@1.9.1
|
|
10
67
|
- @backstage/catalog-model@1.7.3
|
|
11
68
|
- @backstage/core-components@0.16.3
|
|
12
69
|
- @backstage/core-plugin-api@1.10.3
|
|
13
|
-
- @backstage/frontend-plugin-api@0.9.4
|
|
14
70
|
- @backstage/theme@0.6.3
|
|
15
71
|
- @backstage/types@1.2.1
|
|
16
72
|
- @backstage/version-bridge@1.0.10
|
|
17
|
-
- @backstage/plugin-catalog-react@1.15.
|
|
73
|
+
- @backstage/plugin-catalog-react@1.15.2-next.0
|
|
18
74
|
- @backstage/plugin-permission-react@0.4.30
|
|
19
75
|
- @backstage/plugin-scaffolder-common@1.5.9
|
|
20
76
|
|
package/dist/index.d.ts
CHANGED
|
@@ -686,6 +686,7 @@ interface FieldSchema<TReturn, TUiOptions> {
|
|
|
686
686
|
readonly uiOptionsType: TUiOptions;
|
|
687
687
|
readonly schema: CustomFieldExtensionSchema;
|
|
688
688
|
readonly TProps: FieldExtensionComponentProps<TReturn, TUiOptions>;
|
|
689
|
+
readonly TOutput: TReturn;
|
|
689
690
|
}
|
|
690
691
|
|
|
691
692
|
export { type Action, type ActionExample, type CustomFieldExtensionSchema, type CustomFieldValidator, type FieldExtensionComponent, type FieldExtensionComponentProps, type FieldExtensionOptions, type FieldExtensionUiSchema, type FieldSchema, type FormProps, type LayoutComponent, type LayoutOptions, type LayoutTemplate, type ListActionsResponse, type LogEvent, type ReviewStepProps, type ScaffolderApi, type ScaffolderDryRunOptions, type ScaffolderDryRunResponse, ScaffolderFieldExtensions, type ScaffolderGetIntegrationsListOptions, type ScaffolderGetIntegrationsListResponse, ScaffolderLayouts, type ScaffolderOutputLink, type ScaffolderOutputText, type ScaffolderRJSFField, type ScaffolderRJSFFieldProps, type ScaffolderRJSFFormProps, type ScaffolderRJSFRegistryFieldsType, type ScaffolderScaffoldOptions, type ScaffolderScaffoldResponse, type ScaffolderStep, type ScaffolderStreamLogsOptions, type ScaffolderTask, type ScaffolderTaskOutput, type ScaffolderTaskStatus, type ScaffolderUseTemplateSecrets, SecretsContextProvider, type TaskStream, type TemplateGroupFilter, type TemplateParameterSchema, createScaffolderFieldExtension, createScaffolderLayout, makeFieldSchema, scaffolderApiRef, useCustomFieldExtensions, useCustomLayouts, useTaskEventStream, useTemplateSecrets };
|
|
@@ -25,7 +25,8 @@ const DefaultTemplateOutputs = (props) => {
|
|
|
25
25
|
if (!output) {
|
|
26
26
|
return null;
|
|
27
27
|
}
|
|
28
|
-
const
|
|
28
|
+
const displayTextButtons = (output.text || []).length > 1;
|
|
29
|
+
const emptyOutput = (output.links || []).length === 0 && !displayTextButtons;
|
|
29
30
|
return /* @__PURE__ */ React.createElement(React.Fragment, null, !emptyOutput ? /* @__PURE__ */ React.createElement(Box, { paddingBottom: 2, "data-testid": "output-box" }, /* @__PURE__ */ React.createElement(Paper, null, /* @__PURE__ */ React.createElement(
|
|
30
31
|
Box,
|
|
31
32
|
{
|
|
@@ -35,9 +36,10 @@ const DefaultTemplateOutputs = (props) => {
|
|
|
35
36
|
gridGap: 16,
|
|
36
37
|
flexWrap: "wrap"
|
|
37
38
|
},
|
|
38
|
-
/* @__PURE__ */ React.createElement(
|
|
39
|
+
displayTextButtons && /* @__PURE__ */ React.createElement(
|
|
39
40
|
TextOutputs,
|
|
40
41
|
{
|
|
42
|
+
"data-testid": "text-outputs",
|
|
41
43
|
output,
|
|
42
44
|
index: textOutputIndex,
|
|
43
45
|
setIndex: setTextOutputIndex
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DefaultTemplateOutputs.esm.js","sources":["../../../../src/next/components/TemplateOutputs/DefaultTemplateOutputs.tsx"],"sourcesContent":["/*\n * Copyright 2023 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { InfoCard, MarkdownContent } from '@backstage/core-components';\nimport {\n ScaffolderOutputText,\n ScaffolderTaskOutput,\n} from '@backstage/plugin-scaffolder-react';\nimport Box from '@material-ui/core/Box';\nimport Paper from '@material-ui/core/Paper';\nimport React, { useEffect, useMemo, useState } from 'react';\nimport { LinkOutputs } from './LinkOutputs';\nimport { TextOutputs } from './TextOutputs';\n\n/**\n * The DefaultOutputs renderer for the scaffolder task output\n *\n * @alpha\n */\nexport const DefaultTemplateOutputs = (props: {\n output?: ScaffolderTaskOutput;\n}) => {\n const { output } = props;\n const [textOutputIndex, setTextOutputIndex] = useState<number | undefined>(\n undefined,\n );\n\n useEffect(() => {\n if (textOutputIndex === undefined && output?.text) {\n const defaultIndex = output.text.findIndex(\n (t: ScaffolderOutputText) => t.default,\n );\n setTextOutputIndex(defaultIndex >= 0 ? defaultIndex : 0);\n }\n }, [textOutputIndex, output]);\n\n const textOutput = useMemo(\n () =>\n textOutputIndex !== undefined ? output?.text?.[textOutputIndex] : null,\n [output, textOutputIndex],\n );\n\n if (!output) {\n return null;\n }\n\n const emptyOutput =
|
|
1
|
+
{"version":3,"file":"DefaultTemplateOutputs.esm.js","sources":["../../../../src/next/components/TemplateOutputs/DefaultTemplateOutputs.tsx"],"sourcesContent":["/*\n * Copyright 2023 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { InfoCard, MarkdownContent } from '@backstage/core-components';\nimport {\n ScaffolderOutputText,\n ScaffolderTaskOutput,\n} from '@backstage/plugin-scaffolder-react';\nimport Box from '@material-ui/core/Box';\nimport Paper from '@material-ui/core/Paper';\nimport React, { useEffect, useMemo, useState } from 'react';\nimport { LinkOutputs } from './LinkOutputs';\nimport { TextOutputs } from './TextOutputs';\n\n/**\n * The DefaultOutputs renderer for the scaffolder task output\n *\n * @alpha\n */\nexport const DefaultTemplateOutputs = (props: {\n output?: ScaffolderTaskOutput;\n}) => {\n const { output } = props;\n const [textOutputIndex, setTextOutputIndex] = useState<number | undefined>(\n undefined,\n );\n\n useEffect(() => {\n if (textOutputIndex === undefined && output?.text) {\n const defaultIndex = output.text.findIndex(\n (t: ScaffolderOutputText) => t.default,\n );\n setTextOutputIndex(defaultIndex >= 0 ? defaultIndex : 0);\n }\n }, [textOutputIndex, output]);\n\n const textOutput = useMemo(\n () =>\n textOutputIndex !== undefined ? output?.text?.[textOutputIndex] : null,\n [output, textOutputIndex],\n );\n\n if (!output) {\n return null;\n }\n\n const displayTextButtons = (output.text || []).length > 1;\n const emptyOutput = (output.links || []).length === 0 && !displayTextButtons;\n\n return (\n <>\n {!emptyOutput ? (\n <Box paddingBottom={2} data-testid=\"output-box\">\n <Paper>\n <Box\n padding={2}\n justifyContent=\"center\"\n display=\"flex\"\n gridGap={16}\n flexWrap=\"wrap\"\n >\n {displayTextButtons && (\n <TextOutputs\n data-testid=\"text-outputs\"\n output={output}\n index={textOutputIndex}\n setIndex={setTextOutputIndex}\n />\n )}\n <LinkOutputs output={output} />\n </Box>\n </Paper>\n </Box>\n ) : null}\n {textOutput ? (\n <Box paddingBottom={2} data-testid=\"text-output-box\">\n <InfoCard\n title={textOutput.title ?? 'Text Output'}\n noPadding\n titleTypographyProps={{ component: 'h2' }}\n >\n <Box padding={2} height=\"100%\">\n <MarkdownContent content={textOutput.content ?? ''} />\n </Box>\n </InfoCard>\n </Box>\n ) : null}\n </>\n );\n};\n"],"names":[],"mappings":";;;;;;;AA+Ba,MAAA,sBAAA,GAAyB,CAAC,KAEjC,KAAA;AACJ,EAAM,MAAA,EAAE,QAAW,GAAA,KAAA;AACnB,EAAM,MAAA,CAAC,eAAiB,EAAA,kBAAkB,CAAI,GAAA,QAAA;AAAA,IAC5C,KAAA;AAAA,GACF;AAEA,EAAA,SAAA,CAAU,MAAM;AACd,IAAI,IAAA,eAAA,KAAoB,KAAa,CAAA,IAAA,MAAA,EAAQ,IAAM,EAAA;AACjD,MAAM,MAAA,YAAA,GAAe,OAAO,IAAK,CAAA,SAAA;AAAA,QAC/B,CAAC,MAA4B,CAAE,CAAA;AAAA,OACjC;AACA,MAAmB,kBAAA,CAAA,YAAA,IAAgB,CAAI,GAAA,YAAA,GAAe,CAAC,CAAA;AAAA;AACzD,GACC,EAAA,CAAC,eAAiB,EAAA,MAAM,CAAC,CAAA;AAE5B,EAAA,MAAM,UAAa,GAAA,OAAA;AAAA,IACjB,MACE,eAAoB,KAAA,KAAA,CAAA,GAAY,MAAQ,EAAA,IAAA,GAAO,eAAe,CAAI,GAAA,IAAA;AAAA,IACpE,CAAC,QAAQ,eAAe;AAAA,GAC1B;AAEA,EAAA,IAAI,CAAC,MAAQ,EAAA;AACX,IAAO,OAAA,IAAA;AAAA;AAGT,EAAA,MAAM,kBAAsB,GAAA,CAAA,MAAA,CAAO,IAAQ,IAAA,IAAI,MAAS,GAAA,CAAA;AACxD,EAAA,MAAM,eAAe,MAAO,CAAA,KAAA,IAAS,EAAI,EAAA,MAAA,KAAW,KAAK,CAAC,kBAAA;AAE1D,EACE,uBAAA,KAAA,CAAA,aAAA,CAAA,KAAA,CAAA,QAAA,EAAA,IAAA,EACG,CAAC,WAAA,mBACC,KAAA,CAAA,aAAA,CAAA,GAAA,EAAA,EAAI,eAAe,CAAG,EAAA,aAAA,EAAY,YACjC,EAAA,kBAAA,KAAA,CAAA,aAAA,CAAC,KACC,EAAA,IAAA,kBAAA,KAAA,CAAA,aAAA;AAAA,IAAC,GAAA;AAAA,IAAA;AAAA,MACC,OAAS,EAAA,CAAA;AAAA,MACT,cAAe,EAAA,QAAA;AAAA,MACf,OAAQ,EAAA,MAAA;AAAA,MACR,OAAS,EAAA,EAAA;AAAA,MACT,QAAS,EAAA;AAAA,KAAA;AAAA,IAER,kBACC,oBAAA,KAAA,CAAA,aAAA;AAAA,MAAC,WAAA;AAAA,MAAA;AAAA,QACC,aAAY,EAAA,cAAA;AAAA,QACZ,MAAA;AAAA,QACA,KAAO,EAAA,eAAA;AAAA,QACP,QAAU,EAAA;AAAA;AAAA,KACZ;AAAA,oBAEF,KAAA,CAAA,aAAA,CAAC,eAAY,MAAgB,EAAA;AAAA,GAEjC,CACF,CAAA,GACE,IACH,EAAA,UAAA,uCACE,GAAI,EAAA,EAAA,aAAA,EAAe,CAAG,EAAA,aAAA,EAAY,iBACjC,EAAA,kBAAA,KAAA,CAAA,aAAA;AAAA,IAAC,QAAA;AAAA,IAAA;AAAA,MACC,KAAA,EAAO,WAAW,KAAS,IAAA,aAAA;AAAA,MAC3B,SAAS,EAAA,IAAA;AAAA,MACT,oBAAA,EAAsB,EAAE,SAAA,EAAW,IAAK;AAAA,KAAA;AAAA,oBAEvC,KAAA,CAAA,aAAA,CAAA,GAAA,EAAA,EAAI,OAAS,EAAA,CAAA,EAAG,MAAO,EAAA,MAAA,EAAA,kBACrB,KAAA,CAAA,aAAA,CAAA,eAAA,EAAA,EAAgB,OAAS,EAAA,UAAA,CAAW,OAAW,IAAA,EAAA,EAAI,CACtD;AAAA,GAEJ,IACE,IACN,CAAA;AAEJ;;;;"}
|
package/dist/utils.esm.js
CHANGED
package/dist/utils.esm.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.esm.js","sources":["../src/utils.ts"],"sourcesContent":["/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport zodToJsonSchema from 'zod-to-json-schema';\nimport { JSONSchema7 } from 'json-schema';\nimport { z } from 'zod';\nimport {\n CustomFieldExtensionSchema,\n FieldExtensionComponentProps,\n} from './extensions';\n\n/** @public */\nexport function makeFieldSchema<\n TReturnType extends z.ZodType,\n TUiOptions extends z.ZodType,\n>(options: {\n output: (zImpl: typeof z) => TReturnType;\n uiOptions?: (zImpl: typeof z) => TUiOptions;\n}): FieldSchema<z.output<TReturnType>, z.output<TUiOptions>> {\n const { output, uiOptions } = options;\n return {\n TProps: undefined as any,\n schema: {\n returnValue: zodToJsonSchema(output(z)) as JSONSchema7,\n uiOptions: uiOptions && (zodToJsonSchema(uiOptions(z)) as JSONSchema7),\n },\n\n // These will be removed - just here for backwards compat whilst we're moving across\n type: undefined as any,\n uiOptionsType: undefined as any,\n };\n}\n\n/**\n * @public\n * FieldSchema encapsulates a JSONSchema7 along with the\n * matching FieldExtensionComponentProps type for a field extension.\n */\nexport interface FieldSchema<TReturn, TUiOptions> {\n /** @deprecated use TProps instead */\n readonly type: FieldExtensionComponentProps<TReturn, TUiOptions>;\n /** @deprecated will be removed */\n readonly uiOptionsType: TUiOptions;\n\n readonly schema: CustomFieldExtensionSchema;\n readonly TProps: FieldExtensionComponentProps<TReturn, TUiOptions>;\n}\n"],"names":[],"mappings":";;;AAyBO,SAAS,gBAGd,OAG2D,EAAA;AAC3D,EAAM,MAAA,EAAE,MAAQ,EAAA,SAAA,EAAc,GAAA,OAAA;AAC9B,EAAO,OAAA;AAAA,IACL,MAAQ,EAAA,KAAA,CAAA;AAAA,IACR,MAAQ,EAAA;AAAA,MACN,WAAa,EAAA,eAAA,CAAgB,MAAO,CAAA,CAAC,CAAC,CAAA;AAAA,MACtC,SAAW,EAAA,SAAA,IAAc,eAAgB,CAAA,SAAA,CAAU,CAAC,CAAC;AAAA,KACvD;AAAA;AAAA,IAGA,IAAM,EAAA,KAAA,CAAA;AAAA,IACN,aAAe,EAAA,KAAA;AAAA,GACjB;AACF;;;;"}
|
|
1
|
+
{"version":3,"file":"utils.esm.js","sources":["../src/utils.ts"],"sourcesContent":["/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport zodToJsonSchema from 'zod-to-json-schema';\nimport { JSONSchema7 } from 'json-schema';\nimport { z } from 'zod';\nimport {\n CustomFieldExtensionSchema,\n FieldExtensionComponentProps,\n} from './extensions';\n\n/** @public */\nexport function makeFieldSchema<\n TReturnType extends z.ZodType,\n TUiOptions extends z.ZodType,\n>(options: {\n output: (zImpl: typeof z) => TReturnType;\n uiOptions?: (zImpl: typeof z) => TUiOptions;\n}): FieldSchema<z.output<TReturnType>, z.output<TUiOptions>> {\n const { output, uiOptions } = options;\n return {\n TProps: undefined as any,\n TOutput: undefined as any,\n schema: {\n returnValue: zodToJsonSchema(output(z)) as JSONSchema7,\n uiOptions: uiOptions && (zodToJsonSchema(uiOptions(z)) as JSONSchema7),\n },\n\n // These will be removed - just here for backwards compat whilst we're moving across\n type: undefined as any,\n uiOptionsType: undefined as any,\n };\n}\n\n/**\n * @public\n * FieldSchema encapsulates a JSONSchema7 along with the\n * matching FieldExtensionComponentProps type for a field extension.\n */\nexport interface FieldSchema<TReturn, TUiOptions> {\n /** @deprecated use TProps instead */\n readonly type: FieldExtensionComponentProps<TReturn, TUiOptions>;\n /** @deprecated will be removed */\n readonly uiOptionsType: TUiOptions;\n\n readonly schema: CustomFieldExtensionSchema;\n readonly TProps: FieldExtensionComponentProps<TReturn, TUiOptions>;\n readonly TOutput: TReturn;\n}\n"],"names":[],"mappings":";;;AAyBO,SAAS,gBAGd,OAG2D,EAAA;AAC3D,EAAM,MAAA,EAAE,MAAQ,EAAA,SAAA,EAAc,GAAA,OAAA;AAC9B,EAAO,OAAA;AAAA,IACL,MAAQ,EAAA,KAAA,CAAA;AAAA,IACR,OAAS,EAAA,KAAA,CAAA;AAAA,IACT,MAAQ,EAAA;AAAA,MACN,WAAa,EAAA,eAAA,CAAgB,MAAO,CAAA,CAAC,CAAC,CAAA;AAAA,MACtC,SAAW,EAAA,SAAA,IAAc,eAAgB,CAAA,SAAA,CAAU,CAAC,CAAC;AAAA,KACvD;AAAA;AAAA,IAGA,IAAM,EAAA,KAAA,CAAA;AAAA,IACN,aAAe,EAAA,KAAA;AAAA,GACjB;AACF;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-scaffolder-react",
|
|
3
|
-
"version": "1.14.
|
|
3
|
+
"version": "1.14.5-next.3",
|
|
4
4
|
"description": "A frontend library that helps other Backstage plugins interact with the Scaffolder",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "web-library",
|
|
@@ -66,17 +66,17 @@
|
|
|
66
66
|
"test": "backstage-cli package test"
|
|
67
67
|
},
|
|
68
68
|
"dependencies": {
|
|
69
|
-
"@backstage/catalog-client": "
|
|
70
|
-
"@backstage/catalog-model": "
|
|
71
|
-
"@backstage/core-components": "
|
|
72
|
-
"@backstage/core-plugin-api": "
|
|
73
|
-
"@backstage/frontend-plugin-api": "
|
|
74
|
-
"@backstage/plugin-catalog-react": "
|
|
75
|
-
"@backstage/plugin-permission-react": "
|
|
76
|
-
"@backstage/plugin-scaffolder-common": "
|
|
77
|
-
"@backstage/theme": "
|
|
78
|
-
"@backstage/types": "
|
|
79
|
-
"@backstage/version-bridge": "
|
|
69
|
+
"@backstage/catalog-client": "1.9.1",
|
|
70
|
+
"@backstage/catalog-model": "1.7.3",
|
|
71
|
+
"@backstage/core-components": "0.16.4-next.1",
|
|
72
|
+
"@backstage/core-plugin-api": "1.10.4-next.0",
|
|
73
|
+
"@backstage/frontend-plugin-api": "0.9.5-next.3",
|
|
74
|
+
"@backstage/plugin-catalog-react": "1.15.2-next.3",
|
|
75
|
+
"@backstage/plugin-permission-react": "0.4.31-next.0",
|
|
76
|
+
"@backstage/plugin-scaffolder-common": "1.5.9",
|
|
77
|
+
"@backstage/theme": "0.6.4-next.0",
|
|
78
|
+
"@backstage/types": "1.2.1",
|
|
79
|
+
"@backstage/version-bridge": "1.0.11-next.0",
|
|
80
80
|
"@material-ui/core": "^4.12.2",
|
|
81
81
|
"@material-ui/icons": "^4.9.1",
|
|
82
82
|
"@material-ui/lab": "4.0.0-alpha.61",
|
|
@@ -86,10 +86,12 @@
|
|
|
86
86
|
"@rjsf/utils": "5.23.2",
|
|
87
87
|
"@rjsf/validator-ajv8": "5.23.2",
|
|
88
88
|
"@types/json-schema": "^7.0.9",
|
|
89
|
+
"ajv": "^8.0.1",
|
|
89
90
|
"ajv-errors": "^3.0.0",
|
|
90
91
|
"classnames": "^2.2.6",
|
|
91
92
|
"flatted": "3.3.2",
|
|
92
93
|
"humanize-duration": "^3.25.1",
|
|
94
|
+
"immer": "^9.0.6",
|
|
93
95
|
"json-schema": "^0.4.0",
|
|
94
96
|
"json-schema-library": "^9.0.0",
|
|
95
97
|
"lodash": "^4.17.21",
|
|
@@ -102,12 +104,12 @@
|
|
|
102
104
|
"zod-to-json-schema": "^3.20.4"
|
|
103
105
|
},
|
|
104
106
|
"devDependencies": {
|
|
105
|
-
"@backstage/cli": "
|
|
106
|
-
"@backstage/core-app-api": "
|
|
107
|
-
"@backstage/plugin-catalog": "
|
|
108
|
-
"@backstage/plugin-catalog-common": "
|
|
109
|
-
"@backstage/plugin-permission-common": "
|
|
110
|
-
"@backstage/test-utils": "
|
|
107
|
+
"@backstage/cli": "0.30.0-next.3",
|
|
108
|
+
"@backstage/core-app-api": "1.15.5-next.0",
|
|
109
|
+
"@backstage/plugin-catalog": "1.27.0-next.3",
|
|
110
|
+
"@backstage/plugin-catalog-common": "1.1.3",
|
|
111
|
+
"@backstage/plugin-permission-common": "0.8.4",
|
|
112
|
+
"@backstage/test-utils": "1.7.5-next.0",
|
|
111
113
|
"@testing-library/dom": "^10.0.0",
|
|
112
114
|
"@testing-library/jest-dom": "^6.0.0",
|
|
113
115
|
"@testing-library/react": "^16.0.0",
|
|
@@ -121,10 +123,10 @@
|
|
|
121
123
|
"swr": "^2.0.0"
|
|
122
124
|
},
|
|
123
125
|
"peerDependencies": {
|
|
124
|
-
"@types/react": "^
|
|
125
|
-
"react": "^
|
|
126
|
-
"react-dom": "^
|
|
127
|
-
"react-router-dom": "
|
|
126
|
+
"@types/react": "^17.0.0 || ^18.0.0",
|
|
127
|
+
"react": "^17.0.0 || ^18.0.0",
|
|
128
|
+
"react-dom": "^17.0.0 || ^18.0.0",
|
|
129
|
+
"react-router-dom": "^6.3.0"
|
|
128
130
|
},
|
|
129
131
|
"peerDependenciesMeta": {
|
|
130
132
|
"@types/react": {
|