@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.cjs
CHANGED
|
@@ -11373,8 +11373,8 @@ async function promptProjectInfo(options) {
|
|
|
11373
11373
|
default: options?.defaults?.name,
|
|
11374
11374
|
validate: (value) => {
|
|
11375
11375
|
if (!value.trim()) return "Project name is required";
|
|
11376
|
-
if (!/^[a-zA-Z0-9-_
|
|
11377
|
-
return "Project name can only contain letters, numbers, dashes, underscores, and spaces";
|
|
11376
|
+
if (!/^[a-zA-Z0-9-_.\s]+$/.test(value)) {
|
|
11377
|
+
return "Project name can only contain letters, numbers, dashes, underscores, dots, and spaces";
|
|
11378
11378
|
}
|
|
11379
11379
|
return true;
|
|
11380
11380
|
}
|
|
@@ -11403,8 +11403,8 @@ async function promptProjectInfo(options) {
|
|
|
11403
11403
|
default: options?.defaults?.repo || name.toLowerCase().replace(/\s+/g, "-"),
|
|
11404
11404
|
validate: (value) => {
|
|
11405
11405
|
if (!value.trim()) return "Repository name is required";
|
|
11406
|
-
if (!/^[a-zA-Z0-9-_]+$/.test(value)) {
|
|
11407
|
-
return "Repository name can only contain letters, numbers, dashes, and
|
|
11406
|
+
if (!/^[a-zA-Z0-9-_.]+$/.test(value)) {
|
|
11407
|
+
return "Repository name can only contain letters, numbers, dashes, underscores, and dots";
|
|
11408
11408
|
}
|
|
11409
11409
|
return true;
|
|
11410
11410
|
}
|