@backstage/config-loader 1.5.0-next.3 → 1.5.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 +35 -0
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,40 @@
|
|
|
1
1
|
# @backstage/config-loader
|
|
2
2
|
|
|
3
|
+
## 1.5.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 9606ba0939e6: Deep visibility now also applies to values that are not covered by the configuration schema.
|
|
8
|
+
|
|
9
|
+
For example, given the following configuration schema:
|
|
10
|
+
|
|
11
|
+
```ts
|
|
12
|
+
// plugins/a/config.schema.ts
|
|
13
|
+
export interface Config {
|
|
14
|
+
/** @deepVisibility frontend */
|
|
15
|
+
a?: unknown;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
// plugins/a/config.schema.ts
|
|
19
|
+
export interface Config {
|
|
20
|
+
a?: {
|
|
21
|
+
b?: string;
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
All values under `a` are now visible to the frontend, while previously only `a` and `a/b` would've been visible.
|
|
27
|
+
|
|
28
|
+
### Patch Changes
|
|
29
|
+
|
|
30
|
+
- 8cec7664e146: Removed `@types/node` dependency
|
|
31
|
+
- f9657b891b00: Do not unnecessarily notify subscribers when no-op updates to config happen
|
|
32
|
+
- Updated dependencies
|
|
33
|
+
- @backstage/config@1.1.0
|
|
34
|
+
- @backstage/errors@1.2.2
|
|
35
|
+
- @backstage/types@1.1.1
|
|
36
|
+
- @backstage/cli-common@0.1.12
|
|
37
|
+
|
|
3
38
|
## 1.5.0-next.3
|
|
4
39
|
|
|
5
40
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/config-loader",
|
|
3
3
|
"description": "Config loading functionality used by Backstage backend, and CLI",
|
|
4
|
-
"version": "1.5.0
|
|
4
|
+
"version": "1.5.0",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
7
7
|
"main": "dist/index.cjs.js",
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@backstage/cli-common": "^0.1.12",
|
|
37
|
-
"@backstage/config": "^1.1.0
|
|
38
|
-
"@backstage/errors": "^1.2.2
|
|
39
|
-
"@backstage/types": "^1.1.1
|
|
37
|
+
"@backstage/config": "^1.1.0",
|
|
38
|
+
"@backstage/errors": "^1.2.2",
|
|
39
|
+
"@backstage/types": "^1.1.1",
|
|
40
40
|
"@types/json-schema": "^7.0.6",
|
|
41
41
|
"ajv": "^8.10.0",
|
|
42
42
|
"chokidar": "^3.5.2",
|
|
@@ -52,8 +52,8 @@
|
|
|
52
52
|
"yup": "^0.32.9"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@backstage/backend-test-utils": "^0.2.3
|
|
56
|
-
"@backstage/cli": "^0.22.13
|
|
55
|
+
"@backstage/backend-test-utils": "^0.2.3",
|
|
56
|
+
"@backstage/cli": "^0.22.13",
|
|
57
57
|
"@types/json-schema-merge-allof": "^0.6.0",
|
|
58
58
|
"@types/mock-fs": "^4.10.0",
|
|
59
59
|
"@types/yup": "^0.29.13",
|