Skip to content

Commit 0bb350a

Browse files
committed
Improve local dev setup with Composer and PHPUnit in Docker container
- Remove dependency on globally installed Composer - Provide a way to install and run Composer and PHPUnit in the container created by wp-env - Document local dev/test/build setup
1 parent 42dc161 commit 0bb350a

File tree

6 files changed

+1878
-34
lines changed

6 files changed

+1878
-34
lines changed

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ node_modules
1313
# Ignore lock files to allow any package manager
1414
bun.lock
1515
bun.lockb
16-
composer.lock
17-
# package-lock.json
1816
yarn.lock
1917

2018
# Testing

composer.json

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,11 @@
11
{
22
"name": "tangible/fields",
3-
"repositories": [
4-
{
5-
"type": "vcs",
6-
"url": "git@github.com:tangibleinc/framework.git"
7-
},
8-
{
9-
"type": "vcs",
10-
"url": "git@github.com:tangibleinc/updater.git"
11-
}
12-
],
3+
"repositories": [],
134
"require-dev": {
14-
"phpunit/phpunit": "^9",
15-
"yoast/phpunit-polyfills": "^1.0"
16-
},
17-
"require": {
18-
"tangible/framework": "dev-main",
19-
"tangible/updater": "dev-main"
5+
"phpunit/phpunit": "^9.6",
6+
"yoast/phpunit-polyfills": "^2.0"
207
},
8+
"require": {},
219
"config": {
2210
"allow-plugins": {
2311
"roots/wordpress-core-installer": true

0 commit comments

Comments
 (0)