-
Notifications
You must be signed in to change notification settings - Fork 110
Should this repository use the same utilities as the community themes? #4
Comments
I think it would be nice to have. The escape pattern script can be very useful if TT5 ends up having as many patterns as TT4 had |
Who may be able to help with copying the tools over? :) |
Curious, what tooling exists in that repo that should be standard for all theme designers? |
I am also curious what should be standard and if they should be standard how can we make them more accessible to everyone? It's one thing adding them but we also need to document clearly any tools added here that might be unexpected or new. They are going to be amazing once people know about them but confusing until they do. |
One thing about the The custom script is required for supporting both Draft 4 & 7 in the same repo. WordPress 6.6 uses Draft 4, but WordPress 6.7 will use Draft 7. And Draft 7 is already being used in Gutenberg trunk ( Since TT5 only needs the new script, we could use ajv-cli validate \
--allow-matching-properties \
-s <(curl -sSL https://schemas.wp.org/trunk/theme.json) \
-d theme.json Otherwise, you'll have to download the schema first, but it'll still work. curl -sSL https://schemas.wp.org/trunk/theme.json -o schema.json &&
ajv-cli validate \
--allow-matching-properties \
-s schema.json \
-d theme.json |
Who may be able to help with copying the tools over? :) |
I'm working on this for contributor day at WCUS |
The community themes repository has some custom tools, including this recent update which adds a command to validate theme.json: WordPress/community-themes#221
Would it be beneficial to use the same tools in this repository?
@ajlende @MaggieCabrera
The text was updated successfully, but these errors were encountered: