@backstage-community/plugin-azure-devops 0.4.10 → 0.5.1

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,19 @@
1
1
  # @backstage-community/plugin-azure-devops
2
2
 
3
+ ## 0.5.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 2dd98b6: Backstage version bump to v1.31.1
8
+ - Updated dependencies [2dd98b6]
9
+ - @backstage-community/plugin-azure-devops-common@0.4.8
10
+
11
+ ## 0.5.0
12
+
13
+ ### Minor Changes
14
+
15
+ - c6f00d3: **BREAKING** This change removes the deprecated `AzureDevOpsAnnotatorProcessor` from `@backstage-community/plugin-azure-devops-backend`. It also removes the export of `AzureDevOpsAnnotatorProcessor` from `@backstage-community/plugin-catalog-backend-module-azure-devops-annotator-processor`. Please install this processor using [the New Backend System setup](https://github.com/backstage/community-plugins/tree/main/workspaces/azure-devops/plugins/catalog-backend-module-azure-devops-annotator-processor#setup), which is now the default.
16
+
3
17
  ## 0.4.10
4
18
 
5
19
  ### Patch Changes
package/README.md CHANGED
@@ -142,7 +142,7 @@ And if the entity was from `yet-another-org` it would look like this:
142
142
  dev.azure.com/host-org: server.company.com/yet-another-org
143
143
  ```
144
144
 
145
- **Note:** To save you time, effort, and confusion setting up these annotations manually you can use the `AzureDevOpsAnnotatorProcessor` processor which will add the `dev.azure.com/host-org` and `dev.azure.com/project-repo` annotations for you with the correct values. The Azure DevOps backend plugin has details on how to [add this processor](https://github.com/backstage/backstage/tree/master/plugins/azure-devops-backend#processor).
145
+ **Note:** To save you time, effort, and confusion setting up these annotations manually you can use the `AzureDevOpsAnnotatorProcessor` processor which will add the `dev.azure.com/host-org` and `dev.azure.com/project-repo` annotations for you with the correct values. The Azure DevOps Annotator Processor backend module for the Catalog plugin has details on how to [add this processor](https://github.com/backstage/community-plugins/tree/main/workspaces/azure-devops/plugins/catalog-backend-module-azure-devops-annotator-processor).
146
146
 
147
147
  ### Azure Pipelines Component
148
148
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage-community/plugin-azure-devops__alpha",
3
- "version": "0.4.10",
3
+ "version": "0.5.1",
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,92 +4,116 @@ import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
4
4
  import React__default from 'react';
5
5
 
6
6
  /** @alpha */
7
- declare const _default: _backstage_frontend_plugin_api.BackstagePlugin<{}, {}, {
8
- "api:azure-devops": _backstage_frontend_plugin_api.ExtensionDefinition<{}, {}, _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_core_plugin_api.AnyApiFactory, "core.api.factory", {}>, {}, {
7
+ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{}, {}, {
8
+ "api:azure-devops": _backstage_frontend_plugin_api.ExtensionDefinition<{
9
9
  kind: "api";
10
10
  namespace: undefined;
11
11
  name: undefined;
12
+ config: {};
13
+ configInput: {};
14
+ output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_core_plugin_api.AnyApiFactory, "core.api.factory", {}>;
15
+ inputs: {};
12
16
  }>;
13
17
  "page:azure-devops": _backstage_frontend_plugin_api.ExtensionDefinition<{
14
- path: string | undefined;
15
- }, {
16
- path?: string | undefined;
17
- }, _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<React__default.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
18
- optional: true;
19
- }>, {}, {
20
18
  kind: "page";
21
19
  namespace: undefined;
22
20
  name: undefined;
21
+ config: {
22
+ path: string | undefined;
23
+ };
24
+ configInput: {
25
+ path?: string | undefined;
26
+ };
27
+ output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<React__default.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
28
+ optional: true;
29
+ }>;
30
+ inputs: {};
23
31
  }>;
24
32
  "entity-content:azure-devops/pipelines": _backstage_frontend_plugin_api.ExtensionDefinition<{
25
- path: string | undefined;
26
- title: string | undefined;
27
- filter: string | undefined;
28
- }, {
29
- filter?: string | undefined;
30
- title?: string | undefined;
31
- path?: string | undefined;
32
- }, _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<React__default.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
33
- optional: true;
34
- }> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "catalog.entity-content-title", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<(entity: _backstage_catalog_model.Entity) => boolean, "catalog.entity-filter-function", {
35
- optional: true;
36
- }> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "catalog.entity-filter-expression", {
37
- optional: true;
38
- }>, {}, {
39
33
  kind: "entity-content";
40
34
  namespace: undefined;
41
35
  name: "pipelines";
36
+ config: {
37
+ path: string | undefined;
38
+ title: string | undefined;
39
+ filter: string | undefined;
40
+ };
41
+ configInput: {
42
+ filter?: string | undefined;
43
+ title?: string | undefined;
44
+ path?: string | undefined;
45
+ };
46
+ output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<React__default.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
47
+ optional: true;
48
+ }> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "catalog.entity-content-title", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<(entity: _backstage_catalog_model.Entity) => boolean, "catalog.entity-filter-function", {
49
+ optional: true;
50
+ }> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "catalog.entity-filter-expression", {
51
+ optional: true;
52
+ }>;
53
+ inputs: {};
42
54
  }>;
43
55
  "entity-content:azure-devops/git-tags": _backstage_frontend_plugin_api.ExtensionDefinition<{
44
- path: string | undefined;
45
- title: string | undefined;
46
- filter: string | undefined;
47
- }, {
48
- filter?: string | undefined;
49
- title?: string | undefined;
50
- path?: string | undefined;
51
- }, _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<React__default.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
52
- optional: true;
53
- }> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "catalog.entity-content-title", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<(entity: _backstage_catalog_model.Entity) => boolean, "catalog.entity-filter-function", {
54
- optional: true;
55
- }> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "catalog.entity-filter-expression", {
56
- optional: true;
57
- }>, {}, {
58
56
  kind: "entity-content";
59
57
  namespace: undefined;
60
58
  name: "git-tags";
59
+ config: {
60
+ path: string | undefined;
61
+ title: string | undefined;
62
+ filter: string | undefined;
63
+ };
64
+ configInput: {
65
+ filter?: string | undefined;
66
+ title?: string | undefined;
67
+ path?: string | undefined;
68
+ };
69
+ output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<React__default.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
70
+ optional: true;
71
+ }> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "catalog.entity-content-title", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<(entity: _backstage_catalog_model.Entity) => boolean, "catalog.entity-filter-function", {
72
+ optional: true;
73
+ }> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "catalog.entity-filter-expression", {
74
+ optional: true;
75
+ }>;
76
+ inputs: {};
61
77
  }>;
62
78
  "entity-content:azure-devops/pull-requests": _backstage_frontend_plugin_api.ExtensionDefinition<{
63
- path: string | undefined;
64
- title: string | undefined;
65
- filter: string | undefined;
66
- }, {
67
- filter?: string | undefined;
68
- title?: string | undefined;
69
- path?: string | undefined;
70
- }, _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<React__default.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
71
- optional: true;
72
- }> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "catalog.entity-content-title", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<(entity: _backstage_catalog_model.Entity) => boolean, "catalog.entity-filter-function", {
73
- optional: true;
74
- }> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "catalog.entity-filter-expression", {
75
- optional: true;
76
- }>, {}, {
77
79
  kind: "entity-content";
78
80
  namespace: undefined;
79
81
  name: "pull-requests";
82
+ config: {
83
+ path: string | undefined;
84
+ title: string | undefined;
85
+ filter: string | undefined;
86
+ };
87
+ configInput: {
88
+ filter?: string | undefined;
89
+ title?: string | undefined;
90
+ path?: string | undefined;
91
+ };
92
+ output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<React__default.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
93
+ optional: true;
94
+ }> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "catalog.entity-content-title", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<(entity: _backstage_catalog_model.Entity) => boolean, "catalog.entity-filter-function", {
95
+ optional: true;
96
+ }> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "catalog.entity-filter-expression", {
97
+ optional: true;
98
+ }>;
99
+ inputs: {};
80
100
  }>;
81
101
  "entity-card:azure-devops/readme": _backstage_frontend_plugin_api.ExtensionDefinition<{
82
- filter: string | undefined;
83
- }, {
84
- filter?: string | undefined;
85
- }, _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<React__default.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<(entity: _backstage_catalog_model.Entity) => boolean, "catalog.entity-filter-function", {
86
- optional: true;
87
- }> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "catalog.entity-filter-expression", {
88
- optional: true;
89
- }>, {}, {
90
102
  kind: "entity-card";
91
103
  namespace: undefined;
92
104
  name: "readme";
105
+ config: {
106
+ filter: string | undefined;
107
+ };
108
+ configInput: {
109
+ filter?: string | undefined;
110
+ };
111
+ output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<React__default.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<(entity: _backstage_catalog_model.Entity) => boolean, "catalog.entity-filter-function", {
112
+ optional: true;
113
+ }> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "catalog.entity-filter-expression", {
114
+ optional: true;
115
+ }>;
116
+ inputs: {};
93
117
  }>;
94
118
  }>;
95
119
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage-community/plugin-azure-devops",
3
- "version": "0.4.10",
3
+ "version": "0.5.1",
4
4
  "backstage": {
5
5
  "role": "frontend-plugin",
6
6
  "pluginId": "azure-devops",
@@ -50,15 +50,15 @@
50
50
  "test": "backstage-cli package test"
51
51
  },
52
52
  "dependencies": {
53
- "@backstage-community/plugin-azure-devops-common": "^0.4.7",
54
- "@backstage/catalog-model": "^1.6.0",
55
- "@backstage/core-compat-api": "^0.2.8",
56
- "@backstage/core-components": "^0.14.10",
57
- "@backstage/core-plugin-api": "^1.9.3",
53
+ "@backstage-community/plugin-azure-devops-common": "^0.4.8",
54
+ "@backstage/catalog-model": "^1.7.0",
55
+ "@backstage/core-compat-api": "^0.3.0",
56
+ "@backstage/core-components": "^0.15.0",
57
+ "@backstage/core-plugin-api": "^1.9.4",
58
58
  "@backstage/errors": "^1.2.4",
59
- "@backstage/frontend-plugin-api": "^0.7.0",
60
- "@backstage/plugin-catalog-react": "^1.12.3",
61
- "@backstage/plugin-permission-react": "^0.4.25",
59
+ "@backstage/frontend-plugin-api": "^0.8.0",
60
+ "@backstage/plugin-catalog-react": "^1.13.0",
61
+ "@backstage/plugin-permission-react": "^0.4.26",
62
62
  "@material-ui/core": "^4.12.2",
63
63
  "@material-ui/icons": "^4.9.1",
64
64
  "@types/react": "^16.13.1 || ^17.0.0 || ^18.0.0",
@@ -67,9 +67,9 @@
67
67
  "react-use": "^17.2.4"
68
68
  },
69
69
  "devDependencies": {
70
- "@backstage/cli": "^0.27.0",
71
- "@backstage/dev-utils": "^1.0.37",
72
- "@backstage/test-utils": "^1.5.10",
70
+ "@backstage/cli": "^0.27.1",
71
+ "@backstage/dev-utils": "^1.1.0",
72
+ "@backstage/test-utils": "^1.6.0",
73
73
  "@testing-library/dom": "^10.0.0",
74
74
  "@testing-library/jest-dom": "^6.0.0",
75
75
  "@testing-library/react": "^15.0.0",