generator-razor 14.0.47 → 14.0.48

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 +2 -2
  2. package/package.json +1 -1
package/app/index.js CHANGED
@@ -102,11 +102,11 @@ export default class extends Generator {
102
102
  message: 'New database name? A new database, username and password will be created.',
103
103
  default: 'newproject',
104
104
  validate: value => {
105
- if (/^[a-zA-Z0-9_]+$/.test(value)) {
105
+ if (/^[a-zA-Z0-9_-]+$/.test(value)) {
106
106
  return true
107
107
  }
108
108
 
109
- return 'Use only letters, numbers and underscores.'
109
+ return 'Use only letters, numbers, underscores and hyphens.'
110
110
  }
111
111
  }, {
112
112
  type: 'input',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "generator-razor",
3
- "version": "14.0.47",
3
+ "version": "14.0.48",
4
4
  "description": "Yeoman generator for razor TYPO3 distribution",
5
5
  "license": "MIT",
6
6
  "main": "app/index.js",