Skip to content

Commit fadf91f

Browse files
committed
update turbo
1 parent 6a79b2d commit fadf91f

File tree

4 files changed

+18
-9
lines changed

4 files changed

+18
-9
lines changed

apps/frontend/src/hooks/useElementsStore.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export default function useElementsStore() {
99
const getClipElements = async (
1010
tabName: string
1111
): Promise<string[] | undefined> => {
12+
console.log(tabName)
1213
return undefined
1314
}
1415
return { getClipElements }

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"lint": "turbo lint",
1717
"lint:fix": "turbo lint:fix",
1818
"format": "prettier --check --cache .",
19-
"format:fix": "prettier --write --cache ."
19+
"format:fix": "prettier --write --cache .",
20+
"lint-format:fix": "turbo run --parallel lint:fix format:fix"
2021
},
2122
"devDependencies": {
2223
"prettier": "^3.4.2",

packages/tsconfig/base.config.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,12 @@
44
"skipLibCheck": true,
55
"module": "ESNext",
66
"moduleResolution": "bundler",
7-
"allowSyntheticDefaultImports": true
7+
"allowSyntheticDefaultImports": true,
8+
"resolveJsonModule": true,
9+
"moduleDetection": "force",
10+
"isolatedModules": true,
11+
"strict": true,
12+
"noUncheckedIndexedAccess": true
813
},
914
"exclude": ["dist", "build", "node_modules"]
1015
}

turbo.json

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,18 @@
1414
"updep": {},
1515
"lint": {},
1616
"lint:fix": {},
17+
"format": {},
18+
"format:fix": {},
19+
"//#format": {
20+
"inputs": ["!.git/**", "!node_modules/**", "!packages/**"]
21+
},
22+
"//#format:fix": {
23+
"inputs": ["!.git/**", "!node_modules/**", "!.turbo/**"]
24+
},
1725
"test": {
1826
"cache": true,
1927
"inputs": ["$TURBO_DEFAULT$", ".env*"],
2028
"outputs": ["coverage/**"]
2129
}
22-
},
23-
"globalDependencies": [
24-
".eslintignore",
25-
".prettierignore",
26-
"tsconfig.base.json",
27-
"tsconfig.json"
28-
]
30+
}
2931
}

0 commit comments

Comments
 (0)