From 056d934ea92135759108f591c184eb1872dff676 Mon Sep 17 00:00:00 2001 From: Nathan Rajlich Date: Sun, 10 Mar 2024 01:15:08 -0800 Subject: [PATCH 1/2] [create-remix] Allow `.` in repo name when using `--template` flag Period is a valid character in GitHub repository names. --- packages/create-remix/copy-template.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/create-remix/copy-template.ts b/packages/create-remix/copy-template.ts index 88f65fb500b..aa97e30c7ff 100644 --- a/packages/create-remix/copy-template.ts +++ b/packages/create-remix/copy-template.ts @@ -423,7 +423,7 @@ function isGithubRepoShorthand(value: string) { // remix-run/remix // remix-run/remix/templates/express // remix-run/examples/socket.io - return /^[\w-]+\/[\w-]+(\/[\w-.]+)*$/.test(value); + return /^[\w-]+\/[\w-.]+(\/[\w-.]+)*$/.test(value); } function isGithubReleaseAssetUrl(url: string) { From c994f2221c9def6df7690ab4cb93d6fd06c6c787 Mon Sep 17 00:00:00 2001 From: Nathan Rajlich Date: Sun, 10 Mar 2024 01:20:01 -0800 Subject: [PATCH 2/2] Add changeset, sign CLA --- .changeset/curvy-seahorses-jog.md | 5 +++++ contributors.yml | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/curvy-seahorses-jog.md diff --git a/.changeset/curvy-seahorses-jog.md b/.changeset/curvy-seahorses-jog.md new file mode 100644 index 00000000000..7365d23875f --- /dev/null +++ b/.changeset/curvy-seahorses-jog.md @@ -0,0 +1,5 @@ +--- +"create-remix": patch +--- + +Allow `.` in repo name when using `--template` flag diff --git a/contributors.yml b/contributors.yml index 24e5047e16d..c21140f40ab 100644 --- a/contributors.yml +++ b/contributors.yml @@ -606,6 +606,7 @@ - tomer-yechiel - TomerAberbach - TomVance +- TooTallNate - toufiqnuur - toyozaki - TrySound