Make WordPress Core

Ticket #57189: 57189.diff

File 57189.diff, 1.3 KB (added by desrosj, 17 months ago)
  • package.json

    diff --git a/package.json b/package.json
    index f97f8333a8..075a479683 100644
    a b  
    176176                "grunt": "grunt",
    177177                "lint:jsdoc": "wp-scripts lint-js",
    178178                "lint:jsdoc:fix": "wp-scripts lint-js --fix",
    179                 "env:start": "node ./tools/local-env/scripts/start.js",
     179                "env:start": "node ./tools/local-env/scripts/start.js && node ./tools/local-env/scripts/docker.js run -T php composer update -W",
    180180                "env:stop": "node ./tools/local-env/scripts/docker.js down",
    181181                "env:restart": "npm run env:stop && npm run env:start",
    182182                "env:clean": "node ./tools/local-env/scripts/docker.js down -v --remove-orphans",
     
    186186                "env:logs": "node ./tools/local-env/scripts/docker.js logs",
    187187                "env:pull": "node ./tools/local-env/scripts/docker.js pull",
    188188                "test:performance": "node ./tests/performance/run-tests.js",
    189                 "test:php": "node ./tools/local-env/scripts/docker.js run -T php composer update -W && node ./tools/local-env/scripts/docker.js run php ./vendor/bin/phpunit",
     189                "test:php": "node ./tools/local-env/scripts/docker.js run php ./vendor/bin/phpunit",
    190190                "test:e2e": "node ./tests/e2e/run-tests.js",
    191191                "test:visual": "node ./tests/visual-regression/run-tests.js",
    192192                "sync-gutenberg-packages": "grunt sync-gutenberg-packages",