Skip to content

Commit e684a51

Browse files
authored
"vendor/woographql" -> "vendor-prefixed" (#777)
1 parent 9bd73aa commit e684a51

File tree

5 files changed

+7
-10
lines changed

5 files changed

+7
-10
lines changed

.gitignore

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ node_modules/
1515
.vscode/settings.json
1616
.github_changelog_generator
1717
vendor/*
18-
!vendor/woographql/
19-
vendor/woographql/*
20-
!vendor/woographql/.gitkeep
18+
!vendor-prefixed/
19+
vendor-prefixed/*
20+
!vendor-prefixed/.gitkeep
2121
!tests
2222
tests/*.suite.yml
2323
build/

bin/_lib.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,11 +126,8 @@ cleanup_local_files() {
126126
fi
127127

128128
echo "Rebuilding lock file..."
129-
cd "$PROJECT_ROOT_DIR/vendor"
130-
131-
find . ! -name '.gitkeep' -type f -exec rm -f {} +
129+
rm -rf $PROJECT_ROOT_DIR/vendor
132130

133-
cd $PROJECT_ROOT_DIR
134131
composer install --no-dev
135132
}
136133

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
},
4747
"autoload": {
4848
"classmap": [
49-
"vendor/woographql/"
49+
"vendor-prefixed/"
5050
]
5151
},
5252
"autoload-dev": {
@@ -116,7 +116,7 @@
116116
},
117117
"extra": {
118118
"strauss" : {
119-
"target_directory": "vendor/woographql",
119+
"target_directory": "vendor-prefixed",
120120
"namespace_prefix": "WPGraphQL\\WooCommerce\\Vendor\\",
121121
"classmap_prefix": "WP_GraphQL_WooCommerce_Vendor",
122122
"constant_prefix": "WPGRAPHQL_WOOCOMMERCE_VENDOR",

composer.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.

0 commit comments

Comments
 (0)