@backstage/plugin-devtools-backend 0.5.18-next.0 → 0.5.19-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 +18 -0
- package/config.schema.json +57 -0
- package/package.json +9 -9
- package/config.d.ts +0 -54
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @backstage/plugin-devtools-backend
|
|
2
2
|
|
|
3
|
+
## 0.5.19-next.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
- @backstage/config-loader@1.11.0-next.0
|
|
9
|
+
- @backstage/plugin-permission-node@0.11.2-next.0
|
|
10
|
+
- @backstage/backend-plugin-api@1.9.3-next.0
|
|
11
|
+
|
|
12
|
+
## 0.5.18
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
- @backstage/backend-plugin-api@1.9.2
|
|
18
|
+
- @backstage/config-loader@1.10.12
|
|
19
|
+
- @backstage/plugin-permission-node@0.11.1
|
|
20
|
+
|
|
3
21
|
## 0.5.18-next.0
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"devTools": {
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"externalDependencies": {
|
|
9
|
+
"type": "object",
|
|
10
|
+
"properties": {
|
|
11
|
+
"endpoints": {
|
|
12
|
+
"type": "array",
|
|
13
|
+
"items": {
|
|
14
|
+
"type": "object",
|
|
15
|
+
"properties": {
|
|
16
|
+
"name": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"description": "The name of the endpoint."
|
|
19
|
+
},
|
|
20
|
+
"type": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"description": "Type of check to perform; currently fetch or ping"
|
|
23
|
+
},
|
|
24
|
+
"target": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"description": "The target of the endpoint; currently either a URL for fetch or server name for ping."
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"required": [
|
|
30
|
+
"name",
|
|
31
|
+
"type",
|
|
32
|
+
"target"
|
|
33
|
+
]
|
|
34
|
+
},
|
|
35
|
+
"description": "The list of endpoints to check."
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"description": "External dependency configuration."
|
|
39
|
+
},
|
|
40
|
+
"info": {
|
|
41
|
+
"type": "object",
|
|
42
|
+
"properties": {
|
|
43
|
+
"packagePrefixes": {
|
|
44
|
+
"type": "array",
|
|
45
|
+
"items": {
|
|
46
|
+
"type": "string"
|
|
47
|
+
},
|
|
48
|
+
"description": "A list of package prefixes that DevTools will use for filtering all available dependencies (default is [\"@backstage\"])"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"description": "Info configuration"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"description": "DevTools configuration."
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-devtools-backend",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.19-next.0",
|
|
4
4
|
"backstage": {
|
|
5
5
|
"role": "backend-plugin",
|
|
6
6
|
"pluginId": "devtools",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"types": "dist/index.d.ts",
|
|
31
31
|
"files": [
|
|
32
32
|
"dist",
|
|
33
|
-
"config.
|
|
33
|
+
"config.schema.json"
|
|
34
34
|
],
|
|
35
35
|
"scripts": {
|
|
36
36
|
"build": "backstage-cli package build",
|
|
@@ -42,14 +42,14 @@
|
|
|
42
42
|
"test": "backstage-cli package test"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@backstage/backend-plugin-api": "1.9.
|
|
45
|
+
"@backstage/backend-plugin-api": "1.9.3-next.0",
|
|
46
46
|
"@backstage/cli-common": "0.2.2",
|
|
47
47
|
"@backstage/config": "1.3.8",
|
|
48
|
-
"@backstage/config-loader": "1.
|
|
48
|
+
"@backstage/config-loader": "1.11.0-next.0",
|
|
49
49
|
"@backstage/errors": "1.3.1",
|
|
50
50
|
"@backstage/plugin-devtools-common": "0.1.25",
|
|
51
51
|
"@backstage/plugin-permission-common": "0.9.9",
|
|
52
|
-
"@backstage/plugin-permission-node": "0.11.
|
|
52
|
+
"@backstage/plugin-permission-node": "0.11.2-next.0",
|
|
53
53
|
"@backstage/types": "1.2.2",
|
|
54
54
|
"@manypkg/get-packages": "^1.1.3",
|
|
55
55
|
"@yarnpkg/lockfile": "^1.1.0",
|
|
@@ -61,16 +61,16 @@
|
|
|
61
61
|
"ping": "^0.4.1"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@backstage/backend-defaults": "0.17.
|
|
65
|
-
"@backstage/backend-test-utils": "1.11.
|
|
66
|
-
"@backstage/cli": "0.36.
|
|
64
|
+
"@backstage/backend-defaults": "0.17.4-next.0",
|
|
65
|
+
"@backstage/backend-test-utils": "1.11.5-next.0",
|
|
66
|
+
"@backstage/cli": "0.36.4-next.0",
|
|
67
67
|
"@types/express": "^4.17.6",
|
|
68
68
|
"@types/ping": "^0.4.1",
|
|
69
69
|
"@types/supertest": "^2.0.8",
|
|
70
70
|
"@types/yarnpkg__lockfile": "^1.1.4",
|
|
71
71
|
"supertest": "^7.0.0"
|
|
72
72
|
},
|
|
73
|
-
"configSchema": "config.
|
|
73
|
+
"configSchema": "config.schema.json",
|
|
74
74
|
"typesVersions": {
|
|
75
75
|
"*": {
|
|
76
76
|
"package.json": [
|
package/config.d.ts
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright 2022 The Backstage Authors
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
export interface Config {
|
|
17
|
-
/**
|
|
18
|
-
* DevTools configuration.
|
|
19
|
-
*/
|
|
20
|
-
devTools?: {
|
|
21
|
-
/**
|
|
22
|
-
* External dependency configuration.
|
|
23
|
-
*/
|
|
24
|
-
externalDependencies?: {
|
|
25
|
-
/**
|
|
26
|
-
* The list of endpoints to check.
|
|
27
|
-
*/
|
|
28
|
-
endpoints?: Array<{
|
|
29
|
-
/**
|
|
30
|
-
* The name of the endpoint.
|
|
31
|
-
*/
|
|
32
|
-
name: string;
|
|
33
|
-
/**
|
|
34
|
-
* Type of check to perform; currently fetch or ping
|
|
35
|
-
*/
|
|
36
|
-
type: string;
|
|
37
|
-
/**
|
|
38
|
-
* The target of the endpoint; currently either a URL for fetch or server name for ping.
|
|
39
|
-
*/
|
|
40
|
-
target: string;
|
|
41
|
-
}>;
|
|
42
|
-
};
|
|
43
|
-
/**
|
|
44
|
-
* Info configuration
|
|
45
|
-
*/
|
|
46
|
-
info?: {
|
|
47
|
-
/**
|
|
48
|
-
* A list of package prefixes that DevTools will use for filtering all available dependencies
|
|
49
|
-
* (default is ["@backstage"])
|
|
50
|
-
*/
|
|
51
|
-
packagePrefixes?: string[];
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
|
-
}
|