mrzachnugent / react-native-reusables

Universal shadcn/ui for React Native featuring a focused collection of components - Crafted with NativeWind v4 and accessibility in mind.
https://rnr-docs.vercel.app
MIT License
3.91k stars 157 forks source link

[ BUG ] Latest CLI Cant install components #260

Closed jwhughes-work closed 1 month ago

jwhughes-work commented 1 month ago

Describe the bug Installing components using: npx @react-native-reusables/cli@latest add radio-group. No longer works since the release of cli@0.1.1

error

Using the newest version I get the error above, however if I use cli@0.1.0 all works fine, I'm not sure if its something I have missed or need to change for the latest version. Or if it is indeed a bug

Expected behavior Install component, which works on the previous version of cli within my project

Platform (please complete the following information):

mrzachnugent commented 1 month ago

@jwhughes-work Can you provide your the content of your components.json file please?

mattmatters commented 1 month ago

Getting the same over here:

{
  "platforms": "universal",
  "aliases": {
    "components": "~/components",
    "lib": "~/lib"
  }
}
mattmatters commented 1 month ago

Looks like a result of https://github.com/mrzachnugent/react-native-reusables/commit/743f58d7a0cf19b94da3afad4d2b742210334381. Is there a changelog anywhere? Love all the improvements but having trouble finding anything documenting them + any breaking changes.

mrzachnugent commented 1 month ago

Just published the fix.

@mattmatters There isn't a changelog yet. Haven't gotten around to it. If that's something you'd like to add, PRs are welcomed.

mattmatters commented 1 month ago

Just published the fix.

@mattmatters There isn't a changelog yet. Haven't gotten around to it. If that's something you'd like to add, PRs are welcomed.

Thanks for being so prompt. Let me see if I can get something going. Definitely would like to give back to this project in some way.

jwhughes-work commented 1 month ago

Thanks for being so quick @mrzachnugent ! loving the project also :)