Closed Jacob-CZ closed 1 day ago
Hi @Jacob-CZ, thanks for the report. I have a couple of follow up questions to better understand your issue:
Thank you
Oh yeah im so sorry i forgot to explain, do not work means it puts it in the wrong folder. And i thing the stores are not added to the index export. The commant is the one from the docs using the @latest. Because the new expo router stuff is in src/app and not just app
@Jacob-CZ understood thanks for bringing that up. it seems something broke between 10.0.0 and 10.0.4, will look into that!
For now though, you can update the files inside of projectDir/ignite/templates
and look for the destinationDir
at the top of the files. Update them from app/
to src/
where it makes sense. Then re-run your generator commands and it should work.
For screens, due to the nature of expo-router, you'll want to use this extra cli switch (since you can't define just one destinationDir in the generator template): https://docs.infinite.red/ignite-cli/concept/Generators/#--dir
Here's an example in one of our test files: https://github.com/infinitered/ignite/blob/master/test/vanilla/ignite-generate.test.ts#L435
:tada: This issue has been resolved in version 10.0.5 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Describe the bug
The generators, for screens do not work at all but thats understandable, but the components and stores are very inconvenient.
Ignite version
10.0.0
Additional info
non relevant