Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a basic child theme template, which will use the
wporg-parent-2021
theme as its parent. It also includes a script to generate the project, using the same mustache template engine ascreate-block
, so our templates are the same between #21 & here.The
create
script I've written here is PHP - I did that rather than creating a new package.json so I could use JS. It's very simple, inspired fromcreate-block
. I had thought maybe we could switch out different templates depending on the argument -- so this hascreate child-theme
, but we could also docreate env
to create a full env with.wp-env.json
, etc.This wouldn't generate blocks — the block template in #21 can be used with
@wordpress/create-block
to create mu-plugins blocks, and any blocks we want to create as standalone plugins can just be vanilla@wordpress/create-block
(or we can make another template).