@airfleet/generator-init 0.32.0 → 0.33.0

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.
@@ -114,6 +114,19 @@ export default class extends Generator {
114
114
  choices: ["No", "Frontend", "Admin", "Both"],
115
115
  default: "No",
116
116
  },
117
+ {
118
+ type: "list",
119
+ name: "license",
120
+ message: "License",
121
+ choices: ["essential", "premium", "support"],
122
+ default: "essential",
123
+ },
124
+ {
125
+ type: "confirm",
126
+ name: "visible",
127
+ message: "Make the plugin visible in Plugin Manager?",
128
+ default: true,
129
+ },
117
130
  ];
118
131
 
119
132
  this.answers = await this.prompt(prompts);
@@ -233,6 +246,16 @@ export default class extends Generator {
233
246
  destination: ".vscode/airfleet.code-snippets",
234
247
  isEnabled: true,
235
248
  },
249
+ {
250
+ template: ".airfleet-license.ejs",
251
+ destination: ".airfleet-license",
252
+ isEnabled: true,
253
+ },
254
+ {
255
+ template: ".airfleet-visible.ejs",
256
+ destination: ".airfleet-visible",
257
+ isEnabled: true,
258
+ },
236
259
  ];
237
260
 
238
261
  copyTemplates(this, templates, this.data);
@@ -0,0 +1 @@
1
+ <%= answers.license %>
@@ -0,0 +1 @@
1
+ <%= answers.visible %>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@airfleet/generator-init",
3
3
  "description": "A Yeoman generator to scaffold common Airfleet features",
4
- "version": "0.32.0",
4
+ "version": "0.33.0",
5
5
  "scripts": {},
6
6
  "publishConfig": {
7
7
  "access": "public"