@magnolia/cli-jumpstart-plugin 1.0.0-preview.8 → 1.0.0-preview.9
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/dist/jumpstart-plugin.js
CHANGED
|
@@ -140,7 +140,7 @@ export default class JumpstartPlugin extends PluginTemplate {
|
|
|
140
140
|
}
|
|
141
141
|
const choices = templates.map(template => {
|
|
142
142
|
return {
|
|
143
|
-
name: template.name
|
|
143
|
+
name: `${template.name}${template.description ? ` (${template.description})` : ""}`,
|
|
144
144
|
value: template
|
|
145
145
|
};
|
|
146
146
|
});
|
|
@@ -222,6 +222,10 @@ export default class JumpstartPlugin extends PluginTemplate {
|
|
|
222
222
|
yield this.setProjectTemplates(options);
|
|
223
223
|
yield this.chooseTemplate(options);
|
|
224
224
|
logger === null || logger === void 0 ? void 0 : logger.info(i18nInstance.t('info-project-downloaded'));
|
|
225
|
+
logger === null || logger === void 0 ? void 0 : logger.info(i18nInstance.t('info-registered-commands'));
|
|
226
|
+
logger === null || logger === void 0 ? void 0 : logger.info(i18nInstance.t('info-start-project'));
|
|
227
|
+
logger === null || logger === void 0 ? void 0 : logger.info(i18nInstance.t('info-add-plugin-plugin'));
|
|
228
|
+
logger === null || logger === void 0 ? void 0 : logger.info(i18nInstance.t('info-refer-to-documentation'));
|
|
225
229
|
});
|
|
226
230
|
}
|
|
227
231
|
stop() {
|
|
@@ -19,6 +19,10 @@
|
|
|
19
19
|
"info-created-microprofile": "Created \"microprofile-config.properties\" at: {{file}}",
|
|
20
20
|
"info-no-node_modules": "Didn't find \"node_modules\" directory",
|
|
21
21
|
"info-plugin-installed": "\"{{plugin}}\" successfully installed",
|
|
22
|
+
"info-registered-commands": "Run \"npm run mgnl\" to see the list of registered commands",
|
|
23
|
+
"info-start-project": "Start the project using: \"npm run mgnl -- start\"",
|
|
24
|
+
"info-add-plugin-plugin": "If the \"StartPlugin\" is not available, install it using: \"npm run mgnl -- add-plugin @magnolia/cli-start-plugin\"",
|
|
25
|
+
"info-refer-to-documentation": "For additional plugins and features, refer to the Magnolia CLI documentation: https://docs.magnolia-cms.com/magnolia-cli",
|
|
22
26
|
|
|
23
27
|
"warn-install-plugins-manually": "Please install following plugins:\n{{installPluginsText}}and register them in \"mgnl.config.js\" file",
|
|
24
28
|
"warn-changed-type": "Changed 'type' property to \"module\" in \"package.json\"",
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@magnolia/cli-jumpstart-plugin",
|
|
3
|
-
"version": "1.0.0-preview.
|
|
3
|
+
"version": "1.0.0-preview.9",
|
|
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/dist/types/types.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@magnolia/cli-jumpstart-plugin",
|
|
3
|
-
"version": "1.0.0-preview.
|
|
3
|
+
"version": "1.0.0-preview.9",
|
|
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": {
|