@@ -633,11 +633,12 @@ function hoist_composer_dependencies_to_root( string $file ): void {
633633 $ search_and_replace = array_merge (
634634 $ search_and_replace ,
635635 [
636- 'create-wordpress-theme ' => $ theme_slug ,
637- 'Create WordPress Theme ' => str_replace ( '_ ' , ' ' , title_case ( $ theme_slug ) ),
638- 'CREATE_WORDPRESS_THEME ' => strtoupper ( str_replace ( '- ' , '_ ' , $ theme_slug ) ),
639- 'create_wordpress_theme ' => str_replace ( '- ' , '_ ' , $ theme_slug ),
640- 'Create_WordPress_Theme ' => $ theme_namespace ,
636+ 'create-wordpress-theme ' => $ theme_slug ,
637+ 'Create WordPress Theme ' => str_replace ( '_ ' , ' ' , title_case ( $ theme_slug ) ),
638+ 'CREATE_WORDPRESS_THEME ' => strtoupper ( str_replace ( '- ' , '_ ' , $ theme_slug ) ),
639+ 'create_wordpress_theme ' => str_replace ( '- ' , '_ ' , $ theme_slug ),
640+ 'Alley \\WP \\Create_WordPress_Theme ' => $ theme_namespace ,
641+ 'Create_WordPress_Theme ' => $ theme_namespace ,
641642 ],
642643 );
643644}
@@ -646,11 +647,12 @@ function hoist_composer_dependencies_to_root( string $file ): void {
646647 $ search_and_replace = array_merge (
647648 $ search_and_replace ,
648649 [
649- 'create-wordpress-plugin ' => $ plugin_slug ,
650- 'Create WordPress Plugin ' => str_replace ( '_ ' , ' ' , title_case ( $ plugin_slug ) ),
651- 'CREATE_WORDPRESS_PLUGIN ' => strtoupper ( str_replace ( '- ' , '_ ' , $ plugin_slug ) ),
652- 'create_wordpress_plugin ' => str_replace ( '- ' , '_ ' , $ plugin_slug ),
653- 'Create_WordPress_Plugin ' => $ plugin_namespace ,
650+ 'create-wordpress-plugin ' => $ plugin_slug ,
651+ 'Create WordPress Plugin ' => str_replace ( '_ ' , ' ' , title_case ( $ plugin_slug ) ),
652+ 'CREATE_WORDPRESS_PLUGIN ' => strtoupper ( str_replace ( '- ' , '_ ' , $ plugin_slug ) ),
653+ 'create_wordpress_plugin ' => str_replace ( '- ' , '_ ' , $ plugin_slug ),
654+ 'Alley \\WP \\Create_WordPress_Plugin ' => $ plugin_namespace ,
655+ 'Create_WordPress_Plugin ' => $ plugin_namespace ,
654656 ]
655657 );
656658}
@@ -851,11 +853,15 @@ function hoist_composer_dependencies_to_root( string $file ): void {
851853 "plugins/ {$ plugin_slug }/.editorconfig " ,
852854 "plugins/ {$ plugin_slug }/.eslintrc.json " ,
853855 "plugins/ {$ plugin_slug }/.gitattributes " ,
856+ "plugins/ {$ plugin_slug }/.github " ,
854857 "plugins/ {$ plugin_slug }/.gitignore " ,
855858 "plugins/ {$ plugin_slug }/.nvmrc " ,
859+ "plugins/ {$ plugin_slug }/.phpcs " ,
856860 "plugins/ {$ plugin_slug }/.stylelintrc.json " ,
861+ "plugins/ {$ plugin_slug }/.wp-env.json " ,
857862 "plugins/ {$ plugin_slug }/CHANGELOG.md " ,
858863 "plugins/ {$ plugin_slug }/composer.json " ,
864+ "plugins/ {$ plugin_slug }/features.txt " ,
859865 "plugins/ {$ plugin_slug }/jest.config.js " ,
860866 "plugins/ {$ plugin_slug }/package-lock.json " ,
861867 "plugins/ {$ plugin_slug }/phpstan.neon " ,
0 commit comments