Просмотр исходного кода

Merge pull request #3052 from overleaf/ta-lint-no-q

Silence npm run Output

GitOrigin-RevId: 62b8deed0ecc2d2d116a9d4d254f5c306f5c8702
Jakob Ackermann 6 лет назад
Родитель
Сommit
a3a26134fd
2 измененных файлов с 6 добавлено и 7 удалено
  1. 2 2
      services/web/Makefile
  2. 4 5
      services/web/docker-compose.yml

+ 2 - 2
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

+ 4 - 5
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: