@backstage/plugin-scaffolder 1.34.3 → 1.34.4-next.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 +23 -0
- package/dist/alpha/extensions.esm.js +3 -8
- package/dist/alpha/extensions.esm.js.map +1 -1
- package/dist/alpha/plugin.esm.js +4 -5
- package/dist/alpha/plugin.esm.js.map +1 -1
- package/dist/alpha.d.ts +12 -12
- package/dist/index.d.ts +2 -1
- package/dist/plugins/scaffolder/package.json.esm.js +1 -2
- package/dist/plugins/scaffolder/package.json.esm.js.map +1 -1
- package/package.json +24 -25
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# @backstage/plugin-scaffolder
|
|
2
2
|
|
|
3
|
+
## 1.34.4-next.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- d02db50: Remove unnecessary use of `compatWrapper` and `convertLegacyRouteRef`(s) for the new frontend system.
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @backstage/frontend-plugin-api@0.13.2-next.0
|
|
10
|
+
- @backstage/integration@1.18.3-next.0
|
|
11
|
+
- @backstage/core-plugin-api@1.12.1-next.0
|
|
12
|
+
- @backstage/plugin-catalog-react@1.21.4-next.0
|
|
13
|
+
- @backstage/plugin-scaffolder-react@1.19.4-next.0
|
|
14
|
+
- @backstage/plugin-techdocs-react@1.3.6-next.0
|
|
15
|
+
- @backstage/integration-react@1.2.13-next.0
|
|
16
|
+
- @backstage/plugin-scaffolder-common@1.7.4-next.0
|
|
17
|
+
- @backstage/core-components@0.18.4-next.0
|
|
18
|
+
- @backstage/plugin-permission-react@0.4.39-next.0
|
|
19
|
+
- @backstage/catalog-client@1.12.1
|
|
20
|
+
- @backstage/catalog-model@1.7.6
|
|
21
|
+
- @backstage/errors@1.2.7
|
|
22
|
+
- @backstage/types@1.2.2
|
|
23
|
+
- @backstage/plugin-catalog-common@1.1.7
|
|
24
|
+
- @backstage/plugin-techdocs-common@0.1.1
|
|
25
|
+
|
|
3
26
|
## 1.34.3
|
|
4
27
|
|
|
5
28
|
### Patch Changes
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
|
-
import { convertLegacyRouteRef, compatWrapper } from '@backstage/core-compat-api';
|
|
3
2
|
import { PageBlueprint, createExtensionInput, NavItemBlueprint, ApiBlueprint, identityApiRef, fetchApiRef, discoveryApiRef } from '@backstage/frontend-plugin-api';
|
|
4
3
|
import { rootRouteRef } from '../routes.esm.js';
|
|
5
4
|
import CreateComponentIcon from '@material-ui/icons/AddCircleOutline';
|
|
@@ -19,19 +18,15 @@ const scaffolderPage = PageBlueprint.makeWithOverrides({
|
|
|
19
18
|
(i) => i.get(FormFieldBlueprint.dataRefs.formFieldLoader)
|
|
20
19
|
);
|
|
21
20
|
return originalFactory({
|
|
22
|
-
routeRef:
|
|
21
|
+
routeRef: rootRouteRef,
|
|
23
22
|
path: "/create",
|
|
24
|
-
loader: () => import('../components/Router/Router.esm.js').then(
|
|
25
|
-
(m) => compatWrapper(
|
|
26
|
-
/* @__PURE__ */ jsx(m.InternalRouter, { formFieldLoaders })
|
|
27
|
-
)
|
|
28
|
-
)
|
|
23
|
+
loader: () => import('../components/Router/Router.esm.js').then((m) => /* @__PURE__ */ jsx(m.InternalRouter, { formFieldLoaders }))
|
|
29
24
|
});
|
|
30
25
|
}
|
|
31
26
|
});
|
|
32
27
|
const scaffolderNavItem = NavItemBlueprint.make({
|
|
33
28
|
params: {
|
|
34
|
-
routeRef:
|
|
29
|
+
routeRef: rootRouteRef,
|
|
35
30
|
title: "Create...",
|
|
36
31
|
icon: CreateComponentIcon
|
|
37
32
|
}
|
|
@@ -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
|
|
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 ApiBlueprint,\n createExtensionInput,\n discoveryApiRef,\n fetchApiRef,\n identityApiRef,\n NavItemBlueprint,\n PageBlueprint,\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: rootRouteRef,\n path: '/create',\n loader: () =>\n import('../components/Router/Router').then(m => (\n <m.InternalRouter formFieldLoaders={formFieldLoaders} />\n )),\n });\n },\n});\n\nexport const scaffolderNavItem = NavItemBlueprint.make({\n params: {\n routeRef: 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 entityNamePickerFormField = FormFieldBlueprint.make({\n name: 'entity-name-picker',\n params: {\n field: () =>\n import('./fields/EntityNamePicker').then(m => m.EntityNamePicker),\n },\n});\n\nexport const entityPickerFormField = FormFieldBlueprint.make({\n name: 'entity-picker',\n params: {\n field: () => import('./fields/EntityPicker').then(m => m.EntityPicker),\n },\n});\n\nexport const ownerPickerFormField = FormFieldBlueprint.make({\n name: 'owner-picker',\n params: {\n field: () => import('./fields/OwnerPicker').then(m => m.OwnerPicker),\n },\n});\n\nexport const entityTagsPickerFormField = FormFieldBlueprint.make({\n name: 'entity-tags-picker',\n params: {\n field: () =>\n import('./fields/EntityTagsPicker').then(m => m.EntityTagsPicker),\n },\n});\n\nexport const multiEntityPickerFormField = FormFieldBlueprint.make({\n name: 'multi-entity-picker',\n params: {\n field: () =>\n import('./fields/MultiEntityPicker').then(m => m.MultiEntityPicker),\n },\n});\n\nexport const myGroupsPickerFormField = FormFieldBlueprint.make({\n name: 'my-groups-picker',\n params: {\n field: () => import('./fields/MyGroupsPicker').then(m => m.MyGroupsPicker),\n },\n});\n\nexport const ownedEntityPickerFormField = FormFieldBlueprint.make({\n name: 'owned-entity-picker',\n params: {\n field: () =>\n import('./fields/OwnedEntityPicker').then(m => m.OwnedEntityPicker),\n },\n});\n\nexport const repoBranchPickerFormField = FormFieldBlueprint.make({\n name: 'repo-branch-picker',\n params: {\n field: () =>\n import('./fields/RepoBranchPicker').then(m => m.RepoBranchPicker),\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":"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"}
|
package/dist/alpha/plugin.esm.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { convertLegacyRouteRefs } from '@backstage/core-compat-api';
|
|
2
1
|
import { createFrontendPlugin } from '@backstage/frontend-plugin-api';
|
|
3
2
|
import { viewTechDocRouteRef, registerComponentRouteRef, templatingExtensionsRouteRef, editRouteRef, scaffolderListTaskRouteRef, actionsRouteRef, scaffolderTaskRouteRef, selectedTemplateRouteRef, rootRouteRef } from '../routes.esm.js';
|
|
4
3
|
import { scaffolderApi, scaffolderPage, scaffolderNavItem, repoUrlPickerFormField, entityNamePickerFormField, entityPickerFormField, ownerPickerFormField, entityTagsPickerFormField, multiEntityPickerFormField, myGroupsPickerFormField, ownedEntityPickerFormField, repoBranchPickerFormField } from './extensions.esm.js';
|
|
@@ -19,7 +18,7 @@ const scaffolderEntityIconLink = EntityIconLinkBlueprint.make({
|
|
|
19
18
|
var plugin = createFrontendPlugin({
|
|
20
19
|
pluginId: "scaffolder",
|
|
21
20
|
info: { packageJson: () => import('../plugins/scaffolder/package.json.esm.js') },
|
|
22
|
-
routes:
|
|
21
|
+
routes: {
|
|
23
22
|
root: rootRouteRef,
|
|
24
23
|
selectedTemplate: selectedTemplateRouteRef,
|
|
25
24
|
ongoingTask: scaffolderTaskRouteRef,
|
|
@@ -27,11 +26,11 @@ var plugin = createFrontendPlugin({
|
|
|
27
26
|
listTasks: scaffolderListTaskRouteRef,
|
|
28
27
|
edit: editRouteRef,
|
|
29
28
|
templatingExtensions: templatingExtensionsRouteRef
|
|
30
|
-
}
|
|
31
|
-
externalRoutes:
|
|
29
|
+
},
|
|
30
|
+
externalRoutes: {
|
|
32
31
|
registerComponent: registerComponentRouteRef,
|
|
33
32
|
viewTechDoc: viewTechDocRouteRef
|
|
34
|
-
}
|
|
33
|
+
},
|
|
35
34
|
extensions: [
|
|
36
35
|
scaffolderApi,
|
|
37
36
|
scaffolderPage,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.esm.js","sources":["../../src/alpha/plugin.tsx"],"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 {
|
|
1
|
+
{"version":3,"file":"plugin.esm.js","sources":["../../src/alpha/plugin.tsx"],"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 { createFrontendPlugin } from '@backstage/frontend-plugin-api';\nimport {\n actionsRouteRef,\n editRouteRef,\n registerComponentRouteRef,\n rootRouteRef,\n scaffolderListTaskRouteRef,\n scaffolderTaskRouteRef,\n selectedTemplateRouteRef,\n templatingExtensionsRouteRef,\n viewTechDocRouteRef,\n} from '../routes';\nimport {\n entityNamePickerFormField,\n entityPickerFormField,\n entityTagsPickerFormField,\n multiEntityPickerFormField,\n myGroupsPickerFormField,\n ownedEntityPickerFormField,\n ownerPickerFormField,\n repoBranchPickerFormField,\n repoUrlPickerFormField,\n scaffolderApi,\n scaffolderNavItem,\n scaffolderPage,\n} from './extensions';\nimport { isTemplateEntityV1beta3 } from '@backstage/plugin-scaffolder-common';\nimport { formFieldsApi } from '@backstage/plugin-scaffolder-react/alpha';\nimport { formDecoratorsApi } from './api';\nimport { EntityIconLinkBlueprint } from '@backstage/plugin-catalog-react/alpha';\nimport { useScaffolderTemplateIconLinkProps } from './hooks/useScaffolderTemplateIconLinkProps';\n\n/** @alpha */\nconst scaffolderEntityIconLink = EntityIconLinkBlueprint.make({\n name: 'launch-template',\n params: {\n filter: isTemplateEntityV1beta3,\n useProps: useScaffolderTemplateIconLinkProps,\n },\n});\n\n/** @alpha */\nexport default createFrontendPlugin({\n pluginId: 'scaffolder',\n info: { packageJson: () => import('../../package.json') },\n routes: {\n root: rootRouteRef,\n selectedTemplate: selectedTemplateRouteRef,\n ongoingTask: scaffolderTaskRouteRef,\n actions: actionsRouteRef,\n listTasks: scaffolderListTaskRouteRef,\n edit: editRouteRef,\n templatingExtensions: templatingExtensionsRouteRef,\n },\n externalRoutes: {\n registerComponent: registerComponentRouteRef,\n viewTechDoc: viewTechDocRouteRef,\n },\n extensions: [\n scaffolderApi,\n scaffolderPage,\n scaffolderNavItem,\n scaffolderEntityIconLink,\n formDecoratorsApi,\n formFieldsApi,\n repoUrlPickerFormField,\n entityNamePickerFormField,\n entityPickerFormField,\n ownerPickerFormField,\n entityTagsPickerFormField,\n multiEntityPickerFormField,\n myGroupsPickerFormField,\n ownedEntityPickerFormField,\n repoBranchPickerFormField,\n ],\n});\n"],"names":[],"mappings":";;;;;;;;;;AAiDA,MAAM,wBAAA,GAA2B,wBAAwB,IAAA,CAAK;AAAA,EAC5D,IAAA,EAAM,iBAAA;AAAA,EACN,MAAA,EAAQ;AAAA,IACN,MAAA,EAAQ,uBAAA;AAAA,IACR,QAAA,EAAU;AAAA;AAEd,CAAC,CAAA;AAGD,aAAe,oBAAA,CAAqB;AAAA,EAClC,QAAA,EAAU,YAAA;AAAA,EACV,MAAM,EAAE,WAAA,EAAa,MAAM,OAAO,2CAAoB,CAAA,EAAE;AAAA,EACxD,MAAA,EAAQ;AAAA,IACN,IAAA,EAAM,YAAA;AAAA,IACN,gBAAA,EAAkB,wBAAA;AAAA,IAClB,WAAA,EAAa,sBAAA;AAAA,IACb,OAAA,EAAS,eAAA;AAAA,IACT,SAAA,EAAW,0BAAA;AAAA,IACX,IAAA,EAAM,YAAA;AAAA,IACN,oBAAA,EAAsB;AAAA,GACxB;AAAA,EACA,cAAA,EAAgB;AAAA,IACd,iBAAA,EAAmB,yBAAA;AAAA,IACnB,WAAA,EAAa;AAAA,GACf;AAAA,EACA,UAAA,EAAY;AAAA,IACV,aAAA;AAAA,IACA,cAAA;AAAA,IACA,iBAAA;AAAA,IACA,wBAAA;AAAA,IACA,iBAAA;AAAA,IACA,aAAA;AAAA,IACA,sBAAA;AAAA,IACA,yBAAA;AAAA,IACA,qBAAA;AAAA,IACA,oBAAA;AAAA,IACA,yBAAA;AAAA,IACA,0BAAA;AAAA,IACA,uBAAA;AAAA,IACA,0BAAA;AAAA,IACA;AAAA;AAEJ,CAAC,CAAA;;;;"}
|
package/dist/alpha.d.ts
CHANGED
|
@@ -290,20 +290,20 @@ declare const formDecoratorsApi: _backstage_frontend_plugin_api.OverridableExten
|
|
|
290
290
|
|
|
291
291
|
/** @alpha */
|
|
292
292
|
declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin<{
|
|
293
|
-
root:
|
|
294
|
-
selectedTemplate:
|
|
295
|
-
ongoingTask:
|
|
296
|
-
actions:
|
|
297
|
-
listTasks:
|
|
298
|
-
edit:
|
|
299
|
-
templatingExtensions:
|
|
293
|
+
root: _backstage_core_plugin_api.RouteRef<undefined>;
|
|
294
|
+
selectedTemplate: _backstage_core_plugin_api.SubRouteRef<_backstage_core_plugin_api.PathParams<"/templates/:namespace/:templateName">>;
|
|
295
|
+
ongoingTask: _backstage_core_plugin_api.SubRouteRef<_backstage_core_plugin_api.PathParams<"/tasks/:taskId">>;
|
|
296
|
+
actions: _backstage_core_plugin_api.SubRouteRef<undefined>;
|
|
297
|
+
listTasks: _backstage_core_plugin_api.SubRouteRef<undefined>;
|
|
298
|
+
edit: _backstage_core_plugin_api.SubRouteRef<undefined>;
|
|
299
|
+
templatingExtensions: _backstage_core_plugin_api.SubRouteRef<undefined>;
|
|
300
300
|
}, {
|
|
301
|
-
registerComponent:
|
|
302
|
-
viewTechDoc:
|
|
301
|
+
registerComponent: _backstage_core_plugin_api.ExternalRouteRef<undefined, true>;
|
|
302
|
+
viewTechDoc: _backstage_core_plugin_api.ExternalRouteRef<{
|
|
303
303
|
name: string;
|
|
304
304
|
kind: string;
|
|
305
305
|
namespace: string;
|
|
306
|
-
}>;
|
|
306
|
+
}, true>;
|
|
307
307
|
}, {
|
|
308
308
|
"api:scaffolder": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
|
|
309
309
|
kind: "api";
|
|
@@ -373,13 +373,13 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
373
373
|
configInput: {};
|
|
374
374
|
output: _backstage_frontend_plugin_api.ExtensionDataRef<{
|
|
375
375
|
title: string;
|
|
376
|
-
icon:
|
|
376
|
+
icon: _backstage_frontend_plugin_api.IconComponent;
|
|
377
377
|
routeRef: _backstage_frontend_plugin_api.RouteRef<undefined>;
|
|
378
378
|
}, "core.nav-item.target", {}>;
|
|
379
379
|
inputs: {};
|
|
380
380
|
params: {
|
|
381
381
|
title: string;
|
|
382
|
-
icon:
|
|
382
|
+
icon: _backstage_frontend_plugin_api.IconComponent;
|
|
383
383
|
routeRef: _backstage_frontend_plugin_api.RouteRef<undefined>;
|
|
384
384
|
};
|
|
385
385
|
}>;
|
package/dist/index.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
|
|
|
10
10
|
import { ApiHolder } from '@backstage/core-plugin-api';
|
|
11
11
|
import { z } from 'zod';
|
|
12
12
|
import { FieldValidation } from '@rjsf/utils';
|
|
13
|
+
import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api';
|
|
13
14
|
|
|
14
15
|
/**
|
|
15
16
|
* An API to interact with the scaffolder backend.
|
|
@@ -406,7 +407,7 @@ declare const useTemplateSecrets: () => ScaffolderUseTemplateSecrets$1;
|
|
|
406
407
|
* @public
|
|
407
408
|
* @deprecated use import from {@link @backstage/plugin-scaffolder-react#scaffolderApiRef} instead as this has now been moved.
|
|
408
409
|
*/
|
|
409
|
-
declare const scaffolderApiRef:
|
|
410
|
+
declare const scaffolderApiRef: _backstage_frontend_plugin_api.ApiRef<ScaffolderApi$1>;
|
|
410
411
|
/**
|
|
411
412
|
* @public
|
|
412
413
|
* @deprecated use import from {@link @backstage/plugin-scaffolder-common#ScaffolderApi} instead as this has now been moved.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var name = "@backstage/plugin-scaffolder";
|
|
2
|
-
var version = "1.34.
|
|
2
|
+
var version = "1.34.4-next.0";
|
|
3
3
|
var description = "The Backstage plugin that helps you create new things";
|
|
4
4
|
var backstage = {
|
|
5
5
|
role: "frontend-plugin",
|
|
@@ -59,7 +59,6 @@ var scripts = {
|
|
|
59
59
|
var dependencies = {
|
|
60
60
|
"@backstage/catalog-client": "workspace:^",
|
|
61
61
|
"@backstage/catalog-model": "workspace:^",
|
|
62
|
-
"@backstage/core-compat-api": "workspace:^",
|
|
63
62
|
"@backstage/core-components": "workspace:^",
|
|
64
63
|
"@backstage/core-plugin-api": "workspace:^",
|
|
65
64
|
"@backstage/errors": "workspace:^",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"package.json.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"package.json.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-scaffolder",
|
|
3
|
-
"version": "1.34.
|
|
3
|
+
"version": "1.34.4-next.0",
|
|
4
4
|
"description": "The Backstage plugin that helps you create new things",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "frontend-plugin",
|
|
@@ -70,23 +70,22 @@
|
|
|
70
70
|
"test": "backstage-cli package test"
|
|
71
71
|
},
|
|
72
72
|
"dependencies": {
|
|
73
|
-
"@backstage/catalog-client": "
|
|
74
|
-
"@backstage/catalog-model": "
|
|
75
|
-
"@backstage/core-
|
|
76
|
-
"@backstage/core-
|
|
77
|
-
"@backstage/
|
|
78
|
-
"@backstage/
|
|
79
|
-
"@backstage/
|
|
80
|
-
"@backstage/integration": "
|
|
81
|
-
"@backstage/
|
|
82
|
-
"@backstage/plugin-catalog-
|
|
83
|
-
"@backstage/plugin-
|
|
84
|
-
"@backstage/plugin-
|
|
85
|
-
"@backstage/plugin-scaffolder-
|
|
86
|
-
"@backstage/plugin-
|
|
87
|
-
"@backstage/plugin-techdocs-
|
|
88
|
-
"@backstage/
|
|
89
|
-
"@backstage/types": "^1.2.2",
|
|
73
|
+
"@backstage/catalog-client": "1.12.1",
|
|
74
|
+
"@backstage/catalog-model": "1.7.6",
|
|
75
|
+
"@backstage/core-components": "0.18.4-next.0",
|
|
76
|
+
"@backstage/core-plugin-api": "1.12.1-next.0",
|
|
77
|
+
"@backstage/errors": "1.2.7",
|
|
78
|
+
"@backstage/frontend-plugin-api": "0.13.2-next.0",
|
|
79
|
+
"@backstage/integration": "1.18.3-next.0",
|
|
80
|
+
"@backstage/integration-react": "1.2.13-next.0",
|
|
81
|
+
"@backstage/plugin-catalog-common": "1.1.7",
|
|
82
|
+
"@backstage/plugin-catalog-react": "1.21.4-next.0",
|
|
83
|
+
"@backstage/plugin-permission-react": "0.4.39-next.0",
|
|
84
|
+
"@backstage/plugin-scaffolder-common": "1.7.4-next.0",
|
|
85
|
+
"@backstage/plugin-scaffolder-react": "1.19.4-next.0",
|
|
86
|
+
"@backstage/plugin-techdocs-common": "0.1.1",
|
|
87
|
+
"@backstage/plugin-techdocs-react": "1.3.6-next.0",
|
|
88
|
+
"@backstage/types": "1.2.2",
|
|
90
89
|
"@codemirror/language": "^6.0.0",
|
|
91
90
|
"@codemirror/legacy-modes": "^6.1.0",
|
|
92
91
|
"@codemirror/view": "^6.0.0",
|
|
@@ -118,13 +117,13 @@
|
|
|
118
117
|
"zod-to-json-schema": "^3.20.4"
|
|
119
118
|
},
|
|
120
119
|
"devDependencies": {
|
|
121
|
-
"@backstage/cli": "
|
|
122
|
-
"@backstage/core-app-api": "
|
|
123
|
-
"@backstage/dev-utils": "
|
|
124
|
-
"@backstage/plugin-catalog": "
|
|
125
|
-
"@backstage/plugin-permission-common": "
|
|
126
|
-
"@backstage/plugin-techdocs": "
|
|
127
|
-
"@backstage/test-utils": "
|
|
120
|
+
"@backstage/cli": "0.34.6-next.0",
|
|
121
|
+
"@backstage/core-app-api": "1.19.3-next.0",
|
|
122
|
+
"@backstage/dev-utils": "1.1.18-next.0",
|
|
123
|
+
"@backstage/plugin-catalog": "1.32.1-next.0",
|
|
124
|
+
"@backstage/plugin-permission-common": "0.9.3",
|
|
125
|
+
"@backstage/plugin-techdocs": "1.16.1-next.0",
|
|
126
|
+
"@backstage/test-utils": "1.7.14-next.0",
|
|
128
127
|
"@testing-library/dom": "^10.0.0",
|
|
129
128
|
"@testing-library/jest-dom": "^6.0.0",
|
|
130
129
|
"@testing-library/react": "^16.0.0",
|