hngngn / shadcn-solid

shadcn/ui, but for Solid.
https://shadcn-solid.com
MIT License
261 stars 14 forks source link

[feat]: add config item for package manager #118

Closed jcramb closed 1 month ago

jcramb commented 1 month ago

Feature description

At the moment the npx script assumes use of npm which can cause issues with projects which use pnpm or other package managers. It would be great if we could configure the package manager via the components.json or have it otherwise detect the lockfiles present to infer which package manager is in use.

Affected component/components

No response

Additional Context

Additional details here...

Before submitting

hngngn commented 1 month ago

If you just scaffold a new project without running install, then it will use npm by default.