@magnolia/cli-jumpstart-plugin 1.1.3 → 1.1.4

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,5 +1,8 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.1.4 (2025-09-19)
4
+ * Hotfix: Remove part causing 404 when downloading from nexus
5
+
3
6
  ## 1.1.3 (2025-09-16)
4
7
  * Jumpstart should resolve template path before switching CWD ([MGNLCLI-421](https://magnolia-cms.atlassian.net/browse/MGNLCLI-421))
5
8
 
@@ -267,7 +267,6 @@ export const getDownloadUrl = (bundle, credentials, options, authProfiles) => __
267
267
  var _a, _b, _c;
268
268
  try {
269
269
  const { item, modifiedBundle } = yield fetchMavenArtifact(bundle, options, credentials, true, authProfiles);
270
- const params = new URLSearchParams(bundle.url.split('?')[1]);
271
270
  bundle.version = modifiedBundle.version;
272
271
  if (!item) {
273
272
  throw new Error(i18nInstance.t('error-no-artifact-available', {
@@ -278,12 +277,7 @@ export const getDownloadUrl = (bundle, credentials, options, authProfiles) => __
278
277
  if (isMagnoliaBundle(bundle) && ((_c = item === null || item === void 0 ? void 0 : item.maven2) === null || _c === void 0 ? void 0 : _c.version)) {
279
278
  discoveredMagnoliaVersion = item.maven2.version;
280
279
  }
281
- let downloadUrl = item.downloadUrl;
282
- downloadUrl = downloadUrl === null || downloadUrl === void 0 ? void 0 : downloadUrl.split('/magnolia.');
283
- downloadUrl =
284
- downloadUrl &&
285
- `${downloadUrl[0]}/${params.get('repository')}${item.path}`;
286
- return downloadUrl;
280
+ return item.downloadUrl;
287
281
  }
288
282
  catch (error) {
289
283
  if (error.code === 'UNABLE_TO_GET_ISSUER_CERT_LOCALLY') {
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@magnolia/cli-jumpstart-plugin",
3
- "version": "1.1.3",
3
+ "version": "1.1.4",
4
4
  "description": "A plugin for Magnolia CLI to download and set up a new headless or freemarker-based project with Magnolia webapp",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@magnolia/cli-jumpstart-plugin",
3
- "version": "1.1.3",
3
+ "version": "1.1.4",
4
4
  "description": "A plugin for Magnolia CLI to download and set up a new headless or freemarker-based project with Magnolia webapp",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {