From d05bc60f5e46c1523d25ac760b25a5533736a7ec Mon Sep 17 00:00:00 2001 From: Anthony LC Date: Wed, 26 Jun 2024 10:18:11 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=91=E2=80=8D=F0=9F=92=BB(i18n)=20run?= =?UTF-8?q?=20prettier=20on=20format-deploy?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The command format-deploy import a new json from crowdin, but it is not formatted. This commit run prettier on the file after the import to format it. --- src/frontend/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frontend/package.json b/src/frontend/package.json index 670cddc..62c1121 100644 --- a/src/frontend/package.json +++ b/src/frontend/package.json @@ -19,8 +19,8 @@ "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 && yarn APP_DESK prettier", - "i18n:deploy": "yarn I18N run format-deploy", + "i18n:extract": "yarn I18N run extract-translation", + "i18n:deploy": "yarn I18N run format-deploy && yarn APP_DESK prettier", "i18n:test": "yarn I18N run test" }, "resolutions": {