@adobe/aem-cli 16.7.8 → 16.7.10

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
+ ## [16.7.10](https://github.com/adobe/helix-cli/compare/v16.7.9...v16.7.10) (2024-09-28)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** update external fixes ([c3ef9e4](https://github.com/adobe/helix-cli/commit/c3ef9e4713c369f26fde382627ce119efd81e42f))
7
+
8
+ ## [16.7.9](https://github.com/adobe/helix-cli/compare/v16.7.8...v16.7.9) (2024-09-26)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * show errors found in IndexConfig ([d570e9a](https://github.com/adobe/helix-cli/commit/d570e9a4fb4c2d13bb058883eefcb421631bc199))
14
+
1
15
  ## [16.7.8](https://github.com/adobe/helix-cli/compare/v16.7.7...v16.7.8) (2024-09-25)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/aem-cli",
3
- "version": "16.7.8",
3
+ "version": "16.7.10",
4
4
  "description": "AEM CLI",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -40,12 +40,12 @@
40
40
  "dependencies": {
41
41
  "@adobe/fetch": "4.1.9",
42
42
  "@adobe/helix-log": "6.0.4",
43
- "@adobe/helix-shared-config": "11.0.0",
43
+ "@adobe/helix-shared-config": "11.0.1",
44
44
  "@adobe/helix-shared-git": "3.0.14",
45
45
  "@adobe/helix-shared-indexer": "2.1.5",
46
46
  "camelcase": "8.0.0",
47
47
  "chalk-template": "1.1.0",
48
- "chokidar": "4.0.0",
48
+ "chokidar": "4.0.1",
49
49
  "compression": "1.7.4",
50
50
  "cookie": "0.6.0",
51
51
  "cookie-parser": "1.4.6",
@@ -67,7 +67,7 @@
67
67
  "progress": "2.0.3",
68
68
  "proxy-agent": "6.4.0",
69
69
  "proxy-from-env": "1.1.0",
70
- "rehype-parse": "9.0.0",
70
+ "rehype-parse": "9.0.1",
71
71
  "semver": "7.6.3",
72
72
  "shelljs": "0.8.5",
73
73
  "unified": "11.0.5",
@@ -89,7 +89,7 @@
89
89
  "mocha": "10.7.3",
90
90
  "mocha-multi-reporters": "1.5.1",
91
91
  "nock": "13.5.5",
92
- "semantic-release": "24.1.1",
92
+ "semantic-release": "24.1.2",
93
93
  "semantic-release-discord-bot": "^1.1.0",
94
94
  "sinon": "19.0.2"
95
95
  },
@@ -72,8 +72,15 @@ export default class Indexer {
72
72
  .withDirectory(this._cwd)
73
73
  .withLogger(log)
74
74
  .init();
75
+ const errors = this._index.getErrors();
76
+ if (errors.length) {
77
+ const detail = errors.map(({ message }) => (message)).join('\n');
78
+ throw new Error(`
79
+ ${detail}`);
80
+ }
75
81
  } catch (e) {
76
82
  log.error(`Error in helix-query.yaml: ${e.message}`);
83
+ return;
77
84
  }
78
85
  if (this._printIndex && this._index.indices.length === 0) {
79
86
  log.warn(chalk`AEM CLI started with {gray --print-index} but no valid {gray helix-query.yaml} found.`);