Skip to content

Commit

Permalink
Upgrade Turborepo
Browse files Browse the repository at this point in the history
  • Loading branch information
tassoevan committed Jul 25, 2024
1 parent f1d15ca commit bacc190
Show file tree
Hide file tree
Showing 3 changed files with 111 additions and 79 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@types/chart.js": "^2.9.39",
"@types/js-yaml": "^4.0.8",
"ts-node": "^10.9.2",
"turbo": "^1.12.4"
"turbo": "latest"
},
"workspaces": [
"apps/*",
Expand Down
128 changes: 80 additions & 48 deletions turbo.json
Original file line number Diff line number Diff line change
@@ -1,50 +1,82 @@
{
"$schema": "https://turborepo.org/schema.json",
"globalDependencies": ["tsconfig.base.json", "tsconfig.base.server.json", "tsconfig.base.client.json"],
"pipeline": {
"build": {
"dependsOn": ["^build"],
"outputs": ["dist/**"]
},
"testunit": {
"dependsOn": ["build"],
"outputs": ["coverage/**"]
},
"lint": {
"dependsOn": ["build"],
"outputs": []
},
"translation-check": {
"outputs": []
},
"typecheck": {
"dependsOn": ["^build"],
"outputs": []
},
"dev": {
"dependsOn": ["^dev"],
"cache": false
},
"dsv": {
"dependsOn": ["build"],
"cache": false
},
"ms": {
"dependsOn": ["^build"]
},
"@rocket.chat/meteor#build": {
"dependsOn": ["^build"],
"cache": false
},
"@rocket.chat/meteor#build:ci": {
"dependsOn": ["^build"],
"cache": false
},

"@rocket.chat/ddp-streamer#build": {
"dependsOn": ["^build"],
"outputs": ["dist/**"],
"inputs": ["../../../apps/meteor/server/**", "./src/**"]
}
}
"$schema": "https://turborepo.org/schema.json",
"globalDependencies": [
"tsconfig.base.json",
"tsconfig.base.server.json",
"tsconfig.base.client.json"
],
"tasks": {
"build": {
"dependsOn": [
"^build"
],
"outputs": [
"dist/**"
]
},
"testunit": {
"dependsOn": [
"build"
],
"outputs": [
"coverage/**"
]
},
"lint": {
"dependsOn": [
"build"
],
"outputs": []
},
"translation-check": {
"outputs": []
},
"typecheck": {
"dependsOn": [
"^build"
],
"outputs": []
},
"dev": {
"dependsOn": [
"^dev"
],
"cache": false
},
"dsv": {
"dependsOn": [
"build"
],
"cache": false
},
"ms": {
"dependsOn": [
"^build"
]
},
"@rocket.chat/meteor#build": {
"dependsOn": [
"^build"
],
"cache": false
},
"@rocket.chat/meteor#build:ci": {
"dependsOn": [
"^build"
],
"cache": false
},
"@rocket.chat/ddp-streamer#build": {
"dependsOn": [
"^build"
],
"outputs": [
"dist/**"
],
"inputs": [
"../../../apps/meteor/server/**",
"./src/**"
]
}
}
}
60 changes: 30 additions & 30 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -36790,7 +36790,7 @@ __metadata:
"@types/js-yaml": ^4.0.8
node-gyp: ^9.4.1
ts-node: ^10.9.2
turbo: ^1.12.4
turbo: latest
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -40313,58 +40313,58 @@ __metadata:
languageName: node
linkType: hard

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

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

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

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

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

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

"turbo@npm:^1.12.4":
version: 1.12.4
resolution: "turbo@npm:1.12.4"
dependencies:
turbo-darwin-64: 1.12.4
turbo-darwin-arm64: 1.12.4
turbo-linux-64: 1.12.4
turbo-linux-arm64: 1.12.4
turbo-windows-64: 1.12.4
turbo-windows-arm64: 1.12.4
"turbo@npm:latest":
version: 2.0.9
resolution: "turbo@npm:2.0.9"
dependencies:
turbo-darwin-64: 2.0.9
turbo-darwin-arm64: 2.0.9
turbo-linux-64: 2.0.9
turbo-linux-arm64: 2.0.9
turbo-windows-64: 2.0.9
turbo-windows-arm64: 2.0.9
dependenciesMeta:
turbo-darwin-64:
optional: true
Expand All @@ -40380,7 +40380,7 @@ __metadata:
optional: true
bin:
turbo: bin/turbo
checksum: d387fb91af6ed0ea925201d3858180353c5d93be564829de2e22f48fe57124d1347d2abb8b99215901a305d4c6da4a0daf4c28afeec20fa1bc1ae2762c3b8d3d
checksum: 11896c5ede91c081161cc481effb922733dbae234277345144e4f9f069aeed0f2c38f9f9d25116773c348ebfe149631374e204f256a8d74486943be983547214
languageName: node
linkType: hard

Expand Down

0 comments on commit bacc190

Please sign in to comment.