@qazuor/claude-code-config 0.6.3 → 0.6.5
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/bin.cjs +4 -4
- package/dist/bin.cjs.map +1 -1
- package/dist/bin.js +4 -4
- package/dist/bin.js.map +1 -1
- package/package.json +1 -1
package/dist/bin.js
CHANGED
|
@@ -11356,8 +11356,8 @@ async function promptProjectInfo(options) {
|
|
|
11356
11356
|
default: options?.defaults?.name,
|
|
11357
11357
|
validate: (value) => {
|
|
11358
11358
|
if (!value.trim()) return "Project name is required";
|
|
11359
|
-
if (!/^[a-zA-Z0-9-_
|
|
11360
|
-
return "Project name can only contain letters, numbers, dashes, underscores, and spaces";
|
|
11359
|
+
if (!/^[a-zA-Z0-9-_.\s]+$/.test(value)) {
|
|
11360
|
+
return "Project name can only contain letters, numbers, dashes, underscores, dots, and spaces";
|
|
11361
11361
|
}
|
|
11362
11362
|
return true;
|
|
11363
11363
|
}
|
|
@@ -11386,8 +11386,8 @@ async function promptProjectInfo(options) {
|
|
|
11386
11386
|
default: options?.defaults?.repo || name.toLowerCase().replace(/\s+/g, "-"),
|
|
11387
11387
|
validate: (value) => {
|
|
11388
11388
|
if (!value.trim()) return "Repository name is required";
|
|
11389
|
-
if (!/^[a-zA-Z0-9-_]+$/.test(value)) {
|
|
11390
|
-
return "Repository name can only contain letters, numbers, dashes, and
|
|
11389
|
+
if (!/^[a-zA-Z0-9-_.]+$/.test(value)) {
|
|
11390
|
+
return "Repository name can only contain letters, numbers, dashes, underscores, and dots";
|
|
11391
11391
|
}
|
|
11392
11392
|
return true;
|
|
11393
11393
|
}
|