Skip to content

Commit

Permalink
fix: turbo problem
Browse files Browse the repository at this point in the history
  • Loading branch information
Fyko committed Aug 19, 2024
1 parent a55f887 commit 9f29f11
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 37 deletions.
4 changes: 2 additions & 2 deletions apps/bot/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUN yarn global add turbo
COPY . .
RUN turbo prune --scope bot --docker

FROM base as builder
FROM base AS builder
ENV CI true
WORKDIR /app

Expand All @@ -23,7 +23,7 @@ COPY --from=pruned /app/out/full/ .
COPY turbo.json turbo.json
RUN yarn turbo run build --filter bot

FROM node:20.14.0-slim as runner
FROM node:20.14.0-slim AS runner
WORKDIR /app
COPY --from=builder /app .
WORKDIR /app/apps/bot
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"ts-node": "^10.9.2",
"turbo": "^1.12.5",
"turbo": "^2.0.14",
"typescript": "^5.4.2"
},
"lint-staged": {
Expand Down
8 changes: 4 additions & 4 deletions turbo.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"$schema": "https://turbo.build/schema.json",
"globalDependencies": ["yarn.lock", "**/tsconfig.json", "**/tsup.config.ts"],
"pipeline": {
"tasks": {
"build": {
"dependsOn": ["^build"],
"inputs": ["src/**/*.ts"],
"outputs": ["dist/**"],
"cache": true,
"outputMode": "errors-only"
"outputLogs": "errors-only"
},
"dev": {
"persistent": true
Expand All @@ -30,7 +30,7 @@
"vite.config.ts"
],
"dependsOn": ["^build"],
"outputMode": "errors-only"
"outputLogs": "errors-only"
},
"format": {
"inputs": [
Expand All @@ -50,7 +50,7 @@
"vite.config.ts"
],
"dependsOn": ["^build"],
"outputMode": "errors-only"
"outputLogs": "errors-only"
}
}
}
60 changes: 30 additions & 30 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13306,7 +13306,7 @@ __metadata:
prettier: "npm:^3.2.5"
rimraf: "npm:^5.0.5"
ts-node: "npm:^10.9.2"
turbo: "npm:^1.12.5"
turbo: "npm:^2.0.14"
typescript: "npm:^5.4.2"
languageName: unknown
linkType: soft
Expand Down Expand Up @@ -13638,58 +13638,58 @@ __metadata:
languageName: node
linkType: hard

"turbo-darwin-64@npm:1.12.5":
version: 1.12.5
resolution: "turbo-darwin-64@npm:1.12.5"
"turbo-darwin-64@npm:2.0.14":
version: 2.0.14
resolution: "turbo-darwin-64@npm:2.0.14"
conditions: os=darwin & cpu=x64
languageName: node
linkType: hard

"turbo-darwin-arm64@npm:1.12.5":
version: 1.12.5
resolution: "turbo-darwin-arm64@npm:1.12.5"
"turbo-darwin-arm64@npm:2.0.14":
version: 2.0.14
resolution: "turbo-darwin-arm64@npm:2.0.14"
conditions: os=darwin & cpu=arm64
languageName: node
linkType: hard

"turbo-linux-64@npm:1.12.5":
version: 1.12.5
resolution: "turbo-linux-64@npm:1.12.5"
"turbo-linux-64@npm:2.0.14":
version: 2.0.14
resolution: "turbo-linux-64@npm:2.0.14"
conditions: os=linux & cpu=x64
languageName: node
linkType: hard

"turbo-linux-arm64@npm:1.12.5":
version: 1.12.5
resolution: "turbo-linux-arm64@npm:1.12.5"
"turbo-linux-arm64@npm:2.0.14":
version: 2.0.14
resolution: "turbo-linux-arm64@npm:2.0.14"
conditions: os=linux & cpu=arm64
languageName: node
linkType: hard

"turbo-windows-64@npm:1.12.5":
version: 1.12.5
resolution: "turbo-windows-64@npm:1.12.5"
"turbo-windows-64@npm:2.0.14":
version: 2.0.14
resolution: "turbo-windows-64@npm:2.0.14"
conditions: os=win32 & cpu=x64
languageName: node
linkType: hard

"turbo-windows-arm64@npm:1.12.5":
version: 1.12.5
resolution: "turbo-windows-arm64@npm:1.12.5"
"turbo-windows-arm64@npm:2.0.14":
version: 2.0.14
resolution: "turbo-windows-arm64@npm:2.0.14"
conditions: os=win32 & cpu=arm64
languageName: node
linkType: hard

"turbo@npm:^1.12.5":
version: 1.12.5
resolution: "turbo@npm:1.12.5"
dependencies:
turbo-darwin-64: "npm:1.12.5"
turbo-darwin-arm64: "npm:1.12.5"
turbo-linux-64: "npm:1.12.5"
turbo-linux-arm64: "npm:1.12.5"
turbo-windows-64: "npm:1.12.5"
turbo-windows-arm64: "npm:1.12.5"
"turbo@npm:^2.0.14":
version: 2.0.14
resolution: "turbo@npm:2.0.14"
dependencies:
turbo-darwin-64: "npm:2.0.14"
turbo-darwin-arm64: "npm:2.0.14"
turbo-linux-64: "npm:2.0.14"
turbo-linux-arm64: "npm:2.0.14"
turbo-windows-64: "npm:2.0.14"
turbo-windows-arm64: "npm:2.0.14"
dependenciesMeta:
turbo-darwin-64:
optional: true
Expand All @@ -13705,7 +13705,7 @@ __metadata:
optional: true
bin:
turbo: bin/turbo
checksum: 10/16eee9455f69d66c783050f67f5519d365297f89ff5f5fe6380a401ff9ac508a58cdc1a42f84603c4b820cfe8c2117d78fa8d9b0d5d68e306b7b89921467e52c
checksum: 10/8702de17bb7a05c9feed56eef76acdde5e2161a72647c0bf22b602e0e5004e4908bca7f58aa727b386af0869e516d424e363d6fe97dd562d297b128634a123e0
languageName: node
linkType: hard

Expand Down

0 comments on commit 9f29f11

Please sign in to comment.