diff --git a/.changeset/four-ads-clap.md b/.changeset/four-ads-clap.md new file mode 100644 index 000000000..23e4c55a8 --- /dev/null +++ b/.changeset/four-ads-clap.md @@ -0,0 +1,5 @@ +--- +'create-astro': patch +--- + +add validation for non-printable characters diff --git a/packages/create-astro/src/actions/project-name.ts b/packages/create-astro/src/actions/project-name.ts index e293c86a2..943de91bf 100644 --- a/packages/create-astro/src/actions/project-name.ts +++ b/packages/create-astro/src/actions/project-name.ts @@ -24,6 +24,9 @@ export async function projectName(ctx: Pick