@magnolia/cli-jumpstart-plugin 1.1.3 → 1.1.5
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 +6 -0
- package/dist/lib/download.js +1 -7
- package/dist/package.json +26 -26
- package/package.json +26 -26
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.1.5 (2025-10-02)
|
|
4
|
+
* Update dependencies ([MGNLCLI-436](https://magnolia-cms.atlassian.net/browse/MGNLCLI-436))
|
|
5
|
+
|
|
6
|
+
## 1.1.4 (2025-09-19)
|
|
7
|
+
* Hotfix: Remove part causing 404 when downloading from nexus
|
|
8
|
+
|
|
3
9
|
## 1.1.3 (2025-09-16)
|
|
4
10
|
* Jumpstart should resolve template path before switching CWD ([MGNLCLI-421](https://magnolia-cms.atlassian.net/browse/MGNLCLI-421))
|
|
5
11
|
|
package/dist/lib/download.js
CHANGED
|
@@ -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
|
-
|
|
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
|
+
"version": "1.1.5",
|
|
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": {
|
|
@@ -25,50 +25,50 @@
|
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@jest/globals": "^29.7.0",
|
|
27
27
|
"@types/decompress": "^4.2.7",
|
|
28
|
-
"@types/filenamify": "^
|
|
28
|
+
"@types/filenamify": "^3.0.1",
|
|
29
29
|
"@types/fs-extra": "^11.0.4",
|
|
30
|
-
"@types/inquirer": "^9.0.
|
|
30
|
+
"@types/inquirer": "^9.0.9",
|
|
31
31
|
"@types/js-beautify": "^1.14.3",
|
|
32
|
-
"@types/node": "^
|
|
32
|
+
"@types/node": "^24.5.2",
|
|
33
33
|
"@types/progress": "^2.0.7",
|
|
34
34
|
"@types/underscore": "^1.13.0",
|
|
35
35
|
"@types/walk": "^2.3.4",
|
|
36
|
-
"cpy-cli": "^
|
|
36
|
+
"cpy-cli": "^6.0.0",
|
|
37
37
|
"depcheck": "^1.4.7",
|
|
38
|
-
"eslint": "^9.
|
|
38
|
+
"eslint": "^9.36.0",
|
|
39
39
|
"husky": "^9.1.7",
|
|
40
40
|
"jest": "^29.7.0",
|
|
41
|
-
"lint-staged": "^
|
|
42
|
-
"prettier": "^3.
|
|
43
|
-
"typescript": "^5.
|
|
41
|
+
"lint-staged": "^16.2.0",
|
|
42
|
+
"prettier": "^3.6.2",
|
|
43
|
+
"typescript": "^5.9.2"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@babel/generator": "^7.
|
|
47
|
-
"@babel/parser": "^7.
|
|
48
|
-
"@babel/traverse": "^7.
|
|
49
|
-
"@babel/types": "^7.
|
|
50
|
-
"@magnolia/cli-helper": "^1.
|
|
51
|
-
"@magnolia/cli-plugin-template": "^1.1
|
|
52
|
-
"axios": "^1.
|
|
53
|
-
"chalk": "^5.
|
|
46
|
+
"@babel/generator": "^7.28.3",
|
|
47
|
+
"@babel/parser": "^7.28.4",
|
|
48
|
+
"@babel/traverse": "^7.28.4",
|
|
49
|
+
"@babel/types": "^7.28.4",
|
|
50
|
+
"@magnolia/cli-helper": "^1.1.1",
|
|
51
|
+
"@magnolia/cli-plugin-template": "^1.2.1",
|
|
52
|
+
"axios": "^1.12.2",
|
|
53
|
+
"chalk": "^5.6.2",
|
|
54
54
|
"commander": "^12.1.0",
|
|
55
55
|
"decompress": "^4.2.1",
|
|
56
|
-
"dotenv": "^
|
|
57
|
-
"execa": "^9.
|
|
58
|
-
"filenamify": "^
|
|
59
|
-
"fs-extra": "^11.3.
|
|
60
|
-
"glob": "^11.0.
|
|
56
|
+
"dotenv": "^17.2.2",
|
|
57
|
+
"execa": "^9.6.0",
|
|
58
|
+
"filenamify": "^7.0.0",
|
|
59
|
+
"fs-extra": "^11.3.2",
|
|
60
|
+
"glob": "^11.0.3",
|
|
61
61
|
"http-proxy-agent": "^7.0.2",
|
|
62
62
|
"https-proxy-agent": "^7.0.6",
|
|
63
|
-
"inquirer": "^12.
|
|
64
|
-
"js-beautify": "^1.15.
|
|
63
|
+
"inquirer": "^12.9.6",
|
|
64
|
+
"js-beautify": "^1.15.4",
|
|
65
65
|
"json5": "^2.2.3",
|
|
66
|
-
"ora": "^
|
|
66
|
+
"ora": "^9.0.0",
|
|
67
67
|
"progress": "^2.0.3",
|
|
68
68
|
"underscore": "^1.13.7",
|
|
69
69
|
"walk": "^2.3.15",
|
|
70
70
|
"winston": "^3.17.0",
|
|
71
|
-
"yaml": "^2.
|
|
71
|
+
"yaml": "^2.8.1"
|
|
72
72
|
},
|
|
73
73
|
"type": "module",
|
|
74
74
|
"standard": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@magnolia/cli-jumpstart-plugin",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.5",
|
|
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": {
|
|
@@ -25,50 +25,50 @@
|
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@jest/globals": "^29.7.0",
|
|
27
27
|
"@types/decompress": "^4.2.7",
|
|
28
|
-
"@types/filenamify": "^
|
|
28
|
+
"@types/filenamify": "^3.0.1",
|
|
29
29
|
"@types/fs-extra": "^11.0.4",
|
|
30
|
-
"@types/inquirer": "^9.0.
|
|
30
|
+
"@types/inquirer": "^9.0.9",
|
|
31
31
|
"@types/js-beautify": "^1.14.3",
|
|
32
|
-
"@types/node": "^
|
|
32
|
+
"@types/node": "^24.5.2",
|
|
33
33
|
"@types/progress": "^2.0.7",
|
|
34
34
|
"@types/underscore": "^1.13.0",
|
|
35
35
|
"@types/walk": "^2.3.4",
|
|
36
|
-
"cpy-cli": "^
|
|
36
|
+
"cpy-cli": "^6.0.0",
|
|
37
37
|
"depcheck": "^1.4.7",
|
|
38
|
-
"eslint": "^9.
|
|
38
|
+
"eslint": "^9.36.0",
|
|
39
39
|
"husky": "^9.1.7",
|
|
40
40
|
"jest": "^29.7.0",
|
|
41
|
-
"lint-staged": "^
|
|
42
|
-
"prettier": "^3.
|
|
43
|
-
"typescript": "^5.
|
|
41
|
+
"lint-staged": "^16.2.0",
|
|
42
|
+
"prettier": "^3.6.2",
|
|
43
|
+
"typescript": "^5.9.2"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@babel/generator": "^7.
|
|
47
|
-
"@babel/parser": "^7.
|
|
48
|
-
"@babel/traverse": "^7.
|
|
49
|
-
"@babel/types": "^7.
|
|
50
|
-
"@magnolia/cli-helper": "^1.
|
|
51
|
-
"@magnolia/cli-plugin-template": "^1.1
|
|
52
|
-
"axios": "^1.
|
|
53
|
-
"chalk": "^5.
|
|
46
|
+
"@babel/generator": "^7.28.3",
|
|
47
|
+
"@babel/parser": "^7.28.4",
|
|
48
|
+
"@babel/traverse": "^7.28.4",
|
|
49
|
+
"@babel/types": "^7.28.4",
|
|
50
|
+
"@magnolia/cli-helper": "^1.1.1",
|
|
51
|
+
"@magnolia/cli-plugin-template": "^1.2.1",
|
|
52
|
+
"axios": "^1.12.2",
|
|
53
|
+
"chalk": "^5.6.2",
|
|
54
54
|
"commander": "^12.1.0",
|
|
55
55
|
"decompress": "^4.2.1",
|
|
56
|
-
"dotenv": "^
|
|
57
|
-
"execa": "^9.
|
|
58
|
-
"filenamify": "^
|
|
59
|
-
"fs-extra": "^11.3.
|
|
60
|
-
"glob": "^11.0.
|
|
56
|
+
"dotenv": "^17.2.2",
|
|
57
|
+
"execa": "^9.6.0",
|
|
58
|
+
"filenamify": "^7.0.0",
|
|
59
|
+
"fs-extra": "^11.3.2",
|
|
60
|
+
"glob": "^11.0.3",
|
|
61
61
|
"http-proxy-agent": "^7.0.2",
|
|
62
62
|
"https-proxy-agent": "^7.0.6",
|
|
63
|
-
"inquirer": "^12.
|
|
64
|
-
"js-beautify": "^1.15.
|
|
63
|
+
"inquirer": "^12.9.6",
|
|
64
|
+
"js-beautify": "^1.15.4",
|
|
65
65
|
"json5": "^2.2.3",
|
|
66
|
-
"ora": "^
|
|
66
|
+
"ora": "^9.0.0",
|
|
67
67
|
"progress": "^2.0.3",
|
|
68
68
|
"underscore": "^1.13.7",
|
|
69
69
|
"walk": "^2.3.15",
|
|
70
70
|
"winston": "^3.17.0",
|
|
71
|
-
"yaml": "^2.
|
|
71
|
+
"yaml": "^2.8.1"
|
|
72
72
|
},
|
|
73
73
|
"type": "module",
|
|
74
74
|
"standard": {
|