@adobe/helix-html-pipeline 1.6.0 → 1.6.3
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 +21 -0
- package/package.json +7 -7
- package/src/index.d.ts +5 -0
- package/src/steps/extract-metadata.js +1 -1
- package/src/steps/folder-mapping.js +1 -0
- package/src/utils/path.js +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,24 @@
|
|
|
1
|
+
## [1.6.3](https://github.com/adobe/helix-html-pipeline/compare/v1.6.2...v1.6.3) (2022-06-04)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **deps:** update dependency @adobe/helix-shared-utils to v2.0.11 ([1b31c47](https://github.com/adobe/helix-html-pipeline/commit/1b31c47636cce1c5ecf7d17b0507edec580db4ad))
|
|
7
|
+
|
|
8
|
+
## [1.6.2](https://github.com/adobe/helix-html-pipeline/compare/v1.6.1...v1.6.2) (2022-06-01)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* match globs for mapped pages in maintenance pipeline-service ([#71](https://github.com/adobe/helix-html-pipeline/issues/71)) ([d91248b](https://github.com/adobe/helix-html-pipeline/commit/d91248b7c54418e847252fe35e49166f9339e85f))
|
|
14
|
+
|
|
15
|
+
## [1.6.1](https://github.com/adobe/helix-html-pipeline/compare/v1.6.0...v1.6.1) (2022-05-30)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* **deps:** update dependency @adobe/helix-markdown-support to v3.1.6 ([#68](https://github.com/adobe/helix-html-pipeline/issues/68)) ([9f47826](https://github.com/adobe/helix-html-pipeline/commit/9f47826b5104013145056260d58e8ebe4e1343a7))
|
|
21
|
+
|
|
1
22
|
# [1.6.0](https://github.com/adobe/helix-html-pipeline/compare/v1.5.8...v1.6.0) (2022-05-25)
|
|
2
23
|
|
|
3
24
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/helix-html-pipeline",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.3",
|
|
4
4
|
"description": "Helix HTML Pipeline",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"types": "src/index.d.ts",
|
|
@@ -30,11 +30,11 @@
|
|
|
30
30
|
"loader": "esmock"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@adobe/helix-markdown-support": "3.1.
|
|
34
|
-
"@adobe/helix-shared-utils": "2.0.
|
|
33
|
+
"@adobe/helix-markdown-support": "3.1.6",
|
|
34
|
+
"@adobe/helix-shared-utils": "2.0.11",
|
|
35
35
|
"github-slugger": "1.4.0",
|
|
36
36
|
"hast-util-raw": "7.2.1",
|
|
37
|
-
"hast-util-select": "5.0.
|
|
37
|
+
"hast-util-select": "5.0.2",
|
|
38
38
|
"hast-util-to-html": "8.0.3",
|
|
39
39
|
"hast-util-to-string": "2.0.0",
|
|
40
40
|
"hastscript": "7.0.2",
|
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
"@semantic-release/changelog": "6.0.1",
|
|
70
70
|
"@semantic-release/git": "10.0.1",
|
|
71
71
|
"@semantic-release/npm": "9.0.1",
|
|
72
|
-
"c8": "7.11.
|
|
73
|
-
"eslint": "8.
|
|
72
|
+
"c8": "7.11.3",
|
|
73
|
+
"eslint": "8.17.0",
|
|
74
74
|
"eslint-plugin-header": "3.1.1",
|
|
75
75
|
"eslint-plugin-import": "2.26.0",
|
|
76
76
|
"esmock": "1.7.5",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"jsdoc-to-markdown": "7.1.1",
|
|
80
80
|
"jsdom": "19.0.0",
|
|
81
81
|
"junit-report-builder": "3.0.0",
|
|
82
|
-
"lint-staged": "12.
|
|
82
|
+
"lint-staged": "12.5.0",
|
|
83
83
|
"mocha": "10.0.0",
|
|
84
84
|
"mocha-multi-reporters": "1.5.1",
|
|
85
85
|
"remark-gfm": "3.0.1",
|
package/src/index.d.ts
CHANGED
|
@@ -157,7 +157,7 @@ export default function extractMetaData(state, req) {
|
|
|
157
157
|
// extract global metadata from spreadsheet, and overlay
|
|
158
158
|
// with local metadata from document
|
|
159
159
|
const metaConfig = Object.assign(
|
|
160
|
-
filterGlobalMetadata(state.metadata, state.info.path),
|
|
160
|
+
filterGlobalMetadata(state.metadata, state.info.unmappedPath || state.info.path),
|
|
161
161
|
getLocalMetadata(hast),
|
|
162
162
|
);
|
|
163
163
|
|
|
@@ -48,6 +48,7 @@ export default function folderMapping(state) {
|
|
|
48
48
|
const mapped = mapPath(folders, path);
|
|
49
49
|
if (mapped) {
|
|
50
50
|
state.info = getPathInfo(mapped);
|
|
51
|
+
state.info.unmappedPath = path;
|
|
51
52
|
if (getExtension(mapped)) {
|
|
52
53
|
// special case: use code-bus
|
|
53
54
|
state.content.sourceBus = 'code';
|