@adobe/helix-config 2.11.1 → 2.12.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
+ # [2.12.0](https://github.com/adobe/helix-config/compare/v2.11.1...v2.12.0) (2024-05-01)
2
+
3
+
4
+ ### Features
5
+
6
+ * allow all role names ([#68](https://github.com/adobe/helix-config/issues/68)) ([5b8f990](https://github.com/adobe/helix-config/commit/5b8f990d66568bb960c157f5812e19108bb77f84))
7
+
1
8
  ## [2.11.1](https://github.com/adobe/helix-config/compare/v2.11.0...v2.11.1) (2024-04-30)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-config",
3
- "version": "2.11.1",
3
+ "version": "2.12.0",
4
4
  "description": "Helix Config",
5
5
  "main": "src/index.js",
6
6
  "types": "src/index.d.ts",
@@ -19,7 +19,7 @@
19
19
  "title": "Role",
20
20
  "type": "object",
21
21
  "patternProperties": {
22
- "^(?:author|publish|admin)$": {
22
+ "^[a-z-_]+$": {
23
23
  "description": "The email glob of the users with respective role.",
24
24
  "type": "array",
25
25
  "items": {"type": "string"}
@@ -218,7 +218,7 @@ export interface Role {
218
218
  * The email glob of the users with respective role.
219
219
  *
220
220
  * This interface was referenced by `Role`'s JSON-Schema definition
221
- * via the `patternProperty` "^(?:author|publish|admin)$".
221
+ * via the `patternProperty` "^[a-z-_]+$".
222
222
  */
223
223
  [k: string]: string[];
224
224
  }
@@ -221,7 +221,7 @@ export interface Role {
221
221
  * The email glob of the users with respective role.
222
222
  *
223
223
  * This interface was referenced by `Role`'s JSON-Schema definition
224
- * via the `patternProperty` "^(?:author|publish|admin)$".
224
+ * via the `patternProperty` "^[a-z-_]+$".
225
225
  */
226
226
  [k: string]: string[];
227
227
  }