@backstage/plugin-catalog-backend-module-scaffolder-entity-model 0.2.16-next.0 → 0.2.17-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 +20 -0
- package/dist/module.cjs.js +2 -2
- package/dist/module.cjs.js.map +1 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @backstage/plugin-catalog-backend-module-scaffolder-entity-model
|
|
2
2
|
|
|
3
|
+
## 0.2.17-next.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- cfd8103: Updated imports to use stable catalog extension points from `@backstage/plugin-catalog-node` instead of the deprecated alpha exports.
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @backstage/plugin-catalog-node@1.21.0-next.0
|
|
10
|
+
- @backstage/backend-plugin-api@1.7.0-next.0
|
|
11
|
+
- @backstage/catalog-model@1.7.6
|
|
12
|
+
- @backstage/plugin-catalog-common@1.1.8-next.0
|
|
13
|
+
- @backstage/plugin-scaffolder-common@1.7.6-next.0
|
|
14
|
+
|
|
15
|
+
## 0.2.16
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
- @backstage/backend-plugin-api@1.6.1
|
|
21
|
+
- @backstage/plugin-scaffolder-common@1.7.5
|
|
22
|
+
|
|
3
23
|
## 0.2.16-next.0
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
package/dist/module.cjs.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var backendPluginApi = require('@backstage/backend-plugin-api');
|
|
4
|
-
var
|
|
4
|
+
var pluginCatalogNode = require('@backstage/plugin-catalog-node');
|
|
5
5
|
var ScaffolderEntitiesProcessor = require('./processor/ScaffolderEntitiesProcessor.cjs.js');
|
|
6
6
|
|
|
7
7
|
const catalogModuleScaffolderEntityModel = backendPluginApi.createBackendModule({
|
|
@@ -10,7 +10,7 @@ const catalogModuleScaffolderEntityModel = backendPluginApi.createBackendModule(
|
|
|
10
10
|
register(env) {
|
|
11
11
|
env.registerInit({
|
|
12
12
|
deps: {
|
|
13
|
-
catalog:
|
|
13
|
+
catalog: pluginCatalogNode.catalogProcessingExtensionPoint
|
|
14
14
|
},
|
|
15
15
|
async init({ catalog }) {
|
|
16
16
|
catalog.addProcessor(new ScaffolderEntitiesProcessor.ScaffolderEntitiesProcessor());
|
package/dist/module.cjs.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.cjs.js","sources":["../src/module.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 */\n\nimport { createBackendModule } from '@backstage/backend-plugin-api';\nimport { catalogProcessingExtensionPoint } from '@backstage/plugin-catalog-node
|
|
1
|
+
{"version":3,"file":"module.cjs.js","sources":["../src/module.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 */\n\nimport { createBackendModule } from '@backstage/backend-plugin-api';\nimport { catalogProcessingExtensionPoint } from '@backstage/plugin-catalog-node';\nimport { ScaffolderEntitiesProcessor } from './processor';\n\n/**\n * Registers support for the scaffolder specific entity model (e.g. the Template\n * kind) to the catalog backend plugin.\n *\n * @public\n */\nexport const catalogModuleScaffolderEntityModel = createBackendModule({\n pluginId: 'catalog',\n moduleId: 'scaffolder-entity-model',\n register(env) {\n env.registerInit({\n deps: {\n catalog: catalogProcessingExtensionPoint,\n },\n async init({ catalog }) {\n catalog.addProcessor(new ScaffolderEntitiesProcessor());\n },\n });\n },\n});\n"],"names":["createBackendModule","catalogProcessingExtensionPoint","ScaffolderEntitiesProcessor"],"mappings":";;;;;;AA0BO,MAAM,qCAAqCA,oCAAA,CAAoB;AAAA,EACpE,QAAA,EAAU,SAAA;AAAA,EACV,QAAA,EAAU,yBAAA;AAAA,EACV,SAAS,GAAA,EAAK;AACZ,IAAA,GAAA,CAAI,YAAA,CAAa;AAAA,MACf,IAAA,EAAM;AAAA,QACJ,OAAA,EAASC;AAAA,OACX;AAAA,MACA,MAAM,IAAA,CAAK,EAAE,OAAA,EAAQ,EAAG;AACtB,QAAA,OAAA,CAAQ,YAAA,CAAa,IAAIC,uDAAA,EAA6B,CAAA;AAAA,MACxD;AAAA,KACD,CAAA;AAAA,EACH;AACF,CAAC;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-catalog-backend-module-scaffolder-entity-model",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.17-next.0",
|
|
4
4
|
"description": "Adds support for the scaffolder specific entity model (e.g. the Template kind) to the catalog backend plugin.",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "backend-plugin-module",
|
|
@@ -50,14 +50,14 @@
|
|
|
50
50
|
"test": "backstage-cli package test"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@backstage/backend-plugin-api": "1.
|
|
53
|
+
"@backstage/backend-plugin-api": "1.7.0-next.0",
|
|
54
54
|
"@backstage/catalog-model": "1.7.6",
|
|
55
|
-
"@backstage/plugin-catalog-common": "1.1.
|
|
56
|
-
"@backstage/plugin-catalog-node": "1.
|
|
57
|
-
"@backstage/plugin-scaffolder-common": "1.7.
|
|
55
|
+
"@backstage/plugin-catalog-common": "1.1.8-next.0",
|
|
56
|
+
"@backstage/plugin-catalog-node": "1.21.0-next.0",
|
|
57
|
+
"@backstage/plugin-scaffolder-common": "1.7.6-next.0"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@backstage/backend-test-utils": "1.10.
|
|
61
|
-
"@backstage/cli": "0.35.
|
|
60
|
+
"@backstage/backend-test-utils": "1.10.4-next.0",
|
|
61
|
+
"@backstage/cli": "0.35.3-next.0"
|
|
62
62
|
}
|
|
63
63
|
}
|