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

Allow devDependencies to be defined for a template #39722

Closed
ryanwelcher opened this issue Mar 24, 2022 · 0 comments · Fixed by #39723
Closed

Allow devDependencies to be defined for a template #39722

ryanwelcher opened this issue Mar 24, 2022 · 0 comments · Fixed by #39723
Labels
Developer Experience Ideas about improving block and theme developer experience [Tool] Create Block /packages/create-block [Type] Enhancement A suggestion for improvement.

Comments

@ryanwelcher
Copy link
Contributor

What problem does this address?

Currently, the template system for @wordpress/create-block package allows the definition of dependencies but not devDependencies. There are many times that a block may need devDependencies defined.

What is your proposed solution?

Add a npmDevDependencies variable to the template to align with the existing npmDependencies

@ryanwelcher ryanwelcher added [Type] Enhancement A suggestion for improvement. [Tool] Create Block /packages/create-block Developer Experience Ideas about improving block and theme developer experience labels Mar 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Developer Experience Ideas about improving block and theme developer experience [Tool] Create Block /packages/create-block [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant