Skip to content
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

Separate dependency management per template #214

Closed
derberg opened this issue Feb 6, 2020 · 0 comments · Fixed by #219
Closed

Separate dependency management per template #214

derberg opened this issue Feb 6, 2020 · 0 comments · Fixed by #219
Assignees
Labels
enhancement New feature or request

Comments

@derberg
Copy link
Member

derberg commented Feb 6, 2020

Description

Come up with a way to define npm dependencies for each template. Maybe templates should become independent installable packages themselves. Such an approach can be easily simplified for development with Lerna to still keep templates in one repository and be able to download dependencies for all the templates with one command.

Reason
At the moment every single dependency is declared in the main package.json of the generator. So even if you have a dependency that is used in just one template, it is added to the main package. This is, for example, an issue for people that use generator package and write their templates, they take large generator package with dependencies, not needed for their template.

@derberg derberg added the enhancement New feature or request label Feb 6, 2020
@fmvilas fmvilas self-assigned this Feb 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants