create-slidev 0.43.4 → 0.43.6
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/index.js +1 -2
- package/package.json +1 -1
- package/template/package.json +1 -1
package/index.js
CHANGED
|
@@ -165,8 +165,7 @@ async function getValidPackageName(projectName) {
|
|
|
165
165
|
name: 'inputPackageName',
|
|
166
166
|
message: 'Package name:',
|
|
167
167
|
initial: suggestedPackageName,
|
|
168
|
-
validate: input =>
|
|
169
|
-
packageNameRegExp.test(input) ? true : 'Invalid package.json name',
|
|
168
|
+
validate: input => packageNameRegExp.test(input) ? true : 'Invalid package.json name',
|
|
170
169
|
})
|
|
171
170
|
return inputPackageName
|
|
172
171
|
}
|
package/package.json
CHANGED