@backstage/integration 1.2.1-next.1 → 1.2.2-next.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 +20 -0
- package/config.d.ts +4 -1
- package/dist/index.cjs.js +4 -0
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +4 -0
- package/dist/index.esm.js.map +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @backstage/integration
|
|
2
2
|
|
|
3
|
+
## 1.2.2-next.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 8829e175f2: Allow frontend visibility for `integrations` itself.
|
|
8
|
+
|
|
9
|
+
## 1.2.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 72dfcbc8bf: Gerrit Integration: Handle absolute paths in `resolveUrl` properly.
|
|
14
|
+
- 8f7b1835df: Updated dependency `msw` to `^0.41.0`.
|
|
15
|
+
- e37c71b5a4: Updated to support deployments of Azure DevOps Server under TFS or similar sub path
|
|
16
|
+
|
|
17
|
+
## 1.2.1-next.2
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- e37c71b5a4: Updated to support deployments of Azure DevOps Server under TFS or similar sub path
|
|
22
|
+
|
|
3
23
|
## 1.2.1-next.1
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
package/config.d.ts
CHANGED
|
@@ -15,7 +15,10 @@
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
export interface Config {
|
|
18
|
-
/**
|
|
18
|
+
/**
|
|
19
|
+
* Configuration for integrations towards various external repository provider systems
|
|
20
|
+
* @visibility frontend
|
|
21
|
+
*/
|
|
19
22
|
integrations?: {
|
|
20
23
|
/** Integration configuration for Azure */
|
|
21
24
|
azure?: Array<{
|
package/dist/index.cjs.js
CHANGED
|
@@ -196,6 +196,10 @@ const _AzureUrl = class {
|
|
|
196
196
|
owner = parts[1];
|
|
197
197
|
project = parts[2];
|
|
198
198
|
repo = parts[4];
|
|
199
|
+
} else if (parts[4] === "_git") {
|
|
200
|
+
owner = `${parts[1]}/${parts[2]}`;
|
|
201
|
+
project = parts[3];
|
|
202
|
+
repo = parts[5];
|
|
199
203
|
}
|
|
200
204
|
if (!owner || !project || !repo) {
|
|
201
205
|
throw new Error("Azure URL must point to a git repository");
|