@backstage/backend-plugin-api 1.9.2 → 1.9.3-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 +8 -0
- package/config.schema.json +15 -0
- package/package.json +12 -12
- package/config.d.ts +0 -35
package/CHANGELOG.md
CHANGED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"backend": {
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"workingDirectory": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "An absolute path to a directory that can be used as a working dir, for example as scratch space for large operations."
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/backend-plugin-api",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.3-next.0",
|
|
4
4
|
"description": "Core API used by Backstage backend plugins",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "node-library"
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
},
|
|
54
54
|
"files": [
|
|
55
55
|
"dist",
|
|
56
|
-
"config.
|
|
56
|
+
"config.schema.json"
|
|
57
57
|
],
|
|
58
58
|
"scripts": {
|
|
59
59
|
"build": "backstage-cli package build",
|
|
@@ -65,13 +65,13 @@
|
|
|
65
65
|
"test": "backstage-cli package test"
|
|
66
66
|
},
|
|
67
67
|
"dependencies": {
|
|
68
|
-
"@backstage/cli-common": "
|
|
69
|
-
"@backstage/config": "
|
|
70
|
-
"@backstage/errors": "
|
|
71
|
-
"@backstage/plugin-auth-node": "
|
|
72
|
-
"@backstage/plugin-permission-common": "
|
|
73
|
-
"@backstage/plugin-permission-node": "
|
|
74
|
-
"@backstage/types": "
|
|
68
|
+
"@backstage/cli-common": "0.2.2",
|
|
69
|
+
"@backstage/config": "1.3.8",
|
|
70
|
+
"@backstage/errors": "1.3.1",
|
|
71
|
+
"@backstage/plugin-auth-node": "0.7.3-next.0",
|
|
72
|
+
"@backstage/plugin-permission-common": "0.9.9",
|
|
73
|
+
"@backstage/plugin-permission-node": "0.11.2-next.0",
|
|
74
|
+
"@backstage/types": "1.2.2",
|
|
75
75
|
"@types/express": "^4.17.6",
|
|
76
76
|
"@types/json-schema": "^7.0.6",
|
|
77
77
|
"@types/luxon": "^3.0.0",
|
|
@@ -80,8 +80,8 @@
|
|
|
80
80
|
"zod": "^3.25.76 || ^4.0.0"
|
|
81
81
|
},
|
|
82
82
|
"devDependencies": {
|
|
83
|
-
"@backstage/backend-test-utils": "
|
|
84
|
-
"@backstage/cli": "
|
|
83
|
+
"@backstage/backend-test-utils": "1.11.5-next.0",
|
|
84
|
+
"@backstage/cli": "0.36.4-next.0"
|
|
85
85
|
},
|
|
86
|
-
"configSchema": "config.
|
|
86
|
+
"configSchema": "config.schema.json"
|
|
87
87
|
}
|
package/config.d.ts
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright 2024 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
|
-
|
|
17
|
-
export interface Config {
|
|
18
|
-
backend?: {
|
|
19
|
-
/**
|
|
20
|
-
* An absolute path to a directory that can be used as a working dir, for
|
|
21
|
-
* example as scratch space for large operations.
|
|
22
|
-
*
|
|
23
|
-
* @remarks
|
|
24
|
-
*
|
|
25
|
-
* Note that this must be an absolute path.
|
|
26
|
-
*
|
|
27
|
-
* If not set, the operating system's designated temporary directory is
|
|
28
|
-
* commonly used, but that is implementation defined per plugin.
|
|
29
|
-
*
|
|
30
|
-
* Plugins are encouraged to heed this config setting if present, to allow
|
|
31
|
-
* deployment in severely locked-down or limited environments.
|
|
32
|
-
*/
|
|
33
|
-
workingDirectory?: string;
|
|
34
|
-
};
|
|
35
|
-
}
|