Ability for recipes to install or base off of other recipes #1273
Unanswered
jamiedavenport
asked this question in
Ideas
Replies: 3 comments 1 reply
-
|
@jamiedavenport yes, we should definitely add support for recipes to base off other recipes! |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
I would love to have this feature too. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
With any of the approaches above other than duplicating the recipe, I'm thinking we need a way to version control deps? Is that already supported @flybayer? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
For example, I have a recipe for TailwindUI and this installs TailwindCSS as part of the recipe. The installation is mostly the same as the official TailwindCSS recipe with some additional files and transformations. I want to discuss whether or not there's a better way to handle this situation, below are some of my thoughts:
Duplicate Setup
This is the approach I've taken so far. Not very good if changes to the prerequisite recipe are required but if the two recipes might diverge then I suppose there's no harm in this.
README instructions
Alternatively, we could assume in the recipe that the prerequisites have already been installed. This would be documented in the recipe README and require the dev to do slightly more work
blitz install tailwind blitz install tailwindui # OR blitz install tailwind tailwinduiInstall recipe step
We could build this into the installer with an
addRecipeStep.Beta Was this translation helpful? Give feedback.
All reactions