@magnolia/cli-jumpstart-plugin 1.0.1 → 1.0.2
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 +3 -0
- package/dist/lib/download.js +4 -4
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.0.2 (2024-10-15)
|
|
4
|
+
* use alternative groupId and artifactId for latest magnolia version ([MGNLCLI-303](https://magnolia-cms.atlassian.net/browse/MGNLCLI-303))
|
|
5
|
+
|
|
3
6
|
## 1.0.1 (2024-10-15)
|
|
4
7
|
* use @5 version of @magnolia/cli ([MGNLCLI-302](https://magnolia-cms.atlassian.net/browse/MGNLCLI-302))
|
|
5
8
|
|
package/dist/lib/download.js
CHANGED
|
@@ -110,10 +110,10 @@ export const getDownloadUrl = (bundle, credentials, options) => __awaiter(void 0
|
|
|
110
110
|
}
|
|
111
111
|
if (options.magnolia) {
|
|
112
112
|
bundle.version = options.magnolia;
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
113
|
+
}
|
|
114
|
+
if ((bundle.version.startsWith('latest') || bundle.version.startsWith('6.3') || bundle.version.includes('alpha') || bundle.version.includes('beta') || bundle.version.includes('rc')) && bundle.alternative) {
|
|
115
|
+
url.searchParams.set('maven.groupId', bundle.alternative.groupId);
|
|
116
|
+
url.searchParams.set('maven.artifactId', bundle.alternative.artifactId);
|
|
117
117
|
}
|
|
118
118
|
if (bundle.version.toLowerCase() !== "latest" && bundle.version.toLowerCase() !== "alpha" && bundle.version.toLowerCase() !== "beta" && bundle.version.toLowerCase() !== "rc") {
|
|
119
119
|
url.searchParams.set('maven.baseVersion', options.snapshot ? bundle.version + "-SNAPSHOT" : bundle.version);
|
package/dist/package.json
CHANGED
package/package.json
CHANGED