@backstage/plugin-catalog-backend-module-bitbucket-server 0.1.16-next.1 → 0.1.16-next.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,49 @@
1
1
  # @backstage/plugin-catalog-backend-module-bitbucket-server
2
2
 
3
+ ## 0.1.16-next.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 71114ac50e02: The export for the new backend system has been moved to be the `default` export.
8
+
9
+ For example, if you are currently importing the plugin using the following pattern:
10
+
11
+ ```ts
12
+ import { examplePlugin } from '@backstage/plugin-example-backend';
13
+
14
+ backend.add(examplePlugin);
15
+ ```
16
+
17
+ It should be migrated to this:
18
+
19
+ ```ts
20
+ backend.add(import('@backstage/plugin-example-backend'));
21
+ ```
22
+
23
+ - Updated dependencies
24
+ - @backstage/catalog-model@1.4.2-next.2
25
+ - @backstage/config@1.1.0-next.2
26
+ - @backstage/errors@1.2.2-next.0
27
+ - @backstage/integration@1.7.0-next.3
28
+ - @backstage/backend-plugin-api@0.6.3-next.3
29
+ - @backstage/backend-common@0.19.5-next.3
30
+ - @backstage/backend-tasks@0.5.8-next.3
31
+ - @backstage/plugin-catalog-node@1.4.4-next.3
32
+
33
+ ## 0.1.16-next.2
34
+
35
+ ### Patch Changes
36
+
37
+ - Updated dependencies
38
+ - @backstage/config@1.1.0-next.1
39
+ - @backstage/backend-tasks@0.5.8-next.2
40
+ - @backstage/backend-common@0.19.5-next.2
41
+ - @backstage/plugin-catalog-node@1.4.4-next.2
42
+ - @backstage/integration@1.7.0-next.2
43
+ - @backstage/backend-plugin-api@0.6.3-next.2
44
+ - @backstage/catalog-model@1.4.2-next.1
45
+ - @backstage/errors@1.2.1
46
+
3
47
  ## 0.1.16-next.1
4
48
 
5
49
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog-backend-module-bitbucket-server",
3
- "version": "0.1.16-next.1",
3
+ "version": "0.1.16-next.3",
4
4
  "main": "../dist/alpha.cjs.js",
5
5
  "types": "../dist/alpha.d.ts"
6
6
  }
package/dist/alpha.cjs.js CHANGED
@@ -1,7 +1,5 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
3
  var backendCommon = require('@backstage/backend-common');
6
4
  var backendPluginApi = require('@backstage/backend-plugin-api');
7
5
  var alpha = require('@backstage/plugin-catalog-node/alpha');
@@ -36,5 +34,5 @@ const catalogModuleBitbucketServerEntityProvider = backendPluginApi.createBacken
36
34
  }
37
35
  });
38
36
 
39
- exports.catalogModuleBitbucketServerEntityProvider = catalogModuleBitbucketServerEntityProvider;
37
+ module.exports = catalogModuleBitbucketServerEntityProvider;
40
38
  //# sourceMappingURL=alpha.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"alpha.cjs.js","sources":["../src/module/catalogModuleBitbucketServerEntityProvider.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 { catalogProcessingExtensionPoint } from '@backstage/plugin-catalog-node/alpha';\nimport { BitbucketServerEntityProvider } from '../providers';\n\n/**\n * @alpha\n */\nexport const catalogModuleBitbucketServerEntityProvider = createBackendModule({\n pluginId: 'catalog',\n moduleId: 'bitbucketServerEntityProvider',\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 winstonLogger = loggerToWinstonLogger(logger);\n const providers = BitbucketServerEntityProvider.fromConfig(config, {\n logger: winstonLogger,\n scheduler,\n });\n\n catalog.addEntityProvider(providers);\n },\n });\n },\n});\n"],"names":["createBackendModule","catalogProcessingExtensionPoint","coreServices","loggerToWinstonLogger","BitbucketServerEntityProvider"],"mappings":";;;;;;;;;;;;;;;AA2BO,MAAM,6CAA6CA,oCAAoB,CAAA;AAAA,EAC5E,QAAU,EAAA,SAAA;AAAA,EACV,QAAU,EAAA,+BAAA;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,aAAA,GAAgBC,oCAAsB,MAAM,CAAA,CAAA;AAClD,QAAM,MAAA,SAAA,GAAYC,2DAA8B,CAAA,UAAA,CAAW,MAAQ,EAAA;AAAA,UACjE,MAAQ,EAAA,aAAA;AAAA,UACR,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":"alpha.cjs.js","sources":["../src/module/catalogModuleBitbucketServerEntityProvider.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 { catalogProcessingExtensionPoint } from '@backstage/plugin-catalog-node/alpha';\nimport { BitbucketServerEntityProvider } from '../providers';\n\n/**\n * @alpha\n */\nexport const catalogModuleBitbucketServerEntityProvider = createBackendModule({\n pluginId: 'catalog',\n moduleId: 'bitbucketServerEntityProvider',\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 winstonLogger = loggerToWinstonLogger(logger);\n const providers = BitbucketServerEntityProvider.fromConfig(config, {\n logger: winstonLogger,\n scheduler,\n });\n\n catalog.addEntityProvider(providers);\n },\n });\n },\n});\n"],"names":["createBackendModule","catalogProcessingExtensionPoint","coreServices","loggerToWinstonLogger","BitbucketServerEntityProvider"],"mappings":";;;;;;;;;;;;;AA2BO,MAAM,6CAA6CA,oCAAoB,CAAA;AAAA,EAC5E,QAAU,EAAA,SAAA;AAAA,EACV,QAAU,EAAA,+BAAA;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,aAAA,GAAgBC,oCAAsB,MAAM,CAAA,CAAA;AAClD,QAAM,MAAA,SAAA,GAAYC,2DAA8B,CAAA,UAAA,CAAW,MAAQ,EAAA;AAAA,UACjE,MAAQ,EAAA,aAAA;AAAA,UACR,SAAA;AAAA,SACD,CAAA,CAAA;AAED,QAAA,OAAA,CAAQ,kBAAkB,SAAS,CAAA,CAAA;AAAA,OACrC;AAAA,KACD,CAAA,CAAA;AAAA,GACH;AACF,CAAC;;;;"}
package/dist/alpha.d.ts CHANGED
@@ -5,4 +5,4 @@ import * as _backstage_backend_plugin_api from '@backstage/backend-plugin-api';
5
5
  */
6
6
  declare const catalogModuleBitbucketServerEntityProvider: () => _backstage_backend_plugin_api.BackendFeature;
7
7
 
8
- export { catalogModuleBitbucketServerEntityProvider };
8
+ export { catalogModuleBitbucketServerEntityProvider as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog-backend-module-bitbucket-server",
3
- "version": "0.1.16-next.1",
3
+ "version": "0.1.16-next.3",
4
4
  "main": "./dist/index.cjs.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "license": "Apache-2.0",
@@ -42,22 +42,22 @@
42
42
  "clean": "backstage-cli package clean"
43
43
  },
44
44
  "dependencies": {
45
- "@backstage/backend-common": "^0.19.5-next.1",
46
- "@backstage/backend-plugin-api": "^0.6.3-next.1",
47
- "@backstage/backend-tasks": "^0.5.8-next.1",
48
- "@backstage/catalog-model": "^1.4.2-next.0",
49
- "@backstage/config": "^1.1.0-next.0",
50
- "@backstage/errors": "^1.2.1",
51
- "@backstage/integration": "^1.7.0-next.1",
52
- "@backstage/plugin-catalog-node": "^1.4.4-next.1",
45
+ "@backstage/backend-common": "^0.19.5-next.3",
46
+ "@backstage/backend-plugin-api": "^0.6.3-next.3",
47
+ "@backstage/backend-tasks": "^0.5.8-next.3",
48
+ "@backstage/catalog-model": "^1.4.2-next.2",
49
+ "@backstage/config": "^1.1.0-next.2",
50
+ "@backstage/errors": "^1.2.2-next.0",
51
+ "@backstage/integration": "^1.7.0-next.3",
52
+ "@backstage/plugin-catalog-node": "^1.4.4-next.3",
53
53
  "@types/node-fetch": "^2.5.12",
54
54
  "node-fetch": "^2.6.7",
55
55
  "uuid": "^8.0.0",
56
56
  "winston": "^3.2.1"
57
57
  },
58
58
  "devDependencies": {
59
- "@backstage/backend-test-utils": "^0.2.3-next.1",
60
- "@backstage/cli": "^0.22.13-next.1",
59
+ "@backstage/backend-test-utils": "^0.2.3-next.3",
60
+ "@backstage/cli": "^0.22.13-next.3",
61
61
  "luxon": "^3.0.0",
62
62
  "msw": "^1.0.0"
63
63
  },