@backstage/plugin-scaffolder 1.27.5-next.0 → 1.27.5
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,25 +1,24 @@
|
|
|
1
1
|
# @backstage/plugin-scaffolder
|
|
2
2
|
|
|
3
|
-
## 1.27.5
|
|
3
|
+
## 1.27.5
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
-
-
|
|
8
|
-
- 3edf7e7: Add schema output return type to the `makeFieldSchema` function return
|
|
7
|
+
- 8734b8e: Fixed a bug in the BitbucketRepoBranchPicker component that crashed the scaffolder
|
|
9
8
|
- Updated dependencies
|
|
10
|
-
- @backstage/plugin-scaffolder-react@1.14.4
|
|
11
|
-
- @backstage/frontend-plugin-api@0.9.5-next.0
|
|
9
|
+
- @backstage/plugin-scaffolder-react@1.14.4
|
|
12
10
|
- @backstage/catalog-client@1.9.1
|
|
13
11
|
- @backstage/catalog-model@1.7.3
|
|
14
|
-
- @backstage/core-compat-api@0.3.
|
|
12
|
+
- @backstage/core-compat-api@0.3.5
|
|
15
13
|
- @backstage/core-components@0.16.3
|
|
16
14
|
- @backstage/core-plugin-api@1.10.3
|
|
17
15
|
- @backstage/errors@1.2.7
|
|
16
|
+
- @backstage/frontend-plugin-api@0.9.4
|
|
18
17
|
- @backstage/integration@1.16.1
|
|
19
18
|
- @backstage/integration-react@1.2.3
|
|
20
19
|
- @backstage/types@1.2.1
|
|
21
20
|
- @backstage/plugin-catalog-common@1.1.3
|
|
22
|
-
- @backstage/plugin-catalog-react@1.15.
|
|
21
|
+
- @backstage/plugin-catalog-react@1.15.1
|
|
23
22
|
- @backstage/plugin-permission-react@0.4.30
|
|
24
23
|
- @backstage/plugin-scaffolder-common@1.5.9
|
|
25
24
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.esm.js","sources":["../../../src/components/fields/utils.ts"],"sourcesContent":["/*\n * Copyright 2022 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 { JSONSchema7 } from 'json-schema';\nimport { z } from 'zod';\nimport zodToJsonSchema from 'zod-to-json-schema';\nimport { FieldSchema as FieldSchemaType } from '@backstage/plugin-scaffolder-react';\n\n/**\n * @public\n * @deprecated - import from {@link @backstage/plugin-scaffolder-react#FieldSchema} instead\n */\nexport interface FieldSchema<T, P> extends FieldSchemaType<T, P> {}\n\n/**\n * @public\n * @deprecated use `makeFieldSchema` instead\n * Utility function to convert zod return and UI options schemas to a\n * CustomFieldExtensionSchema with FieldExtensionComponentProps type inference\n */\n\nexport function makeFieldSchemaFromZod<\n TReturnSchema extends z.ZodType,\n TUiOptionsSchema extends z.ZodType = z.ZodType<any, any, {}>,\n>(\n returnSchema: TReturnSchema,\n uiOptionsSchema?: TUiOptionsSchema,\n): FieldSchema<\n TReturnSchema extends z.ZodType<any, any, infer IReturn> ? IReturn : never,\n TUiOptionsSchema extends z.ZodType<any, any, infer IUiOptions>\n ? IUiOptions\n : never\n> {\n return {\n schema: {\n returnValue: zodToJsonSchema(returnSchema) as JSONSchema7,\n uiOptions: uiOptionsSchema\n ? (zodToJsonSchema(uiOptionsSchema) as JSONSchema7)\n : undefined,\n },\n type: null as any,\n uiOptionsType: null as any,\n TProps: undefined as any,\n
|
|
1
|
+
{"version":3,"file":"utils.esm.js","sources":["../../../src/components/fields/utils.ts"],"sourcesContent":["/*\n * Copyright 2022 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 { JSONSchema7 } from 'json-schema';\nimport { z } from 'zod';\nimport zodToJsonSchema from 'zod-to-json-schema';\nimport { FieldSchema as FieldSchemaType } from '@backstage/plugin-scaffolder-react';\n\n/**\n * @public\n * @deprecated - import from {@link @backstage/plugin-scaffolder-react#FieldSchema} instead\n */\nexport interface FieldSchema<T, P> extends FieldSchemaType<T, P> {}\n\n/**\n * @public\n * @deprecated use `makeFieldSchema` instead\n * Utility function to convert zod return and UI options schemas to a\n * CustomFieldExtensionSchema with FieldExtensionComponentProps type inference\n */\n\nexport function makeFieldSchemaFromZod<\n TReturnSchema extends z.ZodType,\n TUiOptionsSchema extends z.ZodType = z.ZodType<any, any, {}>,\n>(\n returnSchema: TReturnSchema,\n uiOptionsSchema?: TUiOptionsSchema,\n): FieldSchema<\n TReturnSchema extends z.ZodType<any, any, infer IReturn> ? IReturn : never,\n TUiOptionsSchema extends z.ZodType<any, any, infer IUiOptions>\n ? IUiOptions\n : never\n> {\n return {\n schema: {\n returnValue: zodToJsonSchema(returnSchema) as JSONSchema7,\n uiOptions: uiOptionsSchema\n ? (zodToJsonSchema(uiOptionsSchema) as JSONSchema7)\n : undefined,\n },\n type: null as any,\n uiOptionsType: null as any,\n TProps: undefined as any,\n };\n}\n"],"names":[],"mappings":";;AAiCgB,SAAA,sBAAA,CAId,cACA,eAMA,EAAA;AACA,EAAO,OAAA;AAAA,IACL,MAAQ,EAAA;AAAA,MACN,WAAA,EAAa,gBAAgB,YAAY,CAAA;AAAA,MACzC,SAAW,EAAA,eAAA,GACN,eAAgB,CAAA,eAAe,CAChC,GAAA,KAAA;AAAA,KACN;AAAA,IACA,IAAM,EAAA,IAAA;AAAA,IACN,aAAe,EAAA,IAAA;AAAA,IACf,MAAQ,EAAA,KAAA;AAAA,GACV;AACF;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-scaffolder",
|
|
3
|
-
"version": "1.27.5
|
|
3
|
+
"version": "1.27.5",
|
|
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.9.1",
|
|
71
|
-
"@backstage/catalog-model": "1.7.3",
|
|
72
|
-
"@backstage/core-compat-api": "0.3.
|
|
73
|
-
"@backstage/core-components": "0.16.3",
|
|
74
|
-
"@backstage/core-plugin-api": "1.10.3",
|
|
75
|
-
"@backstage/errors": "1.2.7",
|
|
76
|
-
"@backstage/frontend-plugin-api": "0.9.
|
|
77
|
-
"@backstage/integration": "1.16.1",
|
|
78
|
-
"@backstage/integration-react": "1.2.3",
|
|
79
|
-
"@backstage/plugin-catalog-common": "1.1.3",
|
|
80
|
-
"@backstage/plugin-catalog-react": "1.15.
|
|
81
|
-
"@backstage/plugin-permission-react": "0.4.30",
|
|
82
|
-
"@backstage/plugin-scaffolder-common": "1.5.9",
|
|
83
|
-
"@backstage/plugin-scaffolder-react": "1.14.4
|
|
84
|
-
"@backstage/types": "1.2.1",
|
|
70
|
+
"@backstage/catalog-client": "^1.9.1",
|
|
71
|
+
"@backstage/catalog-model": "^1.7.3",
|
|
72
|
+
"@backstage/core-compat-api": "^0.3.5",
|
|
73
|
+
"@backstage/core-components": "^0.16.3",
|
|
74
|
+
"@backstage/core-plugin-api": "^1.10.3",
|
|
75
|
+
"@backstage/errors": "^1.2.7",
|
|
76
|
+
"@backstage/frontend-plugin-api": "^0.9.4",
|
|
77
|
+
"@backstage/integration": "^1.16.1",
|
|
78
|
+
"@backstage/integration-react": "^1.2.3",
|
|
79
|
+
"@backstage/plugin-catalog-common": "^1.1.3",
|
|
80
|
+
"@backstage/plugin-catalog-react": "^1.15.1",
|
|
81
|
+
"@backstage/plugin-permission-react": "^0.4.30",
|
|
82
|
+
"@backstage/plugin-scaffolder-common": "^1.5.9",
|
|
83
|
+
"@backstage/plugin-scaffolder-react": "^1.14.4",
|
|
84
|
+
"@backstage/types": "^1.2.1",
|
|
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.
|
|
118
|
-
"@backstage/core-app-api": "1.15.4",
|
|
119
|
-
"@backstage/dev-utils": "1.1.
|
|
120
|
-
"@backstage/plugin-catalog": "1.26.
|
|
121
|
-
"@backstage/plugin-permission-common": "0.8.4",
|
|
122
|
-
"@backstage/test-utils": "1.7.4",
|
|
117
|
+
"@backstage/cli": "^0.29.6",
|
|
118
|
+
"@backstage/core-app-api": "^1.15.4",
|
|
119
|
+
"@backstage/dev-utils": "^1.1.6",
|
|
120
|
+
"@backstage/plugin-catalog": "^1.26.1",
|
|
121
|
+
"@backstage/plugin-permission-common": "^0.8.4",
|
|
122
|
+
"@backstage/test-utils": "^1.7.4",
|
|
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",
|