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

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.34
4
+
5
+ ### Patch Changes
6
+
7
+ - 52fcd76: Adds support for Backstage's new frontend system, available via the `/alpha` sub-path export.
8
+ - Updated dependencies [52fcd76]
9
+ - @backstage-community/plugin-cicd-statistics@0.1.40
10
+
11
+ ## 0.1.33
12
+
13
+ ### Patch Changes
14
+
15
+ - 8662d09: Backstage version bump to v1.30.2
16
+ - Updated dependencies [8662d09]
17
+ - @backstage-community/plugin-cicd-statistics@0.1.39
18
+
3
19
  ## 0.1.32
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.34",
4
+ "main": "../dist/alpha.esm.js",
5
+ "module": "../dist/alpha.esm.js",
6
+ "types": "../dist/alpha.d.ts"
7
+ }
@@ -0,0 +1,17 @@
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<{}, {}, _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_core_plugin_api.AnyApiFactory, "core.api.factory", {}>, {}, {
8
+ kind: "api";
9
+ namespace: undefined;
10
+ name: "cicd-statistics-gitlab-api";
11
+ }>;
12
+ /**
13
+ * @alpha
14
+ */
15
+ declare const cicdStatisticsExtensionOverrides: _backstage_frontend_plugin_api.ExtensionOverrides;
16
+
17
+ export { cicdStatisticsGitlabExtension, cicdStatisticsExtensionOverrides as default };
@@ -0,0 +1,24 @@
1
+ import { cicdStatisticsApiRef } from '@backstage-community/plugin-cicd-statistics';
2
+ import { ApiBlueprint, createApiFactory, gitlabAuthApiRef, createExtensionOverrides } 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 = createExtensionOverrides({
20
+ extensions: [cicdStatisticsGitlabExtension]
21
+ });
22
+
23
+ export { cicdStatisticsGitlabExtension, cicdStatisticsExtensionOverrides as default };
24
+ //# sourceMappingURL=alpha.esm.js.map
@@ -0,0 +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;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage-community/plugin-cicd-statistics-module-gitlab",
3
- "version": "0.1.32",
3
+ "version": "0.1.34",
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,26 @@
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
+ "import": "./dist/alpha.esm.js",
32
+ "types": "./dist/alpha.d.ts",
33
+ "default": "./dist/alpha.esm.js"
34
+ },
35
+ "./package.json": "./package.json"
36
+ },
26
37
  "license": "Apache-2.0",
27
38
  "sideEffects": false,
28
- "main": "dist/index.esm.js",
29
- "types": "dist/index.d.ts",
39
+ "main": "./dist/index.esm.js",
40
+ "types": "./dist/index.d.ts",
30
41
  "files": [
31
- "dist"
42
+ "dist",
43
+ "alpha"
32
44
  ],
33
45
  "scripts": {
34
46
  "build": "backstage-cli package build",
@@ -39,16 +51,17 @@
39
51
  "test": "backstage-cli package test"
40
52
  },
41
53
  "dependencies": {
42
- "@backstage-community/plugin-cicd-statistics": "^0.1.38",
43
- "@backstage/catalog-model": "^1.5.0",
54
+ "@backstage-community/plugin-cicd-statistics": "^0.1.40",
55
+ "@backstage/catalog-model": "^1.6.0",
44
56
  "@backstage/core-plugin-api": "^1.9.3",
57
+ "@backstage/frontend-plugin-api": "^0.7.0",
45
58
  "@gitbeaker/browser": "^35.6.0",
46
59
  "@gitbeaker/core": "^35.6.0",
47
60
  "luxon": "^3.0.0",
48
61
  "p-limit": "^3.1.0"
49
62
  },
50
63
  "devDependencies": {
51
- "@backstage/cli": "^0.26.11",
64
+ "@backstage/cli": "^0.27.0",
52
65
  "@types/react": "^16.13.1 || ^17.0.0",
53
66
  "@types/react-dom": "^18.2.19",
54
67
  "react": "^16.13.1 || ^17.0.0 || ^18.0.0",