diff --git a/package-lock.json b/package-lock.json index 27d35b1..7b8ec15 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,7 +8,7 @@ "name": "bill-vektor", "version": "1.0.0", "dependencies": { - "@wordpress/env": "^5.16.0", + "@wordpress/env": "10.4.0", "gulp": "^4.0.2", "npm-check-updates": "^16.10.8", "run-sequence": "^2.2.1" @@ -332,13 +332,13 @@ } }, "node_modules/@wordpress/env": { - "version": "5.16.0", - "resolved": "https://registry.npmjs.org/@wordpress/env/-/env-5.16.0.tgz", - "integrity": "sha512-zx6UO8PuJBrQ34cfeedK1HlGHLFaj7oWzTo9tTt+noB79Ttqc4+a0lYwDqBLLJhlHU+cWgcyOP2lB6TboXH0xA==", + "version": "10.4.0", + "resolved": "https://registry.npmjs.org/@wordpress/env/-/env-10.4.0.tgz", + "integrity": "sha512-e5Sf7h8xqzSSOr6Vlx4qbaZNKvFLhAnvwoNjprU90kGl72mgHQhHLv40U6sUJgZf9h/CZl3cECTDSxKIEGRtxg==", "dependencies": { "chalk": "^4.0.0", "copy-dir": "^1.3.0", - "docker-compose": "^0.22.2", + "docker-compose": "^0.24.3", "extract-zip": "^1.6.7", "got": "^11.8.5", "inquirer": "^7.1.0", @@ -351,6 +351,10 @@ }, "bin": { "wp-env": "bin/wp-env" + }, + "engines": { + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "node_modules/abbrev": { @@ -1760,9 +1764,12 @@ } }, "node_modules/docker-compose": { - "version": "0.22.2", - "resolved": "https://registry.npmjs.org/docker-compose/-/docker-compose-0.22.2.tgz", - "integrity": "sha512-iXWb5+LiYmylIMFXvGTYsjI1F+Xyx78Jm/uj1dxwwZLbWkUdH6yOXY5Nr3RjbYX15EgbGJCq78d29CmWQQQMPg==", + "version": "0.24.8", + "resolved": "https://registry.npmjs.org/docker-compose/-/docker-compose-0.24.8.tgz", + "integrity": "sha512-plizRs/Vf15H+GCVxq2EUvyPK7ei9b/cVesHvjnX4xaXjM9spHe2Ytq0BitndFgvTJ3E3NljPNUEl7BAN43iZw==", + "dependencies": { + "yaml": "^2.2.2" + }, "engines": { "node": ">= 6.0.0" } @@ -8247,6 +8254,17 @@ "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" }, + "node_modules/yaml": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.5.0.tgz", + "integrity": "sha512-2wWLbGbYDiSqqIKoPjar3MPgB94ErzCtrNE1FdqGuaO0pi2JGjmE8aW8TDZwzU7vuxcGRdL/4gPQwQ7hD5AMSw==", + "bin": { + "yaml": "bin.mjs" + }, + "engines": { + "node": ">= 14" + } + }, "node_modules/yargs": { "version": "17.7.1", "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.1.tgz", diff --git a/package.json b/package.json index 7a3db19..035e990 100644 --- a/package.json +++ b/package.json @@ -11,15 +11,15 @@ "dist": "composer install --no-dev && gulp dist && composer install", "zip": "npm run dist && cd dist && zip -r bill-vektor.zip bill-vektor && cd ../", "sass": "sass --watch assets/_scss:assets/css", - "phpunit": "wp-env run phpunit 'phpunit -c /var/www/html/wp-content/themes/bill-vektor/.phpunit.xml --verbose'" + "phpunit": "composer install && wp-env run tests-cli --env-cwd='wp-content/themes/bill-vektor' vendor/bin/phpunit -c .phpunit.xml" }, "dependencies": { - "@wordpress/env": "^5.16.0", + "@wordpress/env": "10.4.0", "gulp": "^4.0.2", "npm-check-updates": "^16.10.8", "run-sequence": "^2.2.1" }, "volta": { - "node": "18.16.0" + "node": "20.14.0" } }