Skip to content

Commit 3d356fb

Browse files
committed
chore: try to fix turbo duplicate task runs
1 parent 1c01825 commit 3d356fb

3 files changed

Lines changed: 7 additions & 15 deletions

File tree

packages/sdk-core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"format": "prettier --write .",
2424
"format:check": "prettier --check .",
2525
"typecheck": "tsc --noEmit",
26-
"check": "pnpm run lint && pnpm run typecheck && pnpm run build && pnpm run test",
26+
"check": "pnpm run format:check && pnpm run lint && pnpm run typecheck && pnpm run build && pnpm run test",
2727
"clean": "rm -rf dist",
2828
"test:ui": "vitest --ui",
2929
"test:coverage": "vitest --coverage"

packages/sdk-react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"format": "prettier --write .",
4141
"format:check": "prettier --check .",
4242
"typecheck": "tsc --noEmit",
43-
"check": "pnpm run lint && pnpm run typecheck && pnpm run build && pnpm run test",
43+
"check": "pnpm run format:check && pnpm run lint && pnpm run typecheck && pnpm run build && pnpm run test",
4444
"clean": "rm -rf dist"
4545
},
4646
"keywords": [

turbo.json

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,21 @@
11
{
22
"$schema": "https://turborepo.com/schema.json",
33
"tasks": {
4-
"install": {
5-
"dependsOn": ["^install"],
6-
"outputs": ["node_modules/**"]
7-
},
84
"build": {
95
"dependsOn": ["^build"],
106
"outputs": ["dist/**"]
117
},
128
"lint": {
13-
"dependsOn": ["^lint"]
9+
"dependsOn": ["^build"]
1410
},
1511
"test": {
16-
"dependsOn": ["^test"]
12+
"dependsOn": ["^build"]
1713
},
1814
"typecheck": {
19-
"dependsOn": ["^typecheck"]
20-
},
21-
"format:check": {
22-
"dependsOn": ["^format:check"]
23-
},
24-
"check": {
25-
"dependsOn": ["format:check", "lint", "build", "typecheck", "test"]
15+
"dependsOn": ["^build"]
2616
},
17+
"format:check": {},
18+
"check": {},
2719
"dev": {
2820
"persistent": true,
2921
"cache": false

0 commit comments

Comments
 (0)