Skip to content

Commit 8785c39

Browse files
committed
hotfix: prettier top command should be turboe'd
1 parent 1ccf19c commit 8785c39

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"cloudflare:preview": "turbo cloudflare:preview",
1919
"deploy": "turbo deploy",
2020
"dev": "turbo dev",
21-
"format": "turbo lint:fix prettier:fix",
21+
"format": "turbo prettier:fix lint:fix",
2222
"lint": "turbo lint",
2323
"lint:fix": "turbo lint:fix",
2424
"lint:staged": "lint-staged",

turbo.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@
1111
"lint": {
1212
"dependsOn": ["^topo"]
1313
},
14+
"prettier": {
15+
"inputs": ["**/*.{js,mjs,ts,tsx,md,mdx,json,yml,css}"],
16+
"outputs": [".prettiercache"]
17+
},
18+
"prettier:fix": {
19+
"dependsOn": ["^prettier"]
20+
},
1421
"test": {
1522
"dependsOn": ["^topo"]
1623
},

0 commit comments

Comments
 (0)