@backstage-community/plugin-cicd-statistics-module-gitlab 0.9.0 → 0.11.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,27 @@
1
1
  # @backstage-community/plugin-cicd-statistics-module-gitlab
2
2
 
3
+ ## 0.11.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 9530fa1: Backstage version bump to v1.43.2
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [9530fa1]
12
+ - @backstage-community/plugin-cicd-statistics@0.11.0
13
+
14
+ ## 0.10.0
15
+
16
+ ### Minor Changes
17
+
18
+ - f45c6f1: Backstage version bump to v1.42.3
19
+
20
+ ### Patch Changes
21
+
22
+ - Updated dependencies [f45c6f1]
23
+ - @backstage-community/plugin-cicd-statistics@0.10.0
24
+
3
25
  ## 0.9.0
4
26
 
5
27
  ### Minor Changes
package/dist/alpha.d.ts CHANGED
@@ -9,11 +9,11 @@ declare const cicdStatisticsGitlabExtension: _backstage_frontend_plugin_api.Exte
9
9
  name: "cicd-statistics-gitlab-api";
10
10
  config: {};
11
11
  configInput: {};
12
- output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_core_plugin_api.AnyApiFactory, "core.api.factory", {}>;
12
+ output: _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_core_plugin_api.AnyApiFactory, "core.api.factory", {}>;
13
13
  inputs: {};
14
- params: {
15
- factory: _backstage_core_plugin_api.AnyApiFactory;
16
- };
14
+ params: <TApi, TImpl extends TApi, TDeps extends {
15
+ [x: string]: unknown;
16
+ }>(params: _backstage_core_plugin_api.ApiFactory<TApi, TImpl, TDeps>) => _backstage_frontend_plugin_api.ExtensionBlueprintParams<_backstage_core_plugin_api.AnyApiFactory>;
17
17
  }>;
18
18
  /**
19
19
  * @alpha
package/dist/alpha.esm.js CHANGED
@@ -1,20 +1,18 @@
1
1
  import { cicdStatisticsApiRef } from '@backstage-community/plugin-cicd-statistics';
2
- import { ApiBlueprint, createApiFactory, gitlabAuthApiRef, createFrontendModule } from '@backstage/frontend-plugin-api';
2
+ import { ApiBlueprint, gitlabAuthApiRef, createFrontendModule } from '@backstage/frontend-plugin-api';
3
3
  import { CicdStatisticsApiGitlab } from './api/gitlab.esm.js';
4
4
 
5
5
  const cicdStatisticsGitlabExtension = ApiBlueprint.make({
6
6
  name: "cicd-statistics-gitlab-api",
7
- params: {
8
- factory: createApiFactory({
9
- api: cicdStatisticsApiRef,
10
- deps: {
11
- gitlabAuthApi: gitlabAuthApiRef
12
- },
13
- factory: ({ gitlabAuthApi }) => {
14
- return new CicdStatisticsApiGitlab(gitlabAuthApi);
15
- }
16
- })
17
- }
7
+ params: (defineParams) => defineParams({
8
+ api: cicdStatisticsApiRef,
9
+ deps: {
10
+ gitlabAuthApi: gitlabAuthApiRef
11
+ },
12
+ factory: ({ gitlabAuthApi }) => {
13
+ return new CicdStatisticsApiGitlab(gitlabAuthApi);
14
+ }
15
+ })
18
16
  });
19
17
  const cicdStatisticsExtensionOverrides = createFrontendModule({
20
18
  pluginId: "cicd-statistics",
@@ -1 +1 @@
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;AAAA,OACjB;AAAA,MACA,OAAS,EAAA,CAAC,EAAE,aAAA,EAAoB,KAAA;AAC9B,QAAO,OAAA,IAAI,wBAAwB,aAAa,CAAA;AAAA;AAClD,KACD;AAAA;AAEL,CAAC;AAKD,MAAM,mCAAmC,oBAAqB,CAAA;AAAA,EAC5D,QAAU,EAAA,iBAAA;AAAA,EACV,UAAA,EAAY,CAAC,6BAA6B;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 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: defineParams =>\n defineParams({\n api: cicdStatisticsApiRef,\n deps: {\n gitlabAuthApi: gitlabAuthApiRef,\n },\n factory: ({ gitlabAuthApi }) => {\n return new CicdStatisticsApiGitlab(gitlabAuthApi);\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":";;;;AA0Ba,MAAA,6BAAA,GAAgC,aAAa,IAAK,CAAA;AAAA,EAC7D,IAAM,EAAA,4BAAA;AAAA,EACN,MAAA,EAAQ,kBACN,YAAa,CAAA;AAAA,IACX,GAAK,EAAA,oBAAA;AAAA,IACL,IAAM,EAAA;AAAA,MACJ,aAAe,EAAA;AAAA,KACjB;AAAA,IACA,OAAS,EAAA,CAAC,EAAE,aAAA,EAAoB,KAAA;AAC9B,MAAO,OAAA,IAAI,wBAAwB,aAAa,CAAA;AAAA;AAClD,GACD;AACL,CAAC;AAKD,MAAM,mCAAmC,oBAAqB,CAAA;AAAA,EAC5D,QAAU,EAAA,iBAAA;AAAA,EACV,UAAA,EAAY,CAAC,6BAA6B;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.9.0",
3
+ "version": "0.11.0",
4
4
  "description": "CI/CD Statistics plugin module; Gitlab CICD",
5
5
  "backstage": {
6
6
  "role": "frontend-plugin-module",
@@ -64,16 +64,16 @@
64
64
  "test": "backstage-cli package test"
65
65
  },
66
66
  "dependencies": {
67
- "@backstage-community/plugin-cicd-statistics": "^0.9.0",
67
+ "@backstage-community/plugin-cicd-statistics": "^0.11.0",
68
68
  "@backstage/catalog-model": "^1.7.5",
69
- "@backstage/core-plugin-api": "^1.10.9",
70
- "@backstage/frontend-plugin-api": "^0.10.4",
69
+ "@backstage/core-plugin-api": "^1.11.0",
70
+ "@backstage/frontend-plugin-api": "^0.12.0",
71
71
  "@gitbeaker/browser": "^35.6.0",
72
72
  "@gitbeaker/core": "^35.6.0",
73
73
  "p-limit": "^3.1.0"
74
74
  },
75
75
  "devDependencies": {
76
- "@backstage/cli": "^0.33.1",
76
+ "@backstage/cli": "^0.34.3",
77
77
  "@types/react": "^16.13.1 || ^17.0.0",
78
78
  "@types/react-dom": "^18.2.19",
79
79
  "react": "^16.13.1 || ^17.0.0 || ^18.0.0",