Skip to content

Commit

Permalink
refactor(turborepo): rename turbo task names to remove dashes (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
mpellegrini authored Mar 14, 2024
1 parent 2ec83bd commit 028e95d
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
uses: ./.github/composite-actions/install

- name: Run type checks
run: pnpm run type-check
run: pnpm run typecheck

test:
name: 'Unit Test'
Expand Down
4 changes: 2 additions & 2 deletions apps/sveltekit-example-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
"build": "vite build",
"check": "pnpm run code-gen && pnpm run type-check",
"clean": "del .turbo coverage .svelte-kit .vercel",
"code-gen": "svelte-kit sync",
"codegen": "svelte-kit sync",
"dev": "vite dev",
"lint": "eslint .",
"preview": "vite preview",
"test": "vitest run",
"type-check": "svelte-check --tsconfig ./tsconfig.json"
"typecheck": "svelte-check --tsconfig ./tsconfig.json"
},
"dependencies": {
"@packages/example-pkg": "workspace:*"
Expand Down
2 changes: 1 addition & 1 deletion apps/sveltekit-example-app/turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"build": {
"outputs": [".svelte-kit/**", ".vercel/**"]
},
"code-gen": {
"codegen": {
"outputs": [".svelte-kit/**"]
}
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"lint": "turbo run lint",
"prepare": "husky",
"test": "turbo run test",
"type-check": "turbo run type-check"
"typecheck": "turbo run typecheck"
},
"devDependencies": {
"@commitlint/cli": "19.0.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/example-pkg/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"clean": "del .turbo coverage",
"lint": "eslint .",
"test": "vitest run",
"type-check": "tsc --noEmit"
"typecheck": "tsc --noEmit"
},
"devDependencies": {
"@toolchain/eslint-config": "workspace:*",
Expand Down
8 changes: 4 additions & 4 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
"clean": {
"cache": false
},
"code-gen": {},
"codegen": {},
"lint": {
"dependsOn": ["code-gen"]
"dependsOn": ["codegen"]
},
"test": {
"outputs": ["./coverage/**"]
},
"type-check": {
"dependsOn": ["code-gen"]
"typecheck": {
"dependsOn": ["codegen"]
}
}
}

0 comments on commit 028e95d

Please sign in to comment.