@adobe/helix-shared-config 1.5.1 → 1.7.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
@@ -3,6 +3,52 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [1.7.0](https://github.com/adobe/helix-shared/compare/@adobe/helix-shared-config@1.6.0...@adobe/helix-shared-config@1.7.0) (2021-12-04)
7
+
8
+
9
+ ### Features
10
+
11
+ * add folders to fstab ([c91fcda](https://github.com/adobe/helix-shared/commit/c91fcdac54cbddff193c047b5730c897d5f5ca26))
12
+
13
+
14
+
15
+
16
+
17
+ # [1.6.0](https://github.com/adobe/helix-shared/compare/@adobe/helix-shared-config@1.5.3...@adobe/helix-shared-config@1.6.0) (2021-12-02)
18
+
19
+
20
+ ### Features
21
+
22
+ * add contains method and improve index config schema ([97c5134](https://github.com/adobe/helix-shared/commit/97c51341ad95ca90eba67d7ae61f322dcd3c0d4a))
23
+
24
+
25
+
26
+
27
+
28
+ ## [1.5.3](https://github.com/adobe/helix-shared/compare/@adobe/helix-shared-config@1.5.2...@adobe/helix-shared-config@1.5.3) (2021-11-27)
29
+
30
+
31
+ ### Bug Fixes
32
+
33
+ * **deps:** update dependency @adobe/helix-universal to v1.9.1 ([#602](https://github.com/adobe/helix-shared/issues/602)) ([fc9987a](https://github.com/adobe/helix-shared/commit/fc9987a3ec773c5ea0d09a5aef47d1329eb515d5))
34
+ * **deps:** update external fixes ([2d80dbd](https://github.com/adobe/helix-shared/commit/2d80dbd0a32dba90d83f91cfe403055835647c1e))
35
+
36
+
37
+
38
+
39
+
40
+ ## [1.5.2](https://github.com/adobe/helix-shared/compare/@adobe/helix-shared-config@1.5.1...@adobe/helix-shared-config@1.5.2) (2021-11-20)
41
+
42
+
43
+ ### Bug Fixes
44
+
45
+ * **deps:** update dependency lint-staged to v12 ([#599](https://github.com/adobe/helix-shared/issues/599)) ([5ccc345](https://github.com/adobe/helix-shared/commit/5ccc3452dd9830f26f90d59d2067eea163dd8173))
46
+ * **deps:** update external fixes ([3325d4d](https://github.com/adobe/helix-shared/commit/3325d4d7f37dfa0cc7b41d5cb5ef718a0361c966))
47
+
48
+
49
+
50
+
51
+
6
52
  ## [1.5.1](https://github.com/adobe/helix-shared/compare/@adobe/helix-shared-config@1.5.0...@adobe/helix-shared-config@1.5.1) (2021-11-15)
7
53
 
8
54
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-shared-config",
3
- "version": "1.5.1",
3
+ "version": "1.7.0",
4
4
  "description": "Shared modules of the Helix Project - config",
5
5
  "main": "src/index.js",
6
6
  "types": "src/index.d.ts",
@@ -27,7 +27,7 @@
27
27
  "@adobe/helix-shared-git": "^1.1.0",
28
28
  "@adobe/helix-shared-prune": "^1.0.0",
29
29
  "@adobe/helix-shared-utils": "^1.0.4",
30
- "ajv": "8.8.0",
30
+ "ajv": "8.8.2",
31
31
  "ajv-formats": "2.1.1",
32
32
  "fs-extra": "10.0.0",
33
33
  "ignore": "5.1.9",
@@ -44,5 +44,5 @@
44
44
  "@pollyjs/persister-fs": "5.1.1",
45
45
  "nock": "13.2.1"
46
46
  },
47
- "gitHead": "e0d3edbf34e38105f7d6cd38bdff6b7286b7f9f6"
47
+ "gitHead": "e2afa6a7ee6237ad0b62c6d815c2b754459a29dd"
48
48
  }
@@ -4,5 +4,10 @@
4
4
  "/ms": "https://adobe.sharepoint.com/sites/TheBlog/Shared%20Documents/theblog",
5
5
  "/gd": "https://drive.google.com/drive/u/0/folders/123456789",
6
6
  "/foo": "https://localhost:4502"
7
+ },
8
+ "folders": {
9
+ "/products": "/generic-products.md",
10
+ "/articles/": "/special/default-article",
11
+ "/app": "/spa/index.html"
7
12
  }
8
- }
13
+ }
@@ -24,8 +24,19 @@
24
24
  "$ref": "https://ns.adobe.com/helix/shared/mountpoint"
25
25
  }
26
26
  }
27
+ },
28
+ "folders": {
29
+ "type": "object",
30
+ "title": "Folders",
31
+ "default": {},
32
+ "description": "Mapping from subtrees to single sources for catch-all folder support.",
33
+ "patternProperties": {
34
+ "^/.*[^/]$": {
35
+ "type": "string"
36
+ }
37
+ }
27
38
  }
28
39
  },
29
40
  "additionalProperties": false,
30
41
  "required": ["mountpoints"]
31
- }
42
+ }
@@ -46,6 +46,29 @@
46
46
  "additionalProperties": {
47
47
  "$ref": "https://ns.adobe.com/helix/shared/query"
48
48
  }
49
+ },
50
+ "include": {
51
+ "type": "array",
52
+ "title": "Include",
53
+ "description": "Glob patterns for paths where this index is used.",
54
+ "items": {
55
+ "type": "string"
56
+ },
57
+ "examples": [
58
+ "/blog/**",
59
+ "/en/publish/*/*/*/*"
60
+ ]
61
+ },
62
+ "exclude": {
63
+ "type": "array",
64
+ "title": "Exclude",
65
+ "description": "Glob patterns for paths where this index must not be used.",
66
+ "items": {
67
+ "type": "string"
68
+ },
69
+ "examples": [
70
+ "/drafts/**"
71
+ ]
49
72
  }
50
73
  },
51
74
  "required": [