Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #1078
✅ Checklist
Changelog
I've implemented a function which is called at the end of the scaffold, which then looks up some default places for configs and if there's a t3stack directory (optionally the config dir can be configured by the T3_CONFIG env var directly), if so it checks if that contains a override/ directory, which then is copied into the just scaffolded project.
On the screenshots i've wrote overwrites but changed it to overrides as a quick google search confirmed, that it's the correct term in this case 😅
Screenshots
Without any config dir nothing changes
When having a t3stack inside the XDG_CONFIG_HOME with a file to overwrite
It uses it to scaffold the project
And it also works with the T3_CONFIG/override
💯