@backstage/plugin-catalog-backend-module-puppetdb 0.0.0-nightly-20231129021646 → 0.0.0-nightly-20231201021806

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,14 +1,15 @@
1
1
  # @backstage/plugin-catalog-backend-module-puppetdb
2
2
 
3
- ## 0.0.0-nightly-20231129021646
3
+ ## 0.0.0-nightly-20231201021806
4
4
 
5
5
  ### Patch Changes
6
6
 
7
+ - cc4228e: Switched module ID to use kebab-case.
7
8
  - Updated dependencies
8
- - @backstage/backend-common@0.0.0-nightly-20231129021646
9
- - @backstage/backend-tasks@0.0.0-nightly-20231129021646
10
- - @backstage/plugin-catalog-node@0.0.0-nightly-20231129021646
11
- - @backstage/backend-plugin-api@0.0.0-nightly-20231129021646
9
+ - @backstage/backend-common@0.0.0-nightly-20231201021806
10
+ - @backstage/plugin-catalog-node@0.0.0-nightly-20231201021806
11
+ - @backstage/backend-tasks@0.0.0-nightly-20231201021806
12
+ - @backstage/backend-plugin-api@0.0.0-nightly-20231201021806
12
13
  - @backstage/catalog-model@1.4.3
13
14
  - @backstage/config@1.1.1
14
15
  - @backstage/errors@1.2.3
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog-backend-module-puppetdb",
3
- "version": "0.0.0-nightly-20231129021646",
3
+ "version": "0.0.0-nightly-20231201021806",
4
4
  "main": "../dist/alpha.cjs.js",
5
5
  "types": "../dist/alpha.d.ts"
6
6
  }
package/dist/alpha.cjs.js CHANGED
@@ -15,7 +15,7 @@ require('@backstage/errors');
15
15
 
16
16
  const catalogModulePuppetDbEntityProvider = backendPluginApi.createBackendModule({
17
17
  pluginId: "catalog",
18
- moduleId: "puppetDbEntityProvider",
18
+ moduleId: "puppetdb-entity-provider",
19
19
  register(env) {
20
20
  env.registerInit({
21
21
  deps: {
@@ -1 +1 @@
1
- {"version":3,"file":"alpha.cjs.js","sources":["../src/module/catalogModulePuppetDbEntityProvider.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 {\n createBackendModule,\n coreServices,\n} from '@backstage/backend-plugin-api';\nimport { loggerToWinstonLogger } from '@backstage/backend-common';\nimport { catalogProcessingExtensionPoint } from '@backstage/plugin-catalog-node/alpha';\nimport { PuppetDbEntityProvider } from '../providers/PuppetDbEntityProvider';\n\n/**\n * Registers the `PuppetDbEntityProvider` with the catalog processing extension point.\n *\n * @alpha\n */\nexport const catalogModulePuppetDbEntityProvider = createBackendModule({\n pluginId: 'catalog',\n moduleId: 'puppetDbEntityProvider',\n register(env) {\n env.registerInit({\n deps: {\n catalog: catalogProcessingExtensionPoint,\n config: coreServices.rootConfig,\n logger: coreServices.logger,\n scheduler: coreServices.scheduler,\n },\n async init({ catalog, config, logger, scheduler }) {\n catalog.addEntityProvider(\n PuppetDbEntityProvider.fromConfig(config, {\n logger: loggerToWinstonLogger(logger),\n scheduler,\n }),\n );\n },\n });\n },\n});\n"],"names":["createBackendModule","catalogProcessingExtensionPoint","coreServices","PuppetDbEntityProvider","loggerToWinstonLogger"],"mappings":";;;;;;;;;;;;;;;AA6BO,MAAM,sCAAsCA,oCAAoB,CAAA;AAAA,EACrE,QAAU,EAAA,SAAA;AAAA,EACV,QAAU,EAAA,wBAAA;AAAA,EACV,SAAS,GAAK,EAAA;AACZ,IAAA,GAAA,CAAI,YAAa,CAAA;AAAA,MACf,IAAM,EAAA;AAAA,QACJ,OAAS,EAAAC,qCAAA;AAAA,QACT,QAAQC,6BAAa,CAAA,UAAA;AAAA,QACrB,QAAQA,6BAAa,CAAA,MAAA;AAAA,QACrB,WAAWA,6BAAa,CAAA,SAAA;AAAA,OAC1B;AAAA,MACA,MAAM,IAAK,CAAA,EAAE,SAAS,MAAQ,EAAA,MAAA,EAAQ,WAAa,EAAA;AACjD,QAAQ,OAAA,CAAA,iBAAA;AAAA,UACNC,6CAAA,CAAuB,WAAW,MAAQ,EAAA;AAAA,YACxC,MAAA,EAAQC,oCAAsB,MAAM,CAAA;AAAA,YACpC,SAAA;AAAA,WACD,CAAA;AAAA,SACH,CAAA;AAAA,OACF;AAAA,KACD,CAAA,CAAA;AAAA,GACH;AACF,CAAC;;;;"}
1
+ {"version":3,"file":"alpha.cjs.js","sources":["../src/module/catalogModulePuppetDbEntityProvider.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 {\n createBackendModule,\n coreServices,\n} from '@backstage/backend-plugin-api';\nimport { loggerToWinstonLogger } from '@backstage/backend-common';\nimport { catalogProcessingExtensionPoint } from '@backstage/plugin-catalog-node/alpha';\nimport { PuppetDbEntityProvider } from '../providers/PuppetDbEntityProvider';\n\n/**\n * Registers the `PuppetDbEntityProvider` with the catalog processing extension point.\n *\n * @alpha\n */\nexport const catalogModulePuppetDbEntityProvider = createBackendModule({\n pluginId: 'catalog',\n moduleId: 'puppetdb-entity-provider',\n register(env) {\n env.registerInit({\n deps: {\n catalog: catalogProcessingExtensionPoint,\n config: coreServices.rootConfig,\n logger: coreServices.logger,\n scheduler: coreServices.scheduler,\n },\n async init({ catalog, config, logger, scheduler }) {\n catalog.addEntityProvider(\n PuppetDbEntityProvider.fromConfig(config, {\n logger: loggerToWinstonLogger(logger),\n scheduler,\n }),\n );\n },\n });\n },\n});\n"],"names":["createBackendModule","catalogProcessingExtensionPoint","coreServices","PuppetDbEntityProvider","loggerToWinstonLogger"],"mappings":";;;;;;;;;;;;;;;AA6BO,MAAM,sCAAsCA,oCAAoB,CAAA;AAAA,EACrE,QAAU,EAAA,SAAA;AAAA,EACV,QAAU,EAAA,0BAAA;AAAA,EACV,SAAS,GAAK,EAAA;AACZ,IAAA,GAAA,CAAI,YAAa,CAAA;AAAA,MACf,IAAM,EAAA;AAAA,QACJ,OAAS,EAAAC,qCAAA;AAAA,QACT,QAAQC,6BAAa,CAAA,UAAA;AAAA,QACrB,QAAQA,6BAAa,CAAA,MAAA;AAAA,QACrB,WAAWA,6BAAa,CAAA,SAAA;AAAA,OAC1B;AAAA,MACA,MAAM,IAAK,CAAA,EAAE,SAAS,MAAQ,EAAA,MAAA,EAAQ,WAAa,EAAA;AACjD,QAAQ,OAAA,CAAA,iBAAA;AAAA,UACNC,6CAAA,CAAuB,WAAW,MAAQ,EAAA;AAAA,YACxC,MAAA,EAAQC,oCAAsB,MAAM,CAAA;AAAA,YACpC,SAAA;AAAA,WACD,CAAA;AAAA,SACH,CAAA;AAAA,OACF;AAAA,KACD,CAAA,CAAA;AAAA,GACH;AACF,CAAC;;;;"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog-backend-module-puppetdb",
3
3
  "description": "A Backstage catalog backend module that helps integrate towards PuppetDB",
4
- "version": "0.0.0-nightly-20231129021646",
4
+ "version": "0.0.0-nightly-20231201021806",
5
5
  "main": "./dist/index.cjs.js",
6
6
  "types": "./dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -45,13 +45,13 @@
45
45
  "postpack": "backstage-cli package postpack"
46
46
  },
47
47
  "dependencies": {
48
- "@backstage/backend-common": "^0.0.0-nightly-20231129021646",
49
- "@backstage/backend-plugin-api": "^0.0.0-nightly-20231129021646",
50
- "@backstage/backend-tasks": "^0.0.0-nightly-20231129021646",
48
+ "@backstage/backend-common": "^0.0.0-nightly-20231201021806",
49
+ "@backstage/backend-plugin-api": "^0.0.0-nightly-20231201021806",
50
+ "@backstage/backend-tasks": "^0.0.0-nightly-20231201021806",
51
51
  "@backstage/catalog-model": "^1.4.3",
52
52
  "@backstage/config": "^1.1.1",
53
53
  "@backstage/errors": "^1.2.3",
54
- "@backstage/plugin-catalog-node": "^0.0.0-nightly-20231129021646",
54
+ "@backstage/plugin-catalog-node": "^0.0.0-nightly-20231201021806",
55
55
  "@backstage/types": "^1.1.1",
56
56
  "lodash": "^4.17.21",
57
57
  "luxon": "^3.0.0",
@@ -60,8 +60,8 @@
60
60
  "winston": "^3.2.1"
61
61
  },
62
62
  "devDependencies": {
63
- "@backstage/backend-test-utils": "^0.0.0-nightly-20231129021646",
64
- "@backstage/cli": "^0.0.0-nightly-20231129021646",
63
+ "@backstage/backend-test-utils": "^0.0.0-nightly-20231201021806",
64
+ "@backstage/cli": "^0.0.0-nightly-20231201021806",
65
65
  "@types/lodash": "^4.14.151",
66
66
  "msw": "^1.0.0"
67
67
  },