-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The tool should pick up both capitalized and uncapitalized files #23
Comments
It should copy everything if you choose to replicate |
Ah, my bad wasn't detailed about it. |
Got it. Just out of curiosity, why have you named it Regardless, this doesn't seem to be a common structure. And I'm afraid that it could lead to false positives. Are you aware of any article or something that recommends this architecture? |
Actually, I decided it myself based on the willing to distinguish Component file and the others. So I didn't follow any architecture regarding that point. |
I have a similar problem: -
When running the generator, it offers me the double of the expected possible components to replicate from (I see both
|
@antoniocapelo, did you find a solution to your problem? I have a structure like: /Boilerplate/Boilerplate.scss
/Boilerplate/Boilerplate.tsx
/Boilerplate/index.ts but the tool only generates: /Test.scss
/Test.tsx |
My component folder have 5 files:
and the cli only picks up
SignUp.js
andindex.js
(please correct me if I'm wrong, thanks).I checked the
getFiles
function insideutils.js
and saw that it could be tweaked a little bit to support detecting both capitalized and uncapitalized files.Any idea is highly appreciated.
The text was updated successfully, but these errors were encountered: