update makepot command to use include vs exclude (#46287)

* update makepot command to use include vs exclude

* add the changelog

---------

Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
This commit is contained in:
Ron Rennick 2024-04-10 16:59:47 -03:00 committed by GitHub
parent 618221e321
commit d94ed1a843
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View File

@ -0,0 +1,4 @@
Significance: patch
Type: dev
update makepot command to use include vs exclude

View File

@ -113,7 +113,7 @@
"phpcbf -p"
],
"makepot-audit": [
"wp --allow-root i18n make-pot . --exclude=\".github,.wordpress-org,bin,sample-data,node_modules,tests\" --slug=woocommerce"
"wp --allow-root i18n make-pot . --include=\"woocommerce.php,client,i18n,includes,lib,packages,patterns,src,templates\" --slug=woocommerce"
],
"makepot": [
"@makepot-audit --skip-audit"