Skip to content

Commit 6292cd7

Browse files
authored
Adjust roll up directory check (#484)
* Use wp-content instead of wp-admin for better experience on vip dev-env * Exclude more files from build
1 parent 6dc9e4c commit 6292cd7

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.deployignore

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,26 @@
55
.phpunit.result.cache
66
.scaffolder
77
.scoper
8+
.wp-env.json
89
*.sql
910
*.tar.gz
1011
*.zip
12+
babel.config.js
1113
bin
1214
composer.lock
1315
configure.php
1416
DOCKER_ENV
1517
Dockerfile
18+
jest.config.js
1619
Makefile
1720
node_modules/
1821
output.log
22+
phpstan.neon
1923
phpunit.xml
20-
phpunit.xml
24+
rector.php
2125
tests
2226
tests
2327
Thumbs.db
28+
tsconfig.eslint.json
29+
tsconfig.json
2430
wp-cli.local.yml

configure.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -723,7 +723,7 @@ function enable_sqlite_testing(): void {
723723
// /wp-content/plugins/:plugin/.
724724
if (
725725
file_exists( '../../.git/index' )
726-
&& is_dir( '../../../wp-admin' )
726+
&& is_dir( '../../../wp-content' )
727727
&& ! confirm(
728728
'Will this be a standalone plugin, not located within a larger project? For example, a standalone plugin will have a separate repository and will be distributed independently.',
729729
false,

0 commit comments

Comments
 (0)