@backstage/plugin-catalog-backend-module-bitbucket-server 0.2.3-next.2 → 0.2.4-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 CHANGED
@@ -1,5 +1,30 @@
1
1
  # @backstage/plugin-catalog-backend-module-bitbucket-server
2
2
 
3
+ ## 0.2.4-next.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @backstage/plugin-catalog-node@1.14.0-next.0
9
+ - @backstage/backend-plugin-api@1.0.2-next.0
10
+ - @backstage/catalog-model@1.7.0
11
+ - @backstage/config@1.2.0
12
+ - @backstage/errors@1.2.4
13
+ - @backstage/integration@1.15.1
14
+
15
+ ## 0.2.3
16
+
17
+ ### Patch Changes
18
+
19
+ - 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.
20
+ - Updated dependencies
21
+ - @backstage/plugin-catalog-node@1.13.1
22
+ - @backstage/integration@1.15.1
23
+ - @backstage/backend-plugin-api@1.0.1
24
+ - @backstage/catalog-model@1.7.0
25
+ - @backstage/config@1.2.0
26
+ - @backstage/errors@1.2.4
27
+
3
28
  ## 0.2.3-next.2
4
29
 
5
30
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog-backend-module-bitbucket-server__alpha",
3
- "version": "0.2.3-next.2",
3
+ "version": "0.2.4-next.0",
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 catalogModuleBitbucketServerEntityProvider = require('./module/catalogModuleBitbucketServerEntityProvider.cjs.js');
6
6
 
7
+ const _feature = catalogModuleBitbucketServerEntityProvider.catalogModuleBitbucketServerEntityProvider;
7
8
 
8
-
9
- exports.default = catalogModuleBitbucketServerEntityProvider.catalogModuleBitbucketServerEntityProvider;
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 catalogModuleBitbucketServerEntityProvider: _backstage_backend_plugin_api.BackendFeature;
3
+ /** @alpha */
4
+ declare const _feature: _backstage_backend_plugin_api.BackendFeature;
7
5
 
8
- export { catalogModuleBitbucketServerEntityProvider as default };
6
+ export { _feature as default };
package/dist/index.cjs.js CHANGED
@@ -1,10 +1,14 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var catalogModuleBitbucketServerEntityProvider = require('./module/catalogModuleBitbucketServerEntityProvider.cjs.js');
3
6
  var BitbucketServerClient = require('./lib/BitbucketServerClient.cjs.js');
4
7
  var BitbucketServerEntityProvider = require('./providers/BitbucketServerEntityProvider.cjs.js');
5
8
 
6
9
 
7
10
 
11
+ exports.default = catalogModuleBitbucketServerEntityProvider.catalogModuleBitbucketServerEntityProvider;
8
12
  exports.BitbucketServerClient = BitbucketServerClient.BitbucketServerClient;
9
13
  exports.BitbucketServerEntityProvider = BitbucketServerEntityProvider.BitbucketServerEntityProvider;
10
14
  //# 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,9 +1,15 @@
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 { Response } from 'node-fetch';
2
4
  import { BitbucketServerIntegrationConfig } from '@backstage/integration';
3
5
  import { Config } from '@backstage/config';
4
6
  import { LocationSpec, EntityProvider, EntityProviderConnection } from '@backstage/plugin-catalog-node';
5
7
  import { Entity } from '@backstage/catalog-model';
6
- import { LoggerService, SchedulerServiceTaskRunner, SchedulerService } from '@backstage/backend-plugin-api';
8
+
9
+ /**
10
+ * @public
11
+ */
12
+ declare const catalogModuleBitbucketServerEntityProvider: _backstage_backend_plugin_api.BackendFeature;
7
13
 
8
14
  /** @public */
9
15
  type BitbucketServerRepository = {
@@ -126,4 +132,4 @@ declare class BitbucketServerEntityProvider implements EntityProvider {
126
132
  private findEntities;
127
133
  }
128
134
 
129
- export { BitbucketServerClient, BitbucketServerEntityProvider, type BitbucketServerListOptions, type BitbucketServerLocationParser, type BitbucketServerPagedResponse, type BitbucketServerProject, type BitbucketServerRepository };
135
+ export { BitbucketServerClient, BitbucketServerEntityProvider, type BitbucketServerListOptions, type BitbucketServerLocationParser, type BitbucketServerPagedResponse, type BitbucketServerProject, type BitbucketServerRepository, catalogModuleBitbucketServerEntityProvider as default };
@@ -1 +1 @@
1
- {"version":3,"file":"catalogModuleBitbucketServerEntityProvider.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 {\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: 'bitbucket-server-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 = BitbucketServerEntityProvider.fromConfig(config, {\n logger,\n scheduler,\n });\n\n catalog.addEntityProvider(providers);\n },\n });\n },\n});\n"],"names":["createBackendModule","catalogProcessingExtensionPoint","coreServices","BitbucketServerEntityProvider"],"mappings":";;;;;;AA0BO,MAAM,6CAA6CA,oCAAoB,CAAA;AAAA,EAC5E,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,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,2DAA8B,CAAA,UAAA,CAAW,MAAQ,EAAA;AAAA,UACjE,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":"catalogModuleBitbucketServerEntityProvider.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 {\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 * @public\n */\nexport const catalogModuleBitbucketServerEntityProvider = createBackendModule({\n pluginId: 'catalog',\n moduleId: 'bitbucket-server-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 = BitbucketServerEntityProvider.fromConfig(config, {\n logger,\n scheduler,\n });\n\n catalog.addEntityProvider(providers);\n },\n });\n },\n});\n"],"names":["createBackendModule","catalogProcessingExtensionPoint","coreServices","BitbucketServerEntityProvider"],"mappings":";;;;;;AA0BO,MAAM,6CAA6CA,oCAAoB,CAAA;AAAA,EAC5E,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,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,2DAA8B,CAAA,UAAA,CAAW,MAAQ,EAAA;AAAA,UACjE,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-bitbucket-server",
3
- "version": "0.2.3-next.2",
3
+ "version": "0.2.4-next.0",
4
4
  "backstage": {
5
5
  "role": "backend-plugin-module",
6
6
  "pluginId": "catalog",
@@ -21,6 +21,7 @@
21
21
  "license": "Apache-2.0",
22
22
  "exports": {
23
23
  ".": {
24
+ "backstage": "@backstage/BackendFeature",
24
25
  "require": "./dist/index.cjs.js",
25
26
  "types": "./dist/index.d.ts",
26
27
  "default": "./dist/index.cjs.js"
@@ -50,19 +51,19 @@
50
51
  "test": "backstage-cli package test"
51
52
  },
52
53
  "dependencies": {
53
- "@backstage/backend-plugin-api": "1.0.1-next.1",
54
+ "@backstage/backend-plugin-api": "1.0.2-next.0",
54
55
  "@backstage/catalog-model": "1.7.0",
55
56
  "@backstage/config": "1.2.0",
56
57
  "@backstage/errors": "1.2.4",
57
- "@backstage/integration": "1.15.1-next.1",
58
- "@backstage/plugin-catalog-node": "1.13.1-next.1",
58
+ "@backstage/integration": "1.15.1",
59
+ "@backstage/plugin-catalog-node": "1.14.0-next.0",
59
60
  "@types/node-fetch": "^2.5.12",
60
61
  "node-fetch": "^2.7.0",
61
62
  "uuid": "^9.0.0"
62
63
  },
63
64
  "devDependencies": {
64
- "@backstage/backend-test-utils": "1.0.1-next.2",
65
- "@backstage/cli": "0.28.0-next.2",
65
+ "@backstage/backend-test-utils": "1.0.3-next.0",
66
+ "@backstage/cli": "0.29.0-next.0",
66
67
  "luxon": "^3.0.0",
67
68
  "msw": "^1.0.0"
68
69
  },