From f58df374502c2ddf4616cc81f3ec4cb687efcbbf Mon Sep 17 00:00:00 2001 From: Aditya Ray <96347576+adi-ray@users.noreply.github.com> Date: Mon, 25 Aug 2025 20:37:32 +0530 Subject: [PATCH] fix(turbo): add root prettier:fix task to format command --- package.json | 2 +- turbo.json | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index b1670bcbcb322..860296b5fc4fe 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "cloudflare:preview": "turbo cloudflare:preview", "deploy": "turbo deploy", "dev": "turbo dev", - "format": "turbo prettier:fix lint:fix", + "format": "turbo //#prettier:fix prettier:fix lint:fix", "lint": "turbo lint", "lint:fix": "turbo lint:fix", "lint:staged": "lint-staged", diff --git a/turbo.json b/turbo.json index cc50ef4e1c4e8..05d180f75104f 100644 --- a/turbo.json +++ b/turbo.json @@ -5,6 +5,9 @@ "//#prettier": { "outputs": [".prettiercache"] }, + "//#prettier:fix": { + "outputs": [".prettiercache"] + }, "build": { "dependsOn": ["^topo"] },