@backstage/plugin-scaffolder 1.34.0-next.1 → 1.34.0-next.2
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 +22 -0
- package/dist/alpha/api/FormDecoratorsApi.esm.js +1 -1
- package/dist/alpha/api/FormDecoratorsApi.esm.js.map +1 -1
- package/dist/alpha/extensions.esm.js +2 -2
- package/dist/alpha/extensions.esm.js.map +1 -1
- package/dist/alpha.d.ts +12 -11
- package/dist/plugins/scaffolder/package.json.esm.js +1 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @backstage/plugin-scaffolder
|
|
2
2
|
|
|
3
|
+
## 1.34.0-next.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- e4ddf22: Internal update to align with new blueprint parameter naming in the new frontend system.
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @backstage/frontend-plugin-api@0.11.0-next.1
|
|
10
|
+
- @backstage/core-compat-api@0.5.0-next.2
|
|
11
|
+
- @backstage/plugin-catalog-react@1.20.0-next.2
|
|
12
|
+
- @backstage/core-components@0.17.5-next.1
|
|
13
|
+
- @backstage/catalog-client@1.11.0-next.0
|
|
14
|
+
- @backstage/catalog-model@1.7.5
|
|
15
|
+
- @backstage/core-plugin-api@1.10.9
|
|
16
|
+
- @backstage/errors@1.2.7
|
|
17
|
+
- @backstage/integration@1.17.1
|
|
18
|
+
- @backstage/integration-react@1.2.9
|
|
19
|
+
- @backstage/types@1.2.1
|
|
20
|
+
- @backstage/plugin-catalog-common@1.1.5
|
|
21
|
+
- @backstage/plugin-permission-react@0.4.36
|
|
22
|
+
- @backstage/plugin-scaffolder-common@1.7.0-next.0
|
|
23
|
+
- @backstage/plugin-scaffolder-react@1.19.0-next.1
|
|
24
|
+
|
|
3
25
|
## 1.34.0-next.1
|
|
4
26
|
|
|
5
27
|
### Minor Changes
|
|
@@ -27,7 +27,7 @@ const formDecoratorsApi = ApiBlueprint.makeWithOverrides({
|
|
|
27
27
|
(e) => e.get(FormDecoratorBlueprint.dataRefs.formDecoratorLoader)
|
|
28
28
|
);
|
|
29
29
|
return originalFactory(
|
|
30
|
-
(
|
|
30
|
+
(defineParams) => defineParams({
|
|
31
31
|
api: formDecoratorsApiRef,
|
|
32
32
|
deps: {},
|
|
33
33
|
factory: () => DefaultScaffolderFormDecoratorsApi.create({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormDecoratorsApi.esm.js","sources":["../../../src/alpha/api/FormDecoratorsApi.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 {\n ApiBlueprint,\n createExtensionInput,\n} from '@backstage/frontend-plugin-api';\nimport { ScaffolderFormDecoratorsApi } from './types';\nimport { ScaffolderFormDecorator } from '@backstage/plugin-scaffolder-react/alpha';\nimport { formDecoratorsApiRef } from './ref';\nimport { FormDecoratorBlueprint } from '@backstage/plugin-scaffolder-react/alpha';\n\n/** @alpha */\nexport class DefaultScaffolderFormDecoratorsApi\n implements ScaffolderFormDecoratorsApi\n{\n private constructor(\n private readonly options: {\n decorators: Array<ScaffolderFormDecorator>;\n },\n ) {}\n\n static create(options?: { decorators: ScaffolderFormDecorator[] }) {\n return new DefaultScaffolderFormDecoratorsApi(\n options ?? { decorators: [] },\n );\n }\n\n async getFormDecorators(): Promise<ScaffolderFormDecorator[]> {\n return this.options.decorators;\n }\n}\n\n/** @alpha */\nexport const formDecoratorsApi = ApiBlueprint.makeWithOverrides({\n name: 'form-decorators',\n inputs: {\n formDecorators: createExtensionInput([\n FormDecoratorBlueprint.dataRefs.formDecoratorLoader,\n ]),\n },\n factory(originalFactory, { inputs }) {\n const formDecorators = inputs.formDecorators.map(e =>\n e.get(FormDecoratorBlueprint.dataRefs.formDecoratorLoader),\n );\n\n return originalFactory(
|
|
1
|
+
{"version":3,"file":"FormDecoratorsApi.esm.js","sources":["../../../src/alpha/api/FormDecoratorsApi.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 {\n ApiBlueprint,\n createExtensionInput,\n} from '@backstage/frontend-plugin-api';\nimport { ScaffolderFormDecoratorsApi } from './types';\nimport { ScaffolderFormDecorator } from '@backstage/plugin-scaffolder-react/alpha';\nimport { formDecoratorsApiRef } from './ref';\nimport { FormDecoratorBlueprint } from '@backstage/plugin-scaffolder-react/alpha';\n\n/** @alpha */\nexport class DefaultScaffolderFormDecoratorsApi\n implements ScaffolderFormDecoratorsApi\n{\n private constructor(\n private readonly options: {\n decorators: Array<ScaffolderFormDecorator>;\n },\n ) {}\n\n static create(options?: { decorators: ScaffolderFormDecorator[] }) {\n return new DefaultScaffolderFormDecoratorsApi(\n options ?? { decorators: [] },\n );\n }\n\n async getFormDecorators(): Promise<ScaffolderFormDecorator[]> {\n return this.options.decorators;\n }\n}\n\n/** @alpha */\nexport const formDecoratorsApi = ApiBlueprint.makeWithOverrides({\n name: 'form-decorators',\n inputs: {\n formDecorators: createExtensionInput([\n FormDecoratorBlueprint.dataRefs.formDecoratorLoader,\n ]),\n },\n factory(originalFactory, { inputs }) {\n const formDecorators = inputs.formDecorators.map(e =>\n e.get(FormDecoratorBlueprint.dataRefs.formDecoratorLoader),\n );\n\n return originalFactory(defineParams =>\n defineParams({\n api: formDecoratorsApiRef,\n deps: {},\n factory: () =>\n DefaultScaffolderFormDecoratorsApi.create({\n decorators: formDecorators,\n }),\n }),\n );\n },\n});\n"],"names":[],"mappings":";;;;AA0BO,MAAM,kCAEb,CAAA;AAAA,EACU,YACW,OAGjB,EAAA;AAHiB,IAAA,IAAA,CAAA,OAAA,GAAA,OAAA;AAAA;AAGhB,EAEH,OAAO,OAAO,OAAqD,EAAA;AACjE,IAAA,OAAO,IAAI,kCAAA;AAAA,MACT,OAAW,IAAA,EAAE,UAAY,EAAA,EAAG;AAAA,KAC9B;AAAA;AACF,EAEA,MAAM,iBAAwD,GAAA;AAC5D,IAAA,OAAO,KAAK,OAAQ,CAAA,UAAA;AAAA;AAExB;AAGa,MAAA,iBAAA,GAAoB,aAAa,iBAAkB,CAAA;AAAA,EAC9D,IAAM,EAAA,iBAAA;AAAA,EACN,MAAQ,EAAA;AAAA,IACN,gBAAgB,oBAAqB,CAAA;AAAA,MACnC,uBAAuB,QAAS,CAAA;AAAA,KACjC;AAAA,GACH;AAAA,EACA,OAAQ,CAAA,eAAA,EAAiB,EAAE,MAAA,EAAU,EAAA;AACnC,IAAM,MAAA,cAAA,GAAiB,OAAO,cAAe,CAAA,GAAA;AAAA,MAAI,CAC/C,CAAA,KAAA,CAAA,CAAE,GAAI,CAAA,sBAAA,CAAuB,SAAS,mBAAmB;AAAA,KAC3D;AAEA,IAAO,OAAA,eAAA;AAAA,MAAgB,kBACrB,YAAa,CAAA;AAAA,QACX,GAAK,EAAA,oBAAA;AAAA,QACL,MAAM,EAAC;AAAA,QACP,OAAA,EAAS,MACP,kCAAA,CAAmC,MAAO,CAAA;AAAA,UACxC,UAAY,EAAA;AAAA,SACb;AAAA,OACJ;AAAA,KACH;AAAA;AAEJ,CAAC;;;;"}
|
|
@@ -20,7 +20,7 @@ const scaffolderPage = PageBlueprint.makeWithOverrides({
|
|
|
20
20
|
);
|
|
21
21
|
return originalFactory({
|
|
22
22
|
routeRef: convertLegacyRouteRef(rootRouteRef),
|
|
23
|
-
|
|
23
|
+
path: "/create",
|
|
24
24
|
loader: () => import('../components/Router/Router.esm.js').then(
|
|
25
25
|
(m) => compatWrapper(
|
|
26
26
|
/* @__PURE__ */ jsx(m.InternalRouter, { formFieldLoaders })
|
|
@@ -43,7 +43,7 @@ const repoUrlPickerFormField = FormFieldBlueprint.make({
|
|
|
43
43
|
}
|
|
44
44
|
});
|
|
45
45
|
const scaffolderApi = ApiBlueprint.make({
|
|
46
|
-
params: (
|
|
46
|
+
params: (defineParams) => defineParams({
|
|
47
47
|
api: scaffolderApiRef,
|
|
48
48
|
deps: {
|
|
49
49
|
discoveryApi: discoveryApiRef,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extensions.esm.js","sources":["../../src/alpha/extensions.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 */\n\nimport {\n compatWrapper,\n convertLegacyRouteRef,\n} from '@backstage/core-compat-api';\nimport {\n NavItemBlueprint,\n PageBlueprint,\n ApiBlueprint,\n discoveryApiRef,\n fetchApiRef,\n identityApiRef,\n createExtensionInput,\n} from '@backstage/frontend-plugin-api';\nimport { rootRouteRef } from '../routes';\nimport CreateComponentIcon from '@material-ui/icons/AddCircleOutline';\nimport { FormFieldBlueprint } from '@backstage/plugin-scaffolder-react/alpha';\nimport { scmIntegrationsApiRef } from '@backstage/integration-react';\nimport { scaffolderApiRef } from '@backstage/plugin-scaffolder-react';\nimport { ScaffolderClient } from '../api';\n\nexport const scaffolderPage = PageBlueprint.makeWithOverrides({\n inputs: {\n formFields: createExtensionInput([\n FormFieldBlueprint.dataRefs.formFieldLoader,\n ]),\n },\n factory(originalFactory, { inputs }) {\n const formFieldLoaders = inputs.formFields.map(i =>\n i.get(FormFieldBlueprint.dataRefs.formFieldLoader),\n );\n return originalFactory({\n routeRef: convertLegacyRouteRef(rootRouteRef),\n
|
|
1
|
+
{"version":3,"file":"extensions.esm.js","sources":["../../src/alpha/extensions.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 */\n\nimport {\n compatWrapper,\n convertLegacyRouteRef,\n} from '@backstage/core-compat-api';\nimport {\n NavItemBlueprint,\n PageBlueprint,\n ApiBlueprint,\n discoveryApiRef,\n fetchApiRef,\n identityApiRef,\n createExtensionInput,\n} from '@backstage/frontend-plugin-api';\nimport { rootRouteRef } from '../routes';\nimport CreateComponentIcon from '@material-ui/icons/AddCircleOutline';\nimport { FormFieldBlueprint } from '@backstage/plugin-scaffolder-react/alpha';\nimport { scmIntegrationsApiRef } from '@backstage/integration-react';\nimport { scaffolderApiRef } from '@backstage/plugin-scaffolder-react';\nimport { ScaffolderClient } from '../api';\n\nexport const scaffolderPage = PageBlueprint.makeWithOverrides({\n inputs: {\n formFields: createExtensionInput([\n FormFieldBlueprint.dataRefs.formFieldLoader,\n ]),\n },\n factory(originalFactory, { inputs }) {\n const formFieldLoaders = inputs.formFields.map(i =>\n i.get(FormFieldBlueprint.dataRefs.formFieldLoader),\n );\n return originalFactory({\n routeRef: convertLegacyRouteRef(rootRouteRef),\n path: '/create',\n loader: () =>\n import('../components/Router/Router').then(m =>\n compatWrapper(\n <m.InternalRouter formFieldLoaders={formFieldLoaders} />,\n ),\n ),\n });\n },\n});\n\nexport const scaffolderNavItem = NavItemBlueprint.make({\n params: {\n routeRef: convertLegacyRouteRef(rootRouteRef),\n title: 'Create...',\n icon: CreateComponentIcon,\n },\n});\n\nexport const repoUrlPickerFormField = FormFieldBlueprint.make({\n name: 'repo-url-picker',\n params: {\n field: () => import('./fields/RepoUrlPicker').then(m => m.RepoUrlPicker),\n },\n});\n\nexport const scaffolderApi = ApiBlueprint.make({\n params: defineParams =>\n defineParams({\n api: scaffolderApiRef,\n deps: {\n discoveryApi: discoveryApiRef,\n scmIntegrationsApi: scmIntegrationsApiRef,\n fetchApi: fetchApiRef,\n identityApi: identityApiRef,\n },\n factory: ({ discoveryApi, scmIntegrationsApi, fetchApi, identityApi }) =>\n new ScaffolderClient({\n discoveryApi,\n scmIntegrationsApi,\n fetchApi,\n identityApi,\n }),\n }),\n});\n"],"names":[],"mappings":";;;;;;;;;;AAoCa,MAAA,cAAA,GAAiB,cAAc,iBAAkB,CAAA;AAAA,EAC5D,MAAQ,EAAA;AAAA,IACN,YAAY,oBAAqB,CAAA;AAAA,MAC/B,mBAAmB,QAAS,CAAA;AAAA,KAC7B;AAAA,GACH;AAAA,EACA,OAAQ,CAAA,eAAA,EAAiB,EAAE,MAAA,EAAU,EAAA;AACnC,IAAM,MAAA,gBAAA,GAAmB,OAAO,UAAW,CAAA,GAAA;AAAA,MAAI,CAC7C,CAAA,KAAA,CAAA,CAAE,GAAI,CAAA,kBAAA,CAAmB,SAAS,eAAe;AAAA,KACnD;AACA,IAAA,OAAO,eAAgB,CAAA;AAAA,MACrB,QAAA,EAAU,sBAAsB,YAAY,CAAA;AAAA,MAC5C,IAAM,EAAA,SAAA;AAAA,MACN,MAAQ,EAAA,MACN,OAAO,oCAA6B,CAAE,CAAA,IAAA;AAAA,QAAK,CACzC,CAAA,KAAA,aAAA;AAAA,0BACG,GAAA,CAAA,CAAA,CAAE,cAAF,EAAA,EAAiB,gBAAoC,EAAA;AAAA;AACxD;AACF,KACH,CAAA;AAAA;AAEL,CAAC;AAEY,MAAA,iBAAA,GAAoB,iBAAiB,IAAK,CAAA;AAAA,EACrD,MAAQ,EAAA;AAAA,IACN,QAAA,EAAU,sBAAsB,YAAY,CAAA;AAAA,IAC5C,KAAO,EAAA,WAAA;AAAA,IACP,IAAM,EAAA;AAAA;AAEV,CAAC;AAEY,MAAA,sBAAA,GAAyB,mBAAmB,IAAK,CAAA;AAAA,EAC5D,IAAM,EAAA,iBAAA;AAAA,EACN,MAAQ,EAAA;AAAA,IACN,KAAA,EAAO,MAAM,OAAO,+BAAwB,EAAE,IAAK,CAAA,CAAA,CAAA,KAAK,EAAE,aAAa;AAAA;AAE3E,CAAC;AAEY,MAAA,aAAA,GAAgB,aAAa,IAAK,CAAA;AAAA,EAC7C,MAAA,EAAQ,kBACN,YAAa,CAAA;AAAA,IACX,GAAK,EAAA,gBAAA;AAAA,IACL,IAAM,EAAA;AAAA,MACJ,YAAc,EAAA,eAAA;AAAA,MACd,kBAAoB,EAAA,qBAAA;AAAA,MACpB,QAAU,EAAA,WAAA;AAAA,MACV,WAAa,EAAA;AAAA,KACf;AAAA,IACA,OAAA,EAAS,CAAC,EAAE,YAAA,EAAc,oBAAoB,QAAU,EAAA,WAAA,EACtD,KAAA,IAAI,gBAAiB,CAAA;AAAA,MACnB,YAAA;AAAA,MACA,kBAAA;AAAA,MACA,QAAA;AAAA,MACA;AAAA,KACD;AAAA,GACJ;AACL,CAAC;;;;"}
|
package/dist/alpha.d.ts
CHANGED
|
@@ -276,7 +276,7 @@ declare class DefaultScaffolderFormDecoratorsApi implements ScaffolderFormDecora
|
|
|
276
276
|
declare const formDecoratorsApi: _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
277
277
|
config: {};
|
|
278
278
|
configInput: {};
|
|
279
|
-
output: _backstage_frontend_plugin_api.
|
|
279
|
+
output: _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.AnyApiFactory, "core.api.factory", {}>;
|
|
280
280
|
inputs: {
|
|
281
281
|
formDecorators: _backstage_frontend_plugin_api.ExtensionInput<_backstage_frontend_plugin_api.ConfigurableExtensionDataRef<ScaffolderFormDecorator, "scaffolder.form-decorator-loader", {}>, {
|
|
282
282
|
singleton: false;
|
|
@@ -310,14 +310,14 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{
|
|
|
310
310
|
name: undefined;
|
|
311
311
|
config: {};
|
|
312
312
|
configInput: {};
|
|
313
|
-
output: _backstage_frontend_plugin_api.
|
|
313
|
+
output: _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.AnyApiFactory, "core.api.factory", {}>;
|
|
314
314
|
inputs: {};
|
|
315
315
|
params: <TApi, TImpl extends TApi, TDeps extends { [name in string]: unknown; }>(params: _backstage_frontend_plugin_api.ApiFactory<TApi, TImpl, TDeps>) => _backstage_frontend_plugin_api.ExtensionBlueprintParams<_backstage_frontend_plugin_api.AnyApiFactory>;
|
|
316
316
|
}>;
|
|
317
317
|
"api:scaffolder/form-decorators": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
318
318
|
config: {};
|
|
319
319
|
configInput: {};
|
|
320
|
-
output: _backstage_frontend_plugin_api.
|
|
320
|
+
output: _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.AnyApiFactory, "core.api.factory", {}>;
|
|
321
321
|
inputs: {
|
|
322
322
|
formDecorators: _backstage_frontend_plugin_api.ExtensionInput<_backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_plugin_scaffolder_react_alpha.ScaffolderFormDecorator, "scaffolder.form-decorator-loader", {}>, {
|
|
323
323
|
singleton: false;
|
|
@@ -331,7 +331,7 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{
|
|
|
331
331
|
"api:scaffolder/form-fields": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
332
332
|
config: {};
|
|
333
333
|
configInput: {};
|
|
334
|
-
output: _backstage_frontend_plugin_api.
|
|
334
|
+
output: _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.AnyApiFactory, "core.api.factory", {}>;
|
|
335
335
|
inputs: {
|
|
336
336
|
formFields: _backstage_frontend_plugin_api.ExtensionInput<_backstage_frontend_plugin_api.ConfigurableExtensionDataRef<() => Promise<_backstage_plugin_scaffolder_react_alpha.FormField>, "scaffolder.form-field-loader", {}>, {
|
|
337
337
|
singleton: false;
|
|
@@ -355,11 +355,11 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{
|
|
|
355
355
|
label?: string | undefined;
|
|
356
356
|
title?: string | undefined;
|
|
357
357
|
};
|
|
358
|
-
output: _backstage_frontend_plugin_api.
|
|
358
|
+
output: _backstage_frontend_plugin_api.ExtensionDataRef<(entity: _backstage_catalog_model.Entity) => boolean, "catalog.entity-filter-function", {
|
|
359
359
|
optional: true;
|
|
360
|
-
}> | _backstage_frontend_plugin_api.
|
|
360
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
361
361
|
optional: true;
|
|
362
|
-
}> | _backstage_frontend_plugin_api.
|
|
362
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<() => _backstage_core_components.IconLinkVerticalProps, "entity-icon-link-props", {}>;
|
|
363
363
|
inputs: {};
|
|
364
364
|
params: {
|
|
365
365
|
useProps: () => Omit<_backstage_core_components.IconLinkVerticalProps, "color">;
|
|
@@ -371,7 +371,7 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{
|
|
|
371
371
|
name: undefined;
|
|
372
372
|
config: {};
|
|
373
373
|
configInput: {};
|
|
374
|
-
output: _backstage_frontend_plugin_api.
|
|
374
|
+
output: _backstage_frontend_plugin_api.ExtensionDataRef<{
|
|
375
375
|
title: string;
|
|
376
376
|
icon: _backstage_core_plugin_api.IconComponent;
|
|
377
377
|
routeRef: _backstage_frontend_plugin_api.RouteRef<undefined>;
|
|
@@ -390,7 +390,7 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{
|
|
|
390
390
|
configInput: {
|
|
391
391
|
path?: string | undefined;
|
|
392
392
|
};
|
|
393
|
-
output: _backstage_frontend_plugin_api.
|
|
393
|
+
output: _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
|
|
394
394
|
optional: true;
|
|
395
395
|
}>;
|
|
396
396
|
inputs: {
|
|
@@ -402,7 +402,8 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{
|
|
|
402
402
|
kind: "page";
|
|
403
403
|
name: undefined;
|
|
404
404
|
params: {
|
|
405
|
-
defaultPath:
|
|
405
|
+
defaultPath?: [Error: `Use the 'path' param instead`];
|
|
406
|
+
path: string;
|
|
406
407
|
loader: () => Promise<JSX.Element>;
|
|
407
408
|
routeRef?: _backstage_frontend_plugin_api.RouteRef;
|
|
408
409
|
};
|
|
@@ -412,7 +413,7 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{
|
|
|
412
413
|
name: "repo-url-picker";
|
|
413
414
|
config: {};
|
|
414
415
|
configInput: {};
|
|
415
|
-
output: _backstage_frontend_plugin_api.
|
|
416
|
+
output: _backstage_frontend_plugin_api.ExtensionDataRef<() => Promise<_backstage_plugin_scaffolder_react_alpha.FormField>, "scaffolder.form-field-loader", {}>;
|
|
416
417
|
inputs: {};
|
|
417
418
|
params: {
|
|
418
419
|
field: () => Promise<_backstage_plugin_scaffolder_react_alpha.FormField>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-scaffolder",
|
|
3
|
-
"version": "1.34.0-next.
|
|
3
|
+
"version": "1.34.0-next.2",
|
|
4
4
|
"description": "The Backstage plugin that helps you create new things",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "frontend-plugin",
|
|
@@ -72,15 +72,15 @@
|
|
|
72
72
|
"dependencies": {
|
|
73
73
|
"@backstage/catalog-client": "1.11.0-next.0",
|
|
74
74
|
"@backstage/catalog-model": "1.7.5",
|
|
75
|
-
"@backstage/core-compat-api": "0.
|
|
76
|
-
"@backstage/core-components": "0.17.5-next.
|
|
75
|
+
"@backstage/core-compat-api": "0.5.0-next.2",
|
|
76
|
+
"@backstage/core-components": "0.17.5-next.1",
|
|
77
77
|
"@backstage/core-plugin-api": "1.10.9",
|
|
78
78
|
"@backstage/errors": "1.2.7",
|
|
79
|
-
"@backstage/frontend-plugin-api": "0.11.0-next.
|
|
79
|
+
"@backstage/frontend-plugin-api": "0.11.0-next.1",
|
|
80
80
|
"@backstage/integration": "1.17.1",
|
|
81
81
|
"@backstage/integration-react": "1.2.9",
|
|
82
82
|
"@backstage/plugin-catalog-common": "1.1.5",
|
|
83
|
-
"@backstage/plugin-catalog-react": "1.20.0-next.
|
|
83
|
+
"@backstage/plugin-catalog-react": "1.20.0-next.2",
|
|
84
84
|
"@backstage/plugin-permission-react": "0.4.36",
|
|
85
85
|
"@backstage/plugin-scaffolder-common": "1.7.0-next.0",
|
|
86
86
|
"@backstage/plugin-scaffolder-react": "1.19.0-next.1",
|
|
@@ -115,10 +115,10 @@
|
|
|
115
115
|
"zod-to-json-schema": "^3.20.4"
|
|
116
116
|
},
|
|
117
117
|
"devDependencies": {
|
|
118
|
-
"@backstage/cli": "0.
|
|
118
|
+
"@backstage/cli": "0.34.0-next.1",
|
|
119
119
|
"@backstage/core-app-api": "1.18.0",
|
|
120
120
|
"@backstage/dev-utils": "1.1.13-next.1",
|
|
121
|
-
"@backstage/plugin-catalog": "1.31.2-next.
|
|
121
|
+
"@backstage/plugin-catalog": "1.31.2-next.2",
|
|
122
122
|
"@backstage/plugin-permission-common": "0.9.1",
|
|
123
123
|
"@backstage/test-utils": "1.7.11-next.0",
|
|
124
124
|
"@testing-library/dom": "^10.0.0",
|