@backstage-community/plugin-blackduck-backend 0.0.4 → 0.0.6
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 +14 -0
- package/config.d.ts +29 -0
- package/dist/index.d.ts +1 -1
- package/package.json +14 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @backstage-community/plugin-blackduck-backend
|
|
2
2
|
|
|
3
|
+
## 0.0.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- d86bc62: Backstage version bump to v1.31.1
|
|
8
|
+
- Updated dependencies [d86bc62]
|
|
9
|
+
- @backstage-community/plugin-blackduck-common@0.0.3
|
|
10
|
+
|
|
11
|
+
## 0.0.5
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- e8617d5: Fixed missing configSchema in blackduck-backend Plugin.
|
|
16
|
+
|
|
3
17
|
## 0.0.4
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/config.d.ts
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export interface Config {
|
|
2
|
+
blackduck?: {
|
|
3
|
+
/**
|
|
4
|
+
* The default host name.
|
|
5
|
+
* @visibility frontend
|
|
6
|
+
*/
|
|
7
|
+
default: string;
|
|
8
|
+
/**
|
|
9
|
+
* An array of Black Duck hosts.
|
|
10
|
+
*/
|
|
11
|
+
hosts: Array<{
|
|
12
|
+
/**
|
|
13
|
+
* Host name identifier.
|
|
14
|
+
* @visibility frontend
|
|
15
|
+
*/
|
|
16
|
+
name: string;
|
|
17
|
+
/**
|
|
18
|
+
* The host URL for the Black Duck instance.
|
|
19
|
+
* @visibility frontend
|
|
20
|
+
*/
|
|
21
|
+
host: string;
|
|
22
|
+
/**
|
|
23
|
+
* API token for authentication.
|
|
24
|
+
* @visibility secret
|
|
25
|
+
*/
|
|
26
|
+
token: string;
|
|
27
|
+
}>;
|
|
28
|
+
};
|
|
29
|
+
}
|
package/dist/index.d.ts
CHANGED
|
@@ -41,6 +41,6 @@ declare function createRouter(options: RouterOptions): Promise<express.Router>;
|
|
|
41
41
|
*
|
|
42
42
|
* @public
|
|
43
43
|
*/
|
|
44
|
-
declare const blackduckPlugin: _backstage_backend_plugin_api.
|
|
44
|
+
declare const blackduckPlugin: _backstage_backend_plugin_api.BackendFeature;
|
|
45
45
|
|
|
46
46
|
export { BlackDuckConfig, type BlackDuckHostConfig, type RouterOptions, createRouter, blackduckPlugin as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage-community/plugin-blackduck-backend",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"main": "dist/index.cjs.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -33,29 +33,31 @@
|
|
|
33
33
|
"postpack": "backstage-cli package postpack"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@backstage-community/plugin-blackduck-common": "^0.0.
|
|
37
|
-
"@backstage/backend-common": "^0.
|
|
38
|
-
"@backstage/backend-defaults": "^0.
|
|
39
|
-
"@backstage/backend-plugin-api": "^0.
|
|
36
|
+
"@backstage-community/plugin-blackduck-common": "^0.0.3",
|
|
37
|
+
"@backstage/backend-common": "^0.25.0",
|
|
38
|
+
"@backstage/backend-defaults": "^0.5.0",
|
|
39
|
+
"@backstage/backend-plugin-api": "^1.0.0",
|
|
40
40
|
"@backstage/config": "^1.2.0",
|
|
41
41
|
"@backstage/errors": "^1.2.4",
|
|
42
42
|
"@backstage/plugin-permission-common": "^0.8.1",
|
|
43
|
-
"@backstage/plugin-permission-node": "^0.8.
|
|
43
|
+
"@backstage/plugin-permission-node": "^0.8.3",
|
|
44
44
|
"express": "^4.17.1",
|
|
45
45
|
"express-promise-router": "^4.1.0",
|
|
46
46
|
"node-fetch": "^2.6.7"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@backstage/backend-test-utils": "^0.
|
|
50
|
-
"@backstage/cli": "^0.27.
|
|
51
|
-
"@backstage/plugin-auth-backend": "^0.
|
|
52
|
-
"@backstage/plugin-auth-backend-module-guest-provider": "^0.
|
|
49
|
+
"@backstage/backend-test-utils": "^1.0.0",
|
|
50
|
+
"@backstage/cli": "^0.27.1",
|
|
51
|
+
"@backstage/plugin-auth-backend": "^0.23.0",
|
|
52
|
+
"@backstage/plugin-auth-backend-module-guest-provider": "^0.2.0",
|
|
53
53
|
"@types/express": "*",
|
|
54
54
|
"@types/supertest": "^6.0.0",
|
|
55
55
|
"msw": "^2.3.1",
|
|
56
56
|
"supertest": "^7.0.0"
|
|
57
57
|
},
|
|
58
58
|
"files": [
|
|
59
|
-
"dist"
|
|
60
|
-
|
|
59
|
+
"dist",
|
|
60
|
+
"config.d.ts"
|
|
61
|
+
],
|
|
62
|
+
"configSchema": "config.d.ts"
|
|
61
63
|
}
|