From 0a8c488649697f0c4609e7a39b00a883d3a42e1a Mon Sep 17 00:00:00 2001 From: daproclaima Date: Mon, 10 Jun 2024 11:56:25 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=91=E2=80=8D=F0=9F=92=BB(frontend)=20r?= =?UTF-8?q?un=20automatically=20prettier=20on=20translations.json?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The frontend translations.json could be validated by the eslint scripts without running manually prettier. This commit fixes this by running prettier script automatically once the frontend translations are extracted. --- src/frontend/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/package.json b/src/frontend/package.json index 5207c93..38dc732 100644 --- a/src/frontend/package.json +++ b/src/frontend/package.json @@ -19,7 +19,7 @@ "ci:build": "yarn APP_DESK run build:ci", "e2e:test": "yarn APP_E2E run test", "lint": "yarn APP_DESK run lint && yarn APP_E2E run lint && yarn workspace eslint-config-people run lint && yarn I18N run lint", - "i18n:extract": "yarn I18N run extract-translation", + "i18n:extract": "yarn I18N run extract-translation && yarn APP_DESK prettier", "i18n:deploy": "yarn I18N run format-deploy", "i18n:test": "yarn I18N run test" },