@magnolia/cli-jumpstart-plugin 1.0.3 → 1.0.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.0.4 (2025-03-17)
4
+ * Fix template download ([MGNLCLI-366](https://magnolia-cms.atlassian.net/browse/MGNLCLI-366))
5
+
3
6
  ## 1.0.3 (2025-03-17)
4
7
  * Add lightModulesPath to mgnl.config.js ([MGNLCLI-255](https://magnolia-cms.atlassian.net/browse/MGNLCLI-255))
5
8
  * Place bundle to correct place when no postCommand is defined ([MGNLCLI-276](https://magnolia-cms.atlassian.net/browse/MGNLCLI-276))
@@ -157,7 +157,7 @@ export default class JumpstartPlugin extends PluginTemplate {
157
157
  value: template,
158
158
  };
159
159
  });
160
- const { template } = yield inquirer.prompt([
160
+ let { template } = yield inquirer.prompt([
161
161
  {
162
162
  type: 'list',
163
163
  name: 'template',
@@ -165,6 +165,7 @@ export default class JumpstartPlugin extends PluginTemplate {
165
165
  choices: prependNumbersToChoices(choices),
166
166
  },
167
167
  ]);
168
+ template = Object.assign({ name: template.name }, template.value);
168
169
  if (template.name) {
169
170
  names.push(template.name);
170
171
  }
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@magnolia/cli-jumpstart-plugin",
3
- "version": "1.0.3",
3
+ "version": "1.0.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.0.3",
3
+ "version": "1.0.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": {