@adobe/helix-config 3.0.0 → 3.1.1
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/package.json +1 -1
- package/src/schemas/cdn.schema.json +0 -15
- package/src/schemas/metadata-source.schema.json +3 -3
- package/src/schemas/sidekick.schema.json +3 -1
- package/src/schemas/site.schema.json +8 -4
- package/src/storage/config-validator.js +1 -1
- package/src/storage/index.js +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [3.1.1](https://github.com/adobe/helix-config/compare/v3.1.0...v3.1.1) (2024-05-17)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* correct json schema ([#88](https://github.com/adobe/helix-config/issues/88)) ([96c60e1](https://github.com/adobe/helix-config/commit/96c60e1dc009dbaad6318a083a6914c7b0f62cc7))
|
|
7
|
+
|
|
8
|
+
# [3.1.0](https://github.com/adobe/helix-config/compare/v3.0.0...v3.1.0) (2024-05-16)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* export config storage schemas ([#87](https://github.com/adobe/helix-config/issues/87)) ([951230a](https://github.com/adobe/helix-config/commit/951230a78d5a6e07bf20963f3887e24dfe2c950d))
|
|
14
|
+
|
|
1
15
|
# [3.0.0](https://github.com/adobe/helix-config/compare/v2.18.2...v3.0.0) (2024-05-16)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
|
@@ -12,21 +12,6 @@
|
|
|
12
12
|
],
|
|
13
13
|
"$id": "https://ns.adobe.com/helix/config/cdn",
|
|
14
14
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
15
|
-
"$defs": {
|
|
16
|
-
"stringOrArray": {
|
|
17
|
-
"oneOf": [
|
|
18
|
-
{
|
|
19
|
-
"type": "string"
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
"type": "array",
|
|
23
|
-
"items": {
|
|
24
|
-
"type": "string"
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
]
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
15
|
"title": "CDN Config",
|
|
31
16
|
"type": "object",
|
|
32
17
|
"properties": {
|
|
@@ -59,10 +59,14 @@
|
|
|
59
59
|
"$ref": "https://ns.adobe.com/helix/config/public"
|
|
60
60
|
},
|
|
61
61
|
"extends": {
|
|
62
|
-
"
|
|
63
|
-
|
|
64
|
-
"
|
|
65
|
-
|
|
62
|
+
"type": "object",
|
|
63
|
+
"properties": {
|
|
64
|
+
"profile": {
|
|
65
|
+
"type": "string",
|
|
66
|
+
"pattern": "^[0-9a-zA-Z-_]+$"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"additionalProperties": false
|
|
66
70
|
}
|
|
67
71
|
},
|
|
68
72
|
"required": [
|
|
@@ -33,7 +33,7 @@ import sidekickSchema from '../schemas/sidekick.schema.cjs';
|
|
|
33
33
|
import siteSchema from '../schemas/site.schema.cjs';
|
|
34
34
|
import tokensSchema from '../schemas/tokens.schema.cjs';
|
|
35
35
|
|
|
36
|
-
const SCHEMAS = [
|
|
36
|
+
export const SCHEMAS = [
|
|
37
37
|
accessSchema,
|
|
38
38
|
accessAdminSchema,
|
|
39
39
|
accessSiteSchema,
|