@backstage-community/plugin-cicd-statistics-module-gitlab 0.1.33 → 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,21 @@
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
+
11
+ ## 0.1.34
12
+
13
+ ### Patch Changes
14
+
15
+ - 52fcd76: Adds support for Backstage's new frontend system, available via the `/alpha` sub-path export.
16
+ - Updated dependencies [52fcd76]
17
+ - @backstage-community/plugin-cicd-statistics@0.1.40
18
+
3
19
  ## 0.1.33
4
20
 
5
21
  ### Patch Changes
@@ -0,0 +1,7 @@
1
+ {
2
+ "name": "@backstage-community/plugin-cicd-statistics-module-gitlab__alpha",
3
+ "version": "0.1.35",
4
+ "main": "../dist/alpha.esm.js",
5
+ "module": "../dist/alpha.esm.js",
6
+ "types": "../dist/alpha.d.ts"
7
+ }
@@ -0,0 +1,23 @@
1
+ import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api';
2
+ import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
3
+
4
+ /**
5
+ * @alpha
6
+ */
7
+ declare const cicdStatisticsGitlabExtension: _backstage_frontend_plugin_api.ExtensionDefinition<{
8
+ kind: "api";
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
+ };
17
+ }>;
18
+ /**
19
+ * @alpha
20
+ */
21
+ declare const cicdStatisticsExtensionOverrides: _backstage_frontend_plugin_api.FrontendModule;
22
+
23
+ export { cicdStatisticsGitlabExtension, cicdStatisticsExtensionOverrides as default };
@@ -0,0 +1,25 @@
1
+ import { cicdStatisticsApiRef } from '@backstage-community/plugin-cicd-statistics';
2
+ import { ApiBlueprint, createApiFactory, gitlabAuthApiRef, createFrontendModule } from '@backstage/frontend-plugin-api';
3
+ import { CicdStatisticsApiGitlab } from './api/gitlab.esm.js';
4
+
5
+ const cicdStatisticsGitlabExtension = ApiBlueprint.make({
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
+ }
18
+ });
19
+ const cicdStatisticsExtensionOverrides = createFrontendModule({
20
+ pluginId: "cicd-statistics",
21
+ extensions: [cicdStatisticsGitlabExtension]
22
+ });
23
+
24
+ export { cicdStatisticsGitlabExtension, cicdStatisticsExtensionOverrides as default };
25
+ //# sourceMappingURL=alpha.esm.js.map
@@ -0,0 +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,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.33",
3
+ "version": "0.1.35",
4
4
  "description": "CI/CD Statistics plugin module; Gitlab CICD",
5
5
  "backstage": {
6
6
  "role": "frontend-plugin-module",
@@ -8,9 +8,7 @@
8
8
  "pluginPackage": "@backstage-community/plugin-cicd-statistics"
9
9
  },
10
10
  "publishConfig": {
11
- "access": "public",
12
- "main": "dist/index.esm.js",
13
- "types": "dist/index.d.ts"
11
+ "access": "public"
14
12
  },
15
13
  "keywords": [
16
14
  "backstage",
@@ -23,12 +21,27 @@
23
21
  "url": "https://github.com/backstage/community-plugins",
24
22
  "directory": "workspaces/cicd-statistics/plugins/cicd-statistics-module-gitlab"
25
23
  },
24
+ "exports": {
25
+ ".": {
26
+ "import": "./dist/index.esm.js",
27
+ "types": "./dist/index.d.ts",
28
+ "default": "./dist/index.esm.js"
29
+ },
30
+ "./alpha": {
31
+ "backstage": "@backstage/FrontendModule",
32
+ "import": "./dist/alpha.esm.js",
33
+ "types": "./dist/alpha.d.ts",
34
+ "default": "./dist/alpha.esm.js"
35
+ },
36
+ "./package.json": "./package.json"
37
+ },
26
38
  "license": "Apache-2.0",
27
39
  "sideEffects": false,
28
- "main": "dist/index.esm.js",
29
- "types": "dist/index.d.ts",
40
+ "main": "./dist/index.esm.js",
41
+ "types": "./dist/index.d.ts",
30
42
  "files": [
31
- "dist"
43
+ "dist",
44
+ "alpha"
32
45
  ],
33
46
  "scripts": {
34
47
  "build": "backstage-cli package build",
@@ -39,16 +52,17 @@
39
52
  "test": "backstage-cli package test"
40
53
  },
41
54
  "dependencies": {
42
- "@backstage-community/plugin-cicd-statistics": "^0.1.39",
43
- "@backstage/catalog-model": "^1.6.0",
44
- "@backstage/core-plugin-api": "^1.9.3",
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",
45
59
  "@gitbeaker/browser": "^35.6.0",
46
60
  "@gitbeaker/core": "^35.6.0",
47
61
  "luxon": "^3.0.0",
48
62
  "p-limit": "^3.1.0"
49
63
  },
50
64
  "devDependencies": {
51
- "@backstage/cli": "^0.27.0",
65
+ "@backstage/cli": "^0.28.0",
52
66
  "@types/react": "^16.13.1 || ^17.0.0",
53
67
  "@types/react-dom": "^18.2.19",
54
68
  "react": "^16.13.1 || ^17.0.0 || ^18.0.0",