You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When setting the paths for components and lib, the default is to use ~/components and ~/lib. The problem is that when you use those paths, it creates a folder ~ in the working directory and imports the files under that path. This is confusing because the ~ is hidden and further more, it is extremely dangerous when you go to delete it, you might accidentally delete your home directory: rm -rf ~ vs. rm -rf ./~.
To Reproduce
Steps to reproduce the behavior:
Open terminal on macOS
Run npx @react-native-reusables/cli@latest add
Keep default paths
Expected behavior
Should have added to the components folder in the working directory, not create a folder ~ and copy the files there.
Platform (please complete the following information):
Type: Terminal
OS: macOS 14.5
The text was updated successfully, but these errors were encountered:
Describe the bug
When setting the paths for components and lib, the default is to use
~/components
and~/lib
. The problem is that when you use those paths, it creates a folder~
in the working directory and imports the files under that path. This is confusing because the~
is hidden and further more, it is extremely dangerous when you go to delete it, you might accidentally delete your home directory:rm -rf ~
vs.rm -rf ./~
.To Reproduce
Steps to reproduce the behavior:
npx @react-native-reusables/cli@latest add
Expected behavior
Should have added to the components folder in the working directory, not create a folder
~
and copy the files there.Platform (please complete the following information):
The text was updated successfully, but these errors were encountered: