Skip to content

Commit 81e8565

Browse files
authored
chore: add dev:hive script using turbo (#7053)
1 parent e64c4e0 commit 81e8565

File tree

15 files changed

+183
-46
lines changed

15 files changed

+183
-46
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,14 @@
2323
"build:services": "pnpm prebuild && pnpm turbo build --filter=./packages/services/**/* --filter=./packages/migrations --color",
2424
"build:web": "pnpm prebuild && pnpm turbo build --filter=./packages/web/* --color",
2525
"cargo:fix": "bash ./scripts/fix-symbolic-link.sh",
26+
"dev:hive": "turbo dev:hive --ui tui --concurrency 100",
2627
"dev:integration": "cd integration-tests && pnpm dev:integration",
2728
"docker:build": "docker buildx bake -f docker/docker.hcl --load build",
2829
"docker:override-up": "docker compose -f ./docker/docker-compose.override.yml up -d --remove-orphans",
2930
"env:sync": "tsx scripts/sync-env-files.ts",
3031
"generate": "pnpm --filter @hive/storage db:generate && pnpm graphql:generate",
3132
"graphql:generate": "graphql-codegen --config codegen.mts",
33+
"graphql:generate:watch": "pnpm graphql:generate --watch",
3234
"integration:prepare": "cd integration-tests && ./local.sh",
3335
"lint": "eslint --cache --ignore-path .gitignore \"{packages,cypress}/**/*.{ts,tsx,graphql}\"",
3436
"lint:env-template": "tsx scripts/check-env-template.ts",
@@ -96,7 +98,7 @@
9698
"ts-node": "10.9.2",
9799
"tsup": "8.4.0",
98100
"tsx": "4.19.2",
99-
"turbo": "2.3.3",
101+
"turbo": "2.5.8",
100102
"typescript": "5.7.3",
101103
"vite-tsconfig-paths": "5.1.4",
102104
"vitest": "3.2.4"
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"$schema": "https://turborepo.org/schema.json",
3+
"extends": ["//"],
4+
"tasks": {
5+
"example": {
6+
"persistent": true,
7+
"cache": false
8+
}
9+
}
10+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"$schema": "https://turborepo.org/schema.json",
3+
"extends": ["//"],
4+
"tasks": {
5+
"dev": {
6+
"persistent": true,
7+
"cache": false
8+
}
9+
}
10+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"$schema": "https://turborepo.org/schema.json",
3+
"extends": ["//"],
4+
"tasks": {
5+
"dev": {
6+
"persistent": true,
7+
"cache": false
8+
}
9+
}
10+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"$schema": "https://turborepo.org/schema.json",
3+
"extends": ["//"],
4+
"tasks": {
5+
"dev": {
6+
"persistent": true,
7+
"cache": false
8+
}
9+
}
10+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"$schema": "https://turborepo.org/schema.json",
3+
"extends": ["//"],
4+
"tasks": {
5+
"dev": {
6+
"persistent": true,
7+
"cache": false
8+
}
9+
}
10+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"$schema": "https://turborepo.org/schema.json",
3+
"extends": ["//"],
4+
"tasks": {
5+
"dev": {
6+
"persistent": true,
7+
"cache": false
8+
}
9+
}
10+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"$schema": "https://turborepo.org/schema.json",
3+
"extends": ["//"],
4+
"tasks": {
5+
"dev": {
6+
"persistent": true,
7+
"cache": false
8+
}
9+
}
10+
}

packages/services/server/turbo.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
"dependsOn": ["^build"],
77
"outputs": ["dist/**"],
88
"inputs": ["../../web/app/src/gql/persisted-documents.json"]
9+
},
10+
"dev": {
11+
"persistent": true,
12+
"cache": false
913
}
1014
}
1115
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"$schema": "https://turborepo.org/schema.json",
3+
"extends": ["//"],
4+
"tasks": {
5+
"dev": {
6+
"persistent": true,
7+
"cache": false
8+
}
9+
}
10+
}

0 commit comments

Comments
 (0)