@adobe/aem-cli 16.5.19 → 16.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
@@ -1,3 +1,17 @@
1
+ # [16.7.0](https://github.com/adobe/helix-cli/compare/v16.6.0...v16.7.0) (2024-09-04)
2
+
3
+
4
+ ### Features
5
+
6
+ * set minimum node version to 18 ([e42a0d9](https://github.com/adobe/helix-cli/commit/e42a0d9ad5551450124d41e0a92a7b3a3c921a6b)), closes [#2415](https://github.com/adobe/helix-cli/issues/2415)
7
+
8
+ # [16.6.0](https://github.com/adobe/helix-cli/compare/v16.5.19...v16.6.0) (2024-09-02)
9
+
10
+
11
+ ### Features
12
+
13
+ * **up:** support urls with variables ([#2413](https://github.com/adobe/helix-cli/issues/2413)) ([3256d4a](https://github.com/adobe/helix-cli/commit/3256d4a2515ede2ce8977e470b05480b364494da))
14
+
1
15
  ## [16.5.19](https://github.com/adobe/helix-cli/compare/v16.5.18...v16.5.19) (2024-08-31)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/aem-cli",
3
- "version": "16.5.19",
3
+ "version": "16.7.0",
4
4
  "description": "AEM CLI",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -15,7 +15,7 @@
15
15
  "lint": "eslint .",
16
16
  "semantic-release": "semantic-release",
17
17
  "semantic-release-dry": "semantic-release --dry-run --branches $CI_BRANCH",
18
- "prepare": "husky install"
18
+ "prepare": "husky"
19
19
  },
20
20
  "mocha": {
21
21
  "require": "test/setup-env.js",
@@ -35,7 +35,7 @@
35
35
  },
36
36
  "homepage": "https://github.com/adobe/helix-cli#readme",
37
37
  "engines": {
38
- "node": ">=14"
38
+ "node": ">=18"
39
39
  },
40
40
  "dependencies": {
41
41
  "@adobe/fetch": "4.1.8",
package/src/up.cmd.js CHANGED
@@ -86,6 +86,10 @@ export default class UpCommand extends AbstractServerCommand {
86
86
  }
87
87
  if (!this._url) {
88
88
  await this.verifyUrl(this._gitUrl, ref);
89
+ } else if (/\{\{(owner|repo)+\}\}/.test(this._url)) {
90
+ this._url = this._url
91
+ .replace(/\{\{owner\}\}/, this._gitUrl.owner)
92
+ .replace(/\{\{repo\}\}/, this._gitUrl.repo);
89
93
  }
90
94
  this._project.withProxyUrl(this._url);
91
95
  await this.initServerOptions();