diff --git a/.mise/tasks/move b/.mise/tasks/move index f24aea84d..692e66594 100755 --- a/.mise/tasks/move +++ b/.mise/tasks/move @@ -1,6 +1,7 @@ #!/usr/bin/env bash -name="$1" +repo_name="$1" +name="${repo_name##*-}" owner="${2:-mise-plugins}" # TODO: transfer from jdx -> mise-plugins @@ -8,4 +9,4 @@ owner="${2:-mise-plugins}" # TODO: add github issues # TODO: squash commits on PRs -echo "repository = https://github.com/$owner/$name.git" > "plugins/$name" +echo "repository = https://github.com/$owner/$repo_name.git" > "plugins/$name" diff --git a/plugins/asdf-yarn b/plugins/asdf-yarn deleted file mode 100644 index b42ac0181..000000000 --- a/plugins/asdf-yarn +++ /dev/null @@ -1 +0,0 @@ -repository = https://github.com/mise-plugins/asdf-yarn.git diff --git a/plugins/yarn b/plugins/yarn index ceeb51140..b42ac0181 100644 --- a/plugins/yarn +++ b/plugins/yarn @@ -1 +1 @@ -repository = https://github.com/twuni/asdf-yarn.git +repository = https://github.com/mise-plugins/asdf-yarn.git