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
Custom export_as
paths in starter kit config
#4733
Conversation
@robdekort @duncanmcclean How's that look fellas 🙂 |
That looks great. Thank you! I'm wondering if |
Good call. I have already some basic |
Gotcha. Ok. This is just coming one use case (also mine) which would be The same is true for When you know what you're doing, having those files get overwritten makes it easy for folks to use all of the kit's features. For reference. Those files contain roughly the following:
What if you could flag a starter kit install with something like
Hope this helps explain my thoughts about it. ❤️ |
Looks great! Exactly what I need. |
@robdekort I think the overwriting stuff you mention is a separate conversation to what this PR is trying to solve, which is to control the export paths of specific files and directories to prevent conflict between something like a starter kit Regarding the overwriting of files though, I think at this point it's necessary. For example, if a starter kit wants to setup an asset container for a user, it's currently necessary for the starter kit to install a |
I think I misunderstood Duncan's initial issue/FR then. Good it's solved though 👍. |
Just want to check - if I have a |
@duncanmcclean Yes. So with this... export_as:
file-in-site.md: file-in-exported-repo.md
README.md: README.example.md The |
Okay... so if the user's end site also had a |
Yep 👍 |
Add ability to specify custom
export_as
paths instarter-kit.yaml
config.For example, if your sandbox site has a
README.md
that you want installed into the user's app onstarter-kit:install
, but you don't want it to conflict with the separateREADME.md
in your exported starter kit repo, you canexport_as
:This will instruct
starter-kit:export
to rename each of those paths on export, and in reverse onstarter-kit:install
to match where you had them in your sandbox app.Closes #4313.