@adobe/aem-cli 16.3.17 → 16.3.19

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.3.19](https://github.com/adobe/helix-cli/compare/v16.3.18...v16.3.19) (2024-06-01)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** update adobe fixes ([d5eb662](https://github.com/adobe/helix-cli/commit/d5eb6621406b823b3afe5c65e7dfe0b7e04c9b39))
7
+
8
+ ## [16.3.18](https://github.com/adobe/helix-cli/compare/v16.3.17...v16.3.18) (2024-05-30)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * improve aem up error handling ([f319855](https://github.com/adobe/helix-cli/commit/f319855d7e1ab0eea189f4fbb207dbb3510ece2f)), closes [#2369](https://github.com/adobe/helix-cli/issues/2369)
14
+
1
15
  ## [16.3.17](https://github.com/adobe/helix-cli/compare/v16.3.16...v16.3.17) (2024-05-25)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/aem-cli",
3
- "version": "16.3.17",
3
+ "version": "16.3.19",
4
4
  "description": "AEM CLI",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -38,9 +38,9 @@
38
38
  "node": ">=14"
39
39
  },
40
40
  "dependencies": {
41
- "@adobe/fetch": "4.1.2",
41
+ "@adobe/fetch": "4.1.3",
42
42
  "@adobe/helix-log": "6.0.3",
43
- "@adobe/helix-shared-config": "10.4.4",
43
+ "@adobe/helix-shared-config": "10.4.5",
44
44
  "@adobe/helix-shared-git": "3.0.9",
45
45
  "@adobe/helix-shared-indexer": "2.0.25",
46
46
  "camelcase": "8.0.0",
@@ -76,7 +76,7 @@
76
76
  },
77
77
  "devDependencies": {
78
78
  "@adobe/eslint-config-helix": "2.0.6",
79
- "@adobe/helix-shared-dom": "2.0.5",
79
+ "@adobe/helix-shared-dom": "2.0.6",
80
80
  "@adobe/helix-testutils": "0.4.17",
81
81
  "@semantic-release/changelog": "6.0.3",
82
82
  "@semantic-release/git": "10.0.1",
package/src/up.cmd.js CHANGED
@@ -81,6 +81,9 @@ export default class UpCommand extends AbstractServerCommand {
81
81
 
82
82
  const ref = await GitUtils.getBranch(this.directory);
83
83
  this._gitUrl = await GitUtils.getOriginURL(this.directory, { ref });
84
+ if (!this._gitUrl) {
85
+ throw Error('No git remote found. Make sure you have a remote "origin" configured.');
86
+ }
84
87
  if (!this._url) {
85
88
  await this.verifyUrl(this._gitUrl, ref);
86
89
  }