From a3a26134fdf8b5b07fe07c0bdb342e36d56993f4 Mon Sep 17 00:00:00 2001 From: Jakob Ackermann Date: Mon, 3 Aug 2020 13:34:22 +0200 Subject: [PATCH] Merge pull request #3052 from overleaf/ta-lint-no-q Silence npm run Output GitOrigin-RevId: 62b8deed0ecc2d2d116a9d4d254f5c306f5c8702 --- services/web/Makefile | 4 ++-- services/web/docker-compose.yml | 9 ++++----- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/services/web/Makefile b/services/web/Makefile index 665c825d88..4df90615ec 100644 --- a/services/web/Makefile +++ b/services/web/Makefile @@ -201,10 +201,10 @@ format_in_docker: $(RUN_LINT_FORMAT) make format -j --output-sync format_fix: - npm -q run format:fix + npm run --silent format:fix lint: - npm -q run lint + npm run --silent lint lint_in_docker: $(RUN_LINT_FORMAT) make lint diff --git a/services/web/docker-compose.yml b/services/web/docker-compose.yml index b6f4289cf5..6769a7be12 100644 --- a/services/web/docker-compose.yml +++ b/services/web/docker-compose.yml @@ -14,7 +14,7 @@ services: working_dir: /app environment: MOCHA_GREP: ${MOCHA_GREP} - command: npm run test:unit:app + command: npm run --silent test:unit:app user: node test_acceptance: @@ -36,11 +36,10 @@ services: MONGO_SOCKET_TIMEOUT: 60000 # SHARELATEX_ALLOW_ANONYMOUS_READ_AND_WRITE_SHARING: 'true' SHARELATEX_CONFIG: - command: npm run test:acceptance:app depends_on: - redis - mongo - command: npm run test:acceptance:app + command: npm run --silent test:acceptance:app test_karma: build: @@ -49,7 +48,7 @@ services: volumes: - .:/app working_dir: /app - command: npm run test:karma:single + command: npm run --silent test:karma:single test_frontend: build: @@ -60,7 +59,7 @@ services: working_dir: /app environment: MOCHA_GREP: ${MOCHA_GREP} - command: npm run test:frontend + command: npm run --silent test:frontend user: node redis: