@backstage/plugin-catalog-backend-module-gitlab-org 0.2.4 → 0.2.5-next.1

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,5 +1,26 @@
1
1
  # @backstage/plugin-catalog-backend-module-gitlab-org
2
2
 
3
+ ## 0.2.5-next.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @backstage/backend-plugin-api@1.1.1-next.1
9
+ - @backstage/plugin-catalog-node@1.15.1-next.1
10
+ - @backstage/plugin-events-node@0.4.7-next.1
11
+ - @backstage/plugin-catalog-backend-module-gitlab@0.6.2-next.1
12
+
13
+ ## 0.2.5-next.0
14
+
15
+ ### Patch Changes
16
+
17
+ - d9d62ef: Remove some internal usages of the backend-common package
18
+ - Updated dependencies
19
+ - @backstage/plugin-catalog-backend-module-gitlab@0.6.1-next.0
20
+ - @backstage/backend-plugin-api@1.1.1-next.0
21
+ - @backstage/plugin-catalog-node@1.15.1-next.0
22
+ - @backstage/plugin-events-node@0.4.7-next.0
23
+
3
24
  ## 0.2.4
4
25
 
5
26
  ### Patch Changes
@@ -1,6 +1,5 @@
1
1
  'use strict';
2
2
 
3
- var backendCommon = require('@backstage/backend-common');
4
3
  var backendPluginApi = require('@backstage/backend-plugin-api');
5
4
  var pluginCatalogBackendModuleGitlab = require('@backstage/plugin-catalog-backend-module-gitlab');
6
5
  var alpha = require('@backstage/plugin-catalog-node/alpha');
@@ -20,7 +19,7 @@ const catalogModuleGitlabOrgDiscoveryEntityProvider = backendPluginApi.createBac
20
19
  },
21
20
  async init({ config, catalog, logger, scheduler, events }) {
22
21
  const gitlabOrgDiscoveryEntityProvider = pluginCatalogBackendModuleGitlab.GitlabOrgDiscoveryEntityProvider.fromConfig(config, {
23
- logger: backendCommon.loggerToWinstonLogger(logger),
22
+ logger,
24
23
  events,
25
24
  scheduler
26
25
  });
@@ -1 +1 @@
1
- {"version":3,"file":"catalogModuleGitlabOrgDiscoveryEntityProvider.cjs.js","sources":["../src/catalogModuleGitlabOrgDiscoveryEntityProvider.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 { loggerToWinstonLogger } from '@backstage/backend-common';\nimport {\n coreServices,\n createBackendModule,\n} from '@backstage/backend-plugin-api';\nimport { GitlabOrgDiscoveryEntityProvider } from '@backstage/plugin-catalog-backend-module-gitlab';\nimport { catalogProcessingExtensionPoint } from '@backstage/plugin-catalog-node/alpha';\nimport { eventsServiceRef } from '@backstage/plugin-events-node';\n\n/**\n * Registers the GitlabOrgDiscoveryEntityProvider with the catalog processing extension point.\n *\n * @public\n */\nexport const catalogModuleGitlabOrgDiscoveryEntityProvider =\n createBackendModule({\n pluginId: 'catalog',\n moduleId: 'gitlabOrgDiscoveryEntityProvider',\n register(env) {\n env.registerInit({\n deps: {\n config: coreServices.rootConfig,\n catalog: catalogProcessingExtensionPoint,\n logger: coreServices.logger,\n scheduler: coreServices.scheduler,\n events: eventsServiceRef,\n },\n async init({ config, catalog, logger, scheduler, events }) {\n const gitlabOrgDiscoveryEntityProvider =\n GitlabOrgDiscoveryEntityProvider.fromConfig(config, {\n logger: loggerToWinstonLogger(logger),\n events,\n scheduler,\n });\n catalog.addEntityProvider(gitlabOrgDiscoveryEntityProvider);\n },\n });\n },\n });\n"],"names":["createBackendModule","coreServices","catalogProcessingExtensionPoint","eventsServiceRef","GitlabOrgDiscoveryEntityProvider","loggerToWinstonLogger"],"mappings":";;;;;;;;AA8BO,MAAM,gDACXA,oCAAoB,CAAA;AAAA,EAClB,QAAU,EAAA,SAAA;AAAA,EACV,QAAU,EAAA,kCAAA;AAAA,EACV,SAAS,GAAK,EAAA;AACZ,IAAA,GAAA,CAAI,YAAa,CAAA;AAAA,MACf,IAAM,EAAA;AAAA,QACJ,QAAQC,6BAAa,CAAA,UAAA;AAAA,QACrB,OAAS,EAAAC,qCAAA;AAAA,QACT,QAAQD,6BAAa,CAAA,MAAA;AAAA,QACrB,WAAWA,6BAAa,CAAA,SAAA;AAAA,QACxB,MAAQ,EAAAE;AAAA,OACV;AAAA,MACA,MAAM,KAAK,EAAE,MAAA,EAAQ,SAAS,MAAQ,EAAA,SAAA,EAAW,QAAU,EAAA;AACzD,QAAM,MAAA,gCAAA,GACJC,iEAAiC,CAAA,UAAA,CAAW,MAAQ,EAAA;AAAA,UAClD,MAAA,EAAQC,oCAAsB,MAAM,CAAA;AAAA,UACpC,MAAA;AAAA,UACA;AAAA,SACD,CAAA;AACH,QAAA,OAAA,CAAQ,kBAAkB,gCAAgC,CAAA;AAAA;AAC5D,KACD,CAAA;AAAA;AAEL,CAAC;;;;"}
1
+ {"version":3,"file":"catalogModuleGitlabOrgDiscoveryEntityProvider.cjs.js","sources":["../src/catalogModuleGitlabOrgDiscoveryEntityProvider.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 coreServices,\n createBackendModule,\n} from '@backstage/backend-plugin-api';\nimport { GitlabOrgDiscoveryEntityProvider } from '@backstage/plugin-catalog-backend-module-gitlab';\nimport { catalogProcessingExtensionPoint } from '@backstage/plugin-catalog-node/alpha';\nimport { eventsServiceRef } from '@backstage/plugin-events-node';\n\n/**\n * Registers the GitlabOrgDiscoveryEntityProvider with the catalog processing extension point.\n *\n * @public\n */\nexport const catalogModuleGitlabOrgDiscoveryEntityProvider =\n createBackendModule({\n pluginId: 'catalog',\n moduleId: 'gitlabOrgDiscoveryEntityProvider',\n register(env) {\n env.registerInit({\n deps: {\n config: coreServices.rootConfig,\n catalog: catalogProcessingExtensionPoint,\n logger: coreServices.logger,\n scheduler: coreServices.scheduler,\n events: eventsServiceRef,\n },\n async init({ config, catalog, logger, scheduler, events }) {\n const gitlabOrgDiscoveryEntityProvider =\n GitlabOrgDiscoveryEntityProvider.fromConfig(config, {\n logger,\n events,\n scheduler,\n });\n catalog.addEntityProvider(gitlabOrgDiscoveryEntityProvider);\n },\n });\n },\n });\n"],"names":["createBackendModule","coreServices","catalogProcessingExtensionPoint","eventsServiceRef","GitlabOrgDiscoveryEntityProvider"],"mappings":";;;;;;;AA6BO,MAAM,gDACXA,oCAAoB,CAAA;AAAA,EAClB,QAAU,EAAA,SAAA;AAAA,EACV,QAAU,EAAA,kCAAA;AAAA,EACV,SAAS,GAAK,EAAA;AACZ,IAAA,GAAA,CAAI,YAAa,CAAA;AAAA,MACf,IAAM,EAAA;AAAA,QACJ,QAAQC,6BAAa,CAAA,UAAA;AAAA,QACrB,OAAS,EAAAC,qCAAA;AAAA,QACT,QAAQD,6BAAa,CAAA,MAAA;AAAA,QACrB,WAAWA,6BAAa,CAAA,SAAA;AAAA,QACxB,MAAQ,EAAAE;AAAA,OACV;AAAA,MACA,MAAM,KAAK,EAAE,MAAA,EAAQ,SAAS,MAAQ,EAAA,SAAA,EAAW,QAAU,EAAA;AACzD,QAAM,MAAA,gCAAA,GACJC,iEAAiC,CAAA,UAAA,CAAW,MAAQ,EAAA;AAAA,UAClD,MAAA;AAAA,UACA,MAAA;AAAA,UACA;AAAA,SACD,CAAA;AACH,QAAA,OAAA,CAAQ,kBAAkB,gCAAgC,CAAA;AAAA;AAC5D,KACD,CAAA;AAAA;AAEL,CAAC;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog-backend-module-gitlab-org",
3
- "version": "0.2.4",
3
+ "version": "0.2.5-next.1",
4
4
  "description": "The gitlab-org backend module for the catalog plugin.",
5
5
  "backstage": {
6
6
  "role": "backend-plugin-module",
@@ -33,16 +33,15 @@
33
33
  "test": "backstage-cli package test"
34
34
  },
35
35
  "dependencies": {
36
- "@backstage/backend-common": "^0.25.0",
37
- "@backstage/backend-plugin-api": "^1.1.0",
38
- "@backstage/plugin-catalog-backend-module-gitlab": "^0.6.0",
39
- "@backstage/plugin-catalog-node": "^1.15.0",
40
- "@backstage/plugin-events-node": "^0.4.6"
36
+ "@backstage/backend-plugin-api": "1.1.1-next.1",
37
+ "@backstage/plugin-catalog-backend-module-gitlab": "0.6.2-next.1",
38
+ "@backstage/plugin-catalog-node": "1.15.1-next.1",
39
+ "@backstage/plugin-events-node": "0.4.7-next.1"
41
40
  },
42
41
  "devDependencies": {
43
- "@backstage/backend-test-utils": "^1.2.0",
44
- "@backstage/cli": "^0.29.4",
45
- "@backstage/plugin-events-backend-test-utils": "^0.1.39",
42
+ "@backstage/backend-test-utils": "1.2.1-next.1",
43
+ "@backstage/cli": "0.29.5-next.1",
44
+ "@backstage/plugin-events-backend-test-utils": "0.1.40-next.1",
46
45
  "luxon": "^3.0.0"
47
46
  },
48
47
  "typesVersions": {