@backstage/plugin-catalog-backend-module-gerrit 0.2.3-next.2 → 0.2.3

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,18 @@
1
1
  # @backstage/plugin-catalog-backend-module-gerrit
2
2
 
3
+ ## 0.2.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 5b6edf1: Fixed an issue preventing the provider's `schedule` config from being applied."
8
+ - 3109c24: The export for the new backend system at the `/alpha` export is now also available via the main entry point, which means that you can remove the `/alpha` suffix from the import.
9
+ - Updated dependencies
10
+ - @backstage/plugin-catalog-node@1.13.1
11
+ - @backstage/integration@1.15.1
12
+ - @backstage/backend-plugin-api@1.0.1
13
+ - @backstage/config@1.2.0
14
+ - @backstage/errors@1.2.4
15
+
3
16
  ## 0.2.3-next.2
4
17
 
5
18
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog-backend-module-gerrit__alpha",
3
- "version": "0.2.3-next.2",
3
+ "version": "0.2.3",
4
4
  "main": "../dist/alpha.cjs.js",
5
5
  "types": "../dist/alpha.d.ts"
6
6
  }
package/dist/alpha.cjs.js CHANGED
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var catalogModuleGerritEntityProvider = require('./module/catalogModuleGerritEntityProvider.cjs.js');
6
6
 
7
+ const _feature = catalogModuleGerritEntityProvider.catalogModuleGerritEntityProvider;
7
8
 
8
-
9
- exports.default = catalogModuleGerritEntityProvider.catalogModuleGerritEntityProvider;
9
+ exports.default = _feature;
10
10
  //# sourceMappingURL=alpha.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"alpha.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
1
+ {"version":3,"file":"alpha.cjs.js","sources":["../src/alpha.ts"],"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 { default as feature } from './module';\n\n/** @alpha */\nconst _feature = feature;\nexport default _feature;\n"],"names":["feature"],"mappings":";;;;;;AAmBA,MAAM,QAAW,GAAAA;;;;"}
package/dist/alpha.d.ts CHANGED
@@ -1,8 +1,6 @@
1
1
  import * as _backstage_backend_plugin_api from '@backstage/backend-plugin-api';
2
2
 
3
- /**
4
- * @alpha
5
- */
6
- declare const catalogModuleGerritEntityProvider: _backstage_backend_plugin_api.BackendFeature;
3
+ /** @alpha */
4
+ declare const _feature: _backstage_backend_plugin_api.BackendFeature;
7
5
 
8
- export { catalogModuleGerritEntityProvider as default };
6
+ export { _feature as default };
package/dist/index.cjs.js CHANGED
@@ -1,8 +1,12 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var catalogModuleGerritEntityProvider = require('./module/catalogModuleGerritEntityProvider.cjs.js');
3
6
  var GerritEntityProvider = require('./providers/GerritEntityProvider.cjs.js');
4
7
 
5
8
 
6
9
 
10
+ exports.default = catalogModuleGerritEntityProvider.catalogModuleGerritEntityProvider;
7
11
  exports.GerritEntityProvider = GerritEntityProvider.GerritEntityProvider;
8
12
  //# sourceMappingURL=index.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"index.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;"}
package/dist/index.d.ts CHANGED
@@ -1,6 +1,12 @@
1
+ import * as _backstage_backend_plugin_api from '@backstage/backend-plugin-api';
2
+ import { LoggerService, SchedulerServiceTaskRunner, SchedulerService } from '@backstage/backend-plugin-api';
1
3
  import { Config } from '@backstage/config';
2
4
  import { EntityProvider, EntityProviderConnection } from '@backstage/plugin-catalog-node';
3
- import { LoggerService, SchedulerServiceTaskRunner, SchedulerService } from '@backstage/backend-plugin-api';
5
+
6
+ /**
7
+ * @public
8
+ */
9
+ declare const catalogModuleGerritEntityProvider: _backstage_backend_plugin_api.BackendFeature;
4
10
 
5
11
  /** @public */
6
12
  declare class GerritEntityProvider implements EntityProvider {
@@ -22,4 +28,4 @@ declare class GerritEntityProvider implements EntityProvider {
22
28
  private createLocationSpec;
23
29
  }
24
30
 
25
- export { GerritEntityProvider };
31
+ export { GerritEntityProvider, catalogModuleGerritEntityProvider as default };
@@ -1 +1 @@
1
- {"version":3,"file":"catalogModuleGerritEntityProvider.cjs.js","sources":["../../src/module/catalogModuleGerritEntityProvider.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 { catalogProcessingExtensionPoint } from '@backstage/plugin-catalog-node/alpha';\nimport { GerritEntityProvider } from '../providers/GerritEntityProvider';\n\n/**\n * @alpha\n */\nexport const catalogModuleGerritEntityProvider = createBackendModule({\n pluginId: 'catalog',\n moduleId: 'gerrit-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 const providers = GerritEntityProvider.fromConfig(config, {\n logger,\n scheduler,\n });\n\n catalog.addEntityProvider(providers);\n },\n });\n },\n});\n"],"names":["createBackendModule","catalogProcessingExtensionPoint","coreServices","GerritEntityProvider"],"mappings":";;;;;;AA0BO,MAAM,oCAAoCA,oCAAoB,CAAA;AAAA,EACnE,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,QAAM,MAAA,SAAA,GAAYC,yCAAqB,CAAA,UAAA,CAAW,MAAQ,EAAA;AAAA,UACxD,MAAA;AAAA,UACA,SAAA;AAAA,SACD,CAAA,CAAA;AAED,QAAA,OAAA,CAAQ,kBAAkB,SAAS,CAAA,CAAA;AAAA,OACrC;AAAA,KACD,CAAA,CAAA;AAAA,GACH;AACF,CAAC;;;;"}
1
+ {"version":3,"file":"catalogModuleGerritEntityProvider.cjs.js","sources":["../../src/module/catalogModuleGerritEntityProvider.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 { catalogProcessingExtensionPoint } from '@backstage/plugin-catalog-node/alpha';\nimport { GerritEntityProvider } from '../providers/GerritEntityProvider';\n\n/**\n * @public\n */\nexport const catalogModuleGerritEntityProvider = createBackendModule({\n pluginId: 'catalog',\n moduleId: 'gerrit-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 const providers = GerritEntityProvider.fromConfig(config, {\n logger,\n scheduler,\n });\n\n catalog.addEntityProvider(providers);\n },\n });\n },\n});\n"],"names":["createBackendModule","catalogProcessingExtensionPoint","coreServices","GerritEntityProvider"],"mappings":";;;;;;AA0BO,MAAM,oCAAoCA,oCAAoB,CAAA;AAAA,EACnE,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,QAAM,MAAA,SAAA,GAAYC,yCAAqB,CAAA,UAAA,CAAW,MAAQ,EAAA;AAAA,UACxD,MAAA;AAAA,UACA,SAAA;AAAA,SACD,CAAA,CAAA;AAED,QAAA,OAAA,CAAQ,kBAAkB,SAAS,CAAA,CAAA;AAAA,OACrC;AAAA,KACD,CAAA,CAAA;AAAA,GACH;AACF,CAAC;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog-backend-module-gerrit",
3
- "version": "0.2.3-next.2",
3
+ "version": "0.2.3",
4
4
  "backstage": {
5
5
  "role": "backend-plugin-module",
6
6
  "pluginId": "catalog",
@@ -18,6 +18,7 @@
18
18
  "license": "Apache-2.0",
19
19
  "exports": {
20
20
  ".": {
21
+ "backstage": "@backstage/BackendFeature",
21
22
  "require": "./dist/index.cjs.js",
22
23
  "types": "./dist/index.d.ts",
23
24
  "default": "./dist/index.cjs.js"
@@ -47,18 +48,18 @@
47
48
  "test": "backstage-cli package test"
48
49
  },
49
50
  "dependencies": {
50
- "@backstage/backend-plugin-api": "1.0.1-next.1",
51
- "@backstage/config": "1.2.0",
52
- "@backstage/errors": "1.2.4",
53
- "@backstage/integration": "1.15.1-next.1",
54
- "@backstage/plugin-catalog-node": "1.13.1-next.1",
51
+ "@backstage/backend-plugin-api": "^1.0.1",
52
+ "@backstage/config": "^1.2.0",
53
+ "@backstage/errors": "^1.2.4",
54
+ "@backstage/integration": "^1.15.1",
55
+ "@backstage/plugin-catalog-node": "^1.13.1",
55
56
  "fs-extra": "^11.2.0",
56
57
  "node-fetch": "^2.7.0",
57
58
  "uuid": "^9.0.0"
58
59
  },
59
60
  "devDependencies": {
60
- "@backstage/backend-test-utils": "1.0.1-next.2",
61
- "@backstage/cli": "0.28.0-next.2",
61
+ "@backstage/backend-test-utils": "^1.0.1",
62
+ "@backstage/cli": "^0.28.0",
62
63
  "@types/fs-extra": "^11.0.0",
63
64
  "luxon": "^3.0.0",
64
65
  "msw": "^1.0.0"