Closed shimizu-izumi closed 5 months ago
Thanks for your contribution!
I did hardcode i
as it's supposed to work with all package managers despite not being listed in some of them's docs. However I just tried with yarn (the only one I never used), which I never did before, and it's indeed not supported, sorry!
I tried adding the requested changes by trying a few things but I don't know enough about the codebase and Kotlin to do it.
Alright no problem, I’ll take it from here, thank you very much for your time and investigation!
I added a new private function between
getPackageManager
andinstallDependency
to get the installation command based on the package manager.I made 4 blank next.js shadcn/ui projects to test it, one for each package manager and install and dev install work for all package managers now.
The install command is hardcoded to
i
in the current version which only works for NPM according to documentations of the package managers.