8000 Allow optional installation of template dependencies · Issue #87 · zce/caz · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Allow optional installation of template dependencies #87

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

Closed
8000
ozeebee opened this issue Jan 18, 2022 · 4 comments
Closed

Allow optional installation of template dependencies #87

ozeebee opened this issue Jan 18, 2022 · 4 comments
Assignees

Comments

@ozeebee
Copy link
ozeebee commented Jan 18, 2022

Hello,

I know that, by design, you prefer to have simple and lightweight templates. That's the reason why you "inherit" caz dependencies in the templates.

However, sometimes it may be desirable to allow the template to have its own dependencies.
I had the case where I just needed one additional library.
And I could not with the current implementation ;(

So, I forked your project to add the possiblity to optionally install template dependencies.
This is done by passing an additional flag in the command-line.
If you don't pass it, it keeps the current behaviour.

Would you be interested in merging this feature into the codebase ?
I think this would be better than having separate "forks" with different features.
If so, let me know, and I will submit a PR.

In the meantime, you can test this feature with the fork.
I already have one template using this feature:

npx ozeebee/caz ozeebee/cdk-project-template [project-name] --tpldeps

Thanks !

@zce
Copy link
Owner
zce commented Jan 20, 2022

@ozeebee Thank you for your valuable advice. I'll consider it.

@zce zce self-assigned this Jan 20, 2022
zce added a commit that referenced this issue Mar 22, 2022
@zce
Copy link
Owner
zce commented Mar 22, 2022

@ozeebee Already on next tag

8000

@findersky
Copy link
findersky commented Mar 22, 2022 via email

@zce
Copy link
Owner
zce commented Mar 25, 2022

v1.0.0 released

@zce zce closed this as completed Mar 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants
0