generator-razor 14.0.10 → 14.0.11

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.
Files changed (2) hide show
  1. package/app/index.js +11 -0
  2. package/package.json +1 -1
package/app/index.js CHANGED
@@ -308,6 +308,17 @@ export default class extends Generator {
308
308
  }]
309
309
 
310
310
  this.props = await this.prompt(prompts)
311
+
312
+ const promptValues = Object.fromEntries(
313
+ prompts
314
+ .filter(({ store }) => store)
315
+ .filter(({ name }) => this.props[name] !== undefined)
316
+ .map(({ name }) => [name, this.props[name]])
317
+ )
318
+
319
+ this._globalConfig.set('promptValues', promptValues)
320
+
321
+ await this.fs.commit()
311
322
  }
312
323
 
313
324
  async writing () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "generator-razor",
3
- "version": "14.0.10",
3
+ "version": "14.0.11",
4
4
  "description": "Yeoman generator for razor TYPO3 distribution",
5
5
  "license": "MIT",
6
6
  "main": "app/index.js",