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

bootstrap.py contains logic that is only applicable post-generation #18

Open
jgonggrijp opened this issue May 20, 2020 · 0 comments
Open

Comments

@jgonggrijp
Copy link
Contributor

The bootstrap.py contains the activate_frontend function, which is only relevant to the person initially creating the project using the cookiecutter. Once generated, another developer who clones the project need not (and should not) run the steps in this function. So this logic belongs in the post_gen_project.py instead. This is probably also true of the override_package_json function. There might be more of such code that should be moved from the bootstrap.py to the post_gen_project.py.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant