Update dev env docs

This commit is contained in:
Alex P 2022-05-06 19:52:13 +03:00
parent a87a9dcab5
commit 7e121c6a4a
2 changed files with 49 additions and 29 deletions

View file

@ -32,6 +32,22 @@
"docker:fix-lint": "docker-compose run --rm test vendor/bin/phpcbf",
"docker:build-package": "docker-compose run --rm build yarn run build",
"ddev:setup": "ddev start && ddev orchestrate",
"ddev:start": "ddev start",
"ddev:stop": "ddev stop",
"ddev:reset": "ddev orchestrate -f",
"ddev:install": "ddev composer install && yarn run ddev:build-js",
"ddev:build-js": "ddev yarn build:dev",
"ddev:composer-update": "ddev composer update && ddev composer update --lock",
"ddev:test": "ddev exec phpunit",
"ddev:lint": "yarn ddev:phpcs && yarn ddev:psalm",
"ddev:phpcs": "ddev exec phpcs --parallel=8 -s",
"ddev:psalm": "ddev exec psalm --show-info=false --threads=8 --diff",
"ddev:fix-lint": "ddev exec phpcbf",
"ddev:xdebug-on": "ddev xdebug",
"ddev:xdebug-off": "ddev xdebug",
"ddev:build-package": "ddev yarn build",
"prebuild": "rm -rf ./vendor && find . -name 'node_modules' -type d -maxdepth 3 -exec rm -rf {} +",
"build": "composer install --no-dev && yarn run build:dev && yarn run archive",