@adobe/helix-shared-config 10.1.1 → 10.2.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
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [@adobe/helix-shared-config-v10.2.0](https://github.com/adobe/helix-shared/compare/@adobe/helix-shared-config-v10.1.1...@adobe/helix-shared-config-v10.2.0) (2023-05-08)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* support multiple hreflangs in sitemap ([#802](https://github.com/adobe/helix-shared/issues/802)) ([6fcba40](https://github.com/adobe/helix-shared/commit/6fcba40ed281ee57d133e6eceb16be83991be763))
|
|
7
|
+
|
|
1
8
|
# [@adobe/helix-shared-config-v10.1.1](https://github.com/adobe/helix-shared/compare/@adobe/helix-shared-config-v10.1.0...@adobe/helix-shared-config-v10.1.1) (2023-05-04)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
|
@@ -12,6 +12,14 @@
|
|
|
12
12
|
],
|
|
13
13
|
"$id": "https://ns.adobe.com/helix/shared/sitemap-language",
|
|
14
14
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
15
|
+
"$defs": {
|
|
16
|
+
"hreflang": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"title": "HREF Language",
|
|
19
|
+
"description": "The HREF language to use when listing alternates according to [RFC 5988](https://datatracker.ietf.org/doc/html/rfc5988).",
|
|
20
|
+
"pattern": "^((?:(en-GB-oed|i-ami|i-bnn|i-default|i-enochian|i-hak|i-klingon|i-lux|i-mingo|i-navajo|i-pwn|i-tao|i-tay|i-tsu|sgn-BE-FR|sgn-BE-NL|sgn-CH-DE)|(art-lojban|cel-gaulish|no-bok|no-nyn|zh-guoyu|zh-hakka|zh-min|zh-min-nan|zh-xiang))|((?:([A-Za-z]{2,3}(-(?:[A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-(?:[A-Za-z]{4}))?(-(?:[A-Za-z]{2}|[0-9]{3}))?(-(?:[A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-(?:[0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(?:x(-[A-Za-z0-9]{1,8})+))?)|(?:x(-[A-Za-z0-9]{1,8})+))$"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
15
23
|
"type": "object",
|
|
16
24
|
"title": "Sitemap Language",
|
|
17
25
|
"properties": {
|
|
@@ -26,10 +34,17 @@
|
|
|
26
34
|
"description": "The destination resource path to store sitemap to."
|
|
27
35
|
},
|
|
28
36
|
"hreflang": {
|
|
29
|
-
"
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
37
|
+
"anyOf": [
|
|
38
|
+
{
|
|
39
|
+
"$ref": "#/$defs/hreflang"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"type": "array",
|
|
43
|
+
"items": {
|
|
44
|
+
"$ref": "#/$defs/hreflang"
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
]
|
|
33
48
|
},
|
|
34
49
|
"alternate": {
|
|
35
50
|
"type": "string",
|