@backstage-community/plugin-cicd-statistics-module-gitlab 0.1.34 → 0.1.35

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,13 @@
1
1
  # @backstage-community/plugin-cicd-statistics-module-gitlab
2
2
 
3
+ ## 0.1.35
4
+
5
+ ### Patch Changes
6
+
7
+ - a624400: Backstage version bump to v1.32.0
8
+ - Updated dependencies [a624400]
9
+ - @backstage-community/plugin-cicd-statistics@0.1.41
10
+
3
11
  ## 0.1.34
4
12
 
5
13
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage-community/plugin-cicd-statistics-module-gitlab__alpha",
3
- "version": "0.1.34",
3
+ "version": "0.1.35",
4
4
  "main": "../dist/alpha.esm.js",
5
5
  "module": "../dist/alpha.esm.js",
6
6
  "types": "../dist/alpha.d.ts"
package/dist/alpha.d.ts CHANGED
@@ -4,14 +4,20 @@ import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
4
4
  /**
5
5
  * @alpha
6
6
  */
7
- declare const cicdStatisticsGitlabExtension: _backstage_frontend_plugin_api.ExtensionDefinition<{}, {}, _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_core_plugin_api.AnyApiFactory, "core.api.factory", {}>, {}, {
7
+ declare const cicdStatisticsGitlabExtension: _backstage_frontend_plugin_api.ExtensionDefinition<{
8
8
  kind: "api";
9
- namespace: undefined;
10
9
  name: "cicd-statistics-gitlab-api";
10
+ config: {};
11
+ configInput: {};
12
+ output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_core_plugin_api.AnyApiFactory, "core.api.factory", {}>;
13
+ inputs: {};
14
+ params: {
15
+ factory: _backstage_core_plugin_api.AnyApiFactory;
16
+ };
11
17
  }>;
12
18
  /**
13
19
  * @alpha
14
20
  */
15
- declare const cicdStatisticsExtensionOverrides: _backstage_frontend_plugin_api.ExtensionOverrides;
21
+ declare const cicdStatisticsExtensionOverrides: _backstage_frontend_plugin_api.FrontendModule;
16
22
 
17
23
  export { cicdStatisticsGitlabExtension, cicdStatisticsExtensionOverrides as default };
package/dist/alpha.esm.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { cicdStatisticsApiRef } from '@backstage-community/plugin-cicd-statistics';
2
- import { ApiBlueprint, createApiFactory, gitlabAuthApiRef, createExtensionOverrides } from '@backstage/frontend-plugin-api';
2
+ import { ApiBlueprint, createApiFactory, gitlabAuthApiRef, createFrontendModule } from '@backstage/frontend-plugin-api';
3
3
  import { CicdStatisticsApiGitlab } from './api/gitlab.esm.js';
4
4
 
5
5
  const cicdStatisticsGitlabExtension = ApiBlueprint.make({
@@ -16,7 +16,8 @@ const cicdStatisticsGitlabExtension = ApiBlueprint.make({
16
16
  })
17
17
  }
18
18
  });
19
- const cicdStatisticsExtensionOverrides = createExtensionOverrides({
19
+ const cicdStatisticsExtensionOverrides = createFrontendModule({
20
+ pluginId: "cicd-statistics",
20
21
  extensions: [cicdStatisticsGitlabExtension]
21
22
  });
22
23
 
@@ -1 +1 @@
1
- {"version":3,"file":"alpha.esm.js","sources":["../src/alpha.ts"],"sourcesContent":["import { cicdStatisticsApiRef } from '@backstage-community/plugin-cicd-statistics';\nimport {\n ApiBlueprint,\n createApiFactory,\n createExtensionOverrides,\n gitlabAuthApiRef,\n} from '@backstage/frontend-plugin-api';\nimport { CicdStatisticsApiGitlab } from './api';\n\n/**\n * @alpha\n */\nexport const cicdStatisticsGitlabExtension = ApiBlueprint.make({\n name: 'cicd-statistics-gitlab-api',\n params: {\n factory: createApiFactory({\n api: cicdStatisticsApiRef,\n deps: {\n gitlabAuthApi: gitlabAuthApiRef,\n },\n factory: ({ gitlabAuthApi }) => {\n return new CicdStatisticsApiGitlab(gitlabAuthApi);\n },\n }),\n },\n});\n\n/**\n * @alpha\n */\nconst cicdStatisticsExtensionOverrides = createExtensionOverrides({\n extensions: [cicdStatisticsGitlabExtension],\n});\n\nexport default cicdStatisticsExtensionOverrides;\n"],"names":[],"mappings":";;;;AAYa,MAAA,6BAAA,GAAgC,aAAa,IAAK,CAAA;AAAA,EAC7D,IAAM,EAAA,4BAAA;AAAA,EACN,MAAQ,EAAA;AAAA,IACN,SAAS,gBAAiB,CAAA;AAAA,MACxB,GAAK,EAAA,oBAAA;AAAA,MACL,IAAM,EAAA;AAAA,QACJ,aAAe,EAAA,gBAAA;AAAA,OACjB;AAAA,MACA,OAAS,EAAA,CAAC,EAAE,aAAA,EAAoB,KAAA;AAC9B,QAAO,OAAA,IAAI,wBAAwB,aAAa,CAAA,CAAA;AAAA,OAClD;AAAA,KACD,CAAA;AAAA,GACH;AACF,CAAC,EAAA;AAKD,MAAM,mCAAmC,wBAAyB,CAAA;AAAA,EAChE,UAAA,EAAY,CAAC,6BAA6B,CAAA;AAC5C,CAAC;;;;"}
1
+ {"version":3,"file":"alpha.esm.js","sources":["../src/alpha.ts"],"sourcesContent":["/*\n * Copyright 2024 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 */\nimport { cicdStatisticsApiRef } from '@backstage-community/plugin-cicd-statistics';\nimport {\n ApiBlueprint,\n createApiFactory,\n createFrontendModule,\n gitlabAuthApiRef,\n} from '@backstage/frontend-plugin-api';\nimport { CicdStatisticsApiGitlab } from './api';\n\n/**\n * @alpha\n */\nexport const cicdStatisticsGitlabExtension = ApiBlueprint.make({\n name: 'cicd-statistics-gitlab-api',\n params: {\n factory: createApiFactory({\n api: cicdStatisticsApiRef,\n deps: {\n gitlabAuthApi: gitlabAuthApiRef,\n },\n factory: ({ gitlabAuthApi }) => {\n return new CicdStatisticsApiGitlab(gitlabAuthApi);\n },\n }),\n },\n});\n\n/**\n * @alpha\n */\nconst cicdStatisticsExtensionOverrides = createFrontendModule({\n pluginId: 'cicd-statistics',\n extensions: [cicdStatisticsGitlabExtension],\n});\n\nexport default cicdStatisticsExtensionOverrides;\n"],"names":[],"mappings":";;;;AA2Ba,MAAA,6BAAA,GAAgC,aAAa,IAAK,CAAA;AAAA,EAC7D,IAAM,EAAA,4BAAA;AAAA,EACN,MAAQ,EAAA;AAAA,IACN,SAAS,gBAAiB,CAAA;AAAA,MACxB,GAAK,EAAA,oBAAA;AAAA,MACL,IAAM,EAAA;AAAA,QACJ,aAAe,EAAA,gBAAA;AAAA,OACjB;AAAA,MACA,OAAS,EAAA,CAAC,EAAE,aAAA,EAAoB,KAAA;AAC9B,QAAO,OAAA,IAAI,wBAAwB,aAAa,CAAA,CAAA;AAAA,OAClD;AAAA,KACD,CAAA;AAAA,GACH;AACF,CAAC,EAAA;AAKD,MAAM,mCAAmC,oBAAqB,CAAA;AAAA,EAC5D,QAAU,EAAA,iBAAA;AAAA,EACV,UAAA,EAAY,CAAC,6BAA6B,CAAA;AAC5C,CAAC;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage-community/plugin-cicd-statistics-module-gitlab",
3
- "version": "0.1.34",
3
+ "version": "0.1.35",
4
4
  "description": "CI/CD Statistics plugin module; Gitlab CICD",
5
5
  "backstage": {
6
6
  "role": "frontend-plugin-module",
@@ -28,6 +28,7 @@
28
28
  "default": "./dist/index.esm.js"
29
29
  },
30
30
  "./alpha": {
31
+ "backstage": "@backstage/FrontendModule",
31
32
  "import": "./dist/alpha.esm.js",
32
33
  "types": "./dist/alpha.d.ts",
33
34
  "default": "./dist/alpha.esm.js"
@@ -51,17 +52,17 @@
51
52
  "test": "backstage-cli package test"
52
53
  },
53
54
  "dependencies": {
54
- "@backstage-community/plugin-cicd-statistics": "^0.1.40",
55
- "@backstage/catalog-model": "^1.6.0",
56
- "@backstage/core-plugin-api": "^1.9.3",
57
- "@backstage/frontend-plugin-api": "^0.7.0",
55
+ "@backstage-community/plugin-cicd-statistics": "^0.1.41",
56
+ "@backstage/catalog-model": "^1.7.0",
57
+ "@backstage/core-plugin-api": "^1.10.0",
58
+ "@backstage/frontend-plugin-api": "^0.9.0",
58
59
  "@gitbeaker/browser": "^35.6.0",
59
60
  "@gitbeaker/core": "^35.6.0",
60
61
  "luxon": "^3.0.0",
61
62
  "p-limit": "^3.1.0"
62
63
  },
63
64
  "devDependencies": {
64
- "@backstage/cli": "^0.27.0",
65
+ "@backstage/cli": "^0.28.0",
65
66
  "@types/react": "^16.13.1 || ^17.0.0",
66
67
  "@types/react-dom": "^18.2.19",
67
68
  "react": "^16.13.1 || ^17.0.0 || ^18.0.0",