@adobe/helix-config-storage 1.8.6 → 1.9.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 CHANGED
@@ -1,3 +1,17 @@
1
+ ## [1.9.1](https://github.com/adobe/helix-config-storage/compare/v1.9.0...v1.9.1) (2024-10-26)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** update external fixes ([169c4ad](https://github.com/adobe/helix-config-storage/commit/169c4ade27113c8478ec7be3d29ec858e3e3e82c))
7
+
8
+ # [1.9.0](https://github.com/adobe/helix-config-storage/compare/v1.8.6...v1.9.0) (2024-10-23)
9
+
10
+
11
+ ### Features
12
+
13
+ * add github events to config ([#53](https://github.com/adobe/helix-config-storage/issues/53)) ([7add957](https://github.com/adobe/helix-config-storage/commit/7add957b78abf64f63af73568715c02086f15207))
14
+
1
15
  ## [1.8.6](https://github.com/adobe/helix-config-storage/compare/v1.8.5...v1.8.6) (2024-10-21)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-config-storage",
3
- "version": "1.8.6",
3
+ "version": "1.9.1",
4
4
  "description": "Helix Config Storage",
5
5
  "main": "src/index.js",
6
6
  "types": "src/index.d.ts",
@@ -51,7 +51,7 @@
51
51
  "mocha-multi-reporters": "1.5.1",
52
52
  "mocha-suppress-logs": "0.5.1",
53
53
  "nock": "13.5.5",
54
- "semantic-release": "24.1.3",
54
+ "semantic-release": "24.2.0",
55
55
  "xml2js": "0.6.2"
56
56
  },
57
57
  "lint-staged": {
@@ -66,6 +66,6 @@
66
66
  "@adobe/helix-shared-utils": "3.0.2",
67
67
  "ajv": "8.17.1",
68
68
  "ajv-formats": "3.0.1",
69
- "jose": "5.9.4"
69
+ "jose": "5.9.6"
70
70
  }
71
71
  }
@@ -72,6 +72,9 @@ const FRAGMENTS_COMMON = {
72
72
  },
73
73
  public: '*',
74
74
  robots: 'object',
75
+ events: {
76
+ github: 'object',
77
+ },
75
78
  };
76
79
 
77
80
  const FRAGMENTS = {
@@ -25,6 +25,7 @@ import cdnProdCloudfrontSchema from './schemas/cdn-prod-cloudfront.schema.cjs';
25
25
  import commonSchema from './schemas/common.schema.cjs';
26
26
  import codeSchema from './schemas/code.schema.cjs';
27
27
  import contentSchema from './schemas/content.schema.cjs';
28
+ import eventsSchema from './schemas/events.schema.cjs';
28
29
  import foldersSchema from './schemas/folders.schema.cjs';
29
30
  import groupsSchema from './schemas/groups.schema.cjs';
30
31
  import googleSchema from './schemas/content-source-google.schema.cjs';
@@ -53,6 +54,7 @@ export const SCHEMAS = [
53
54
  commonSchema,
54
55
  contentSchema,
55
56
  codeSchema,
57
+ eventsSchema,
56
58
  foldersSchema,
57
59
  googleSchema,
58
60
  groupsSchema,
@@ -0,0 +1,12 @@
1
+ /*
2
+ * Copyright 2024 Adobe. All rights reserved.
3
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
+ * you may not use this file except in compliance with the License. You may obtain a copy
5
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
6
+ *
7
+ * Unless required by applicable law or agreed to in writing, software distributed under
8
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9
+ * OF ANY KIND, either express or implied. See the License for the specific language
10
+ * governing permissions and limitations under the License.
11
+ */
12
+ module.exports = require('./events.schema.json');
@@ -0,0 +1,26 @@
1
+ {
2
+ "$comment": "https://github.com/adobe/helix-config/blob/main/LICENSE.txt",
3
+ "$id": "https://ns.adobe.com/helix/config/events",
4
+ "$schema": "https://json-schema.org/draft/2019-09/schema",
5
+ "title": "Events Config",
6
+ "type": "object",
7
+ "properties": {
8
+ "github": {
9
+ "type": "object",
10
+ "properties": {
11
+ "target": {
12
+ "type": "string",
13
+ "pattern": "^[a-zA-Z0-9_-]+/[a-zA-Z0-9_-]+$"
14
+ }
15
+ },
16
+ "required": [
17
+ "target"
18
+ ],
19
+ "additionalProperties": false
20
+ }
21
+ },
22
+ "required": [
23
+ "github"
24
+ ],
25
+ "additionalProperties": false
26
+ }
@@ -49,6 +49,9 @@
49
49
  },
50
50
  "public": {
51
51
  "$ref": "https://ns.adobe.com/helix/config/public"
52
+ },
53
+ "events": {
54
+ "$ref": "https://ns.adobe.com/helix/config/events"
52
55
  }
53
56
  },
54
57
  "required": [
@@ -56,6 +56,9 @@
56
56
  "public": {
57
57
  "$ref": "https://ns.adobe.com/helix/config/public"
58
58
  },
59
+ "events": {
60
+ "$ref": "https://ns.adobe.com/helix/config/events"
61
+ },
59
62
  "extends": {
60
63
  "type": "object",
61
64
  "properties": {
@@ -15,6 +15,7 @@ npx ajv-cli --spec=draft2019 -c ajv-formats compile \
15
15
  -s src/schemas/content-source-markup.schema.json \
16
16
  -s src/schemas/content-source-onedrive.schema.json \
17
17
  -s src/schemas/content.schema.json \
18
+ -s src/schemas/events.schema.json \
18
19
  -s src/schemas/folders.schema.json \
19
20
  -s src/schemas/groups.schema.json \
20
21
  -s src/schemas/headers.schema.json \