Skip to content

Commit

Permalink
Allow . in create-remix --template repo name (#9026)
Browse files Browse the repository at this point in the history
  • Loading branch information
TooTallNate committed Mar 26, 2024
1 parent 3976575 commit 1fa128c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/curvy-seahorses-jog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"create-remix": patch
---

Allow `.` in repo name when using `--template` flag
1 change: 1 addition & 0 deletions contributors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -607,6 +607,7 @@
- tomer-yechiel
- TomerAberbach
- TomVance
- TooTallNate
- toufiqnuur
- toyozaki
- TrySound
Expand Down
2 changes: 1 addition & 1 deletion packages/create-remix/copy-template.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 1fa128c

Please sign in to comment.