I initially had gitignore outside the template folder and npm published it as such. Then I fixed that and moved it inside the template folder, however I didn't npm publish an updated version.
Ah! That makes sense! Yeah, once you said the dot wasn't in front of it, that's what I figured. Forgetting to publish my changes has got me a time or two as well! Glad you got it figured out!
What was it?
I initially had gitignore outside the template folder and npm published it as such. Then I fixed that and moved it inside the
template
folder, however I didn't npm publish an updated version.Ah! That makes sense! Yeah, once you said the dot wasn't in front of it, that's what I figured. Forgetting to publish my changes has got me a time or two as well! Glad you got it figured out!
I also created a separate repo for my cra template:
github.com/nezlobnaya/cra-template...
and I added an alias (
alias create-react-app-custom="npx create-react-app --template=file: path/to/folder
) to my .zshrc file to quickly run it locally