Turborepo 2.0

This commit is contained in:
Stan Wohlwend 2024-07-01 16:50:34 -07:00
parent cbf409ab25
commit 95968215bf
3 changed files with 41 additions and 37 deletions

View File

@ -15,10 +15,10 @@
"psql": "only-allow pnpm && pnpm run --filter=@stackframe/stack-backend psql",
"prisma": "only-allow pnpm && pnpm run --filter=@stackframe/stack-backend prisma",
"fern": "only-allow pnpm && pnpm run --filter=@stackframe/docs fern",
"dev": "only-allow pnpm && turbo run dev --parallel --continue",
"start": "only-allow pnpm && turbo run start --parallel --continue",
"start:backend": "only-allow pnpm && turbo run start --continue --filter=@stackframe/stack-backend...",
"start:dashboard": "only-allow pnpm && turbo run start --continue --filter=@stackframe/stack-dashboard...",
"dev": "only-allow pnpm && turbo run dev --concurrency 99999",
"start": "only-allow pnpm && turbo run start --concurrency 99999",
"start:backend": "only-allow pnpm && turbo run start --concurrency 99999 --filter=@stackframe/stack-backend...",
"start:dashboard": "only-allow pnpm && turbo run start --concurrency 99999 --filter=@stackframe/stack-dashboard...",
"lint": "only-allow pnpm && turbo run lint --no-cache -- --max-warnings=0",
"release": "only-allow pnpm && release",
"peek": "only-allow pnpm && pnpm release --peek",
@ -50,7 +50,7 @@
"rimraf": "^5.0.5",
"supertest": "^6.3.4",
"tsup": "^8.0.2",
"turbo": "^1.11.3",
"turbo": "^2.0.6",
"typescript": "5.3.3",
"vitest": "^1.5.0"
},
@ -63,5 +63,6 @@
},
"dependencies": {
"styled-components": "^6.1.8"
}
},
"packageManager": "pnpm@9.1.2"
}

View File

@ -76,8 +76,8 @@ importers:
specifier: ^8.0.2
version: 8.1.0(@swc/core@1.3.101)(postcss@8.4.38)(typescript@5.3.3)
turbo:
specifier: ^1.11.3
version: 1.13.4
specifier: ^2.0.6
version: 2.0.6
typescript:
specifier: 5.3.3
version: 5.3.3
@ -7308,38 +7308,38 @@ packages:
tunnel-agent@0.6.0:
resolution: {integrity: sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==}
turbo-darwin-64@1.13.4:
resolution: {integrity: sha512-A0eKd73R7CGnRinTiS7txkMElg+R5rKFp9HV7baDiEL4xTG1FIg/56Vm7A5RVgg8UNgG2qNnrfatJtb+dRmNdw==}
turbo-darwin-64@2.0.6:
resolution: {integrity: sha512-XpgBwWj3Ggmz/gQVqXdMKXHC1iFPMDiuwugLwSzE7Ih0O13JuNtYZKhQnopvbDQnFQCeRq2Vsm5OTWabg/oB/g==}
cpu: [x64]
os: [darwin]
turbo-darwin-arm64@1.13.4:
resolution: {integrity: sha512-eG769Q0NF6/Vyjsr3mKCnkG/eW6dKMBZk6dxWOdrHfrg6QgfkBUk0WUUujzdtVPiUIvsh4l46vQrNVd9EOtbyA==}
turbo-darwin-arm64@2.0.6:
resolution: {integrity: sha512-RfeZYXIAkiA21E8lsvfptGTqz/256YD+eI1x37fedfvnHFWuIMFZGAOwJxtZc6QasQunDZ9TRRREbJNI68tkIw==}
cpu: [arm64]
os: [darwin]
turbo-linux-64@1.13.4:
resolution: {integrity: sha512-Bq0JphDeNw3XEi+Xb/e4xoKhs1DHN7OoLVUbTIQz+gazYjigVZvtwCvgrZI7eW9Xo1eOXM2zw2u1DGLLUfmGkQ==}
turbo-linux-64@2.0.6:
resolution: {integrity: sha512-92UDa0xNQQbx0HdSp9ag3YSS3xPdavhc7q9q9mxIAcqyjjD6VElA4Y85m4F/DDGE5SolCrvBz2sQhVmkOd6Caw==}
cpu: [x64]
os: [linux]
turbo-linux-arm64@1.13.4:
resolution: {integrity: sha512-BJcXw1DDiHO/okYbaNdcWN6szjXyHWx9d460v6fCHY65G8CyqGU3y2uUTPK89o8lq/b2C8NK0yZD+Vp0f9VoIg==}
turbo-linux-arm64@2.0.6:
resolution: {integrity: sha512-eQKu6utCVUkIH2kqOzD8OS6E0ba6COjWm6PRDTNCHQRljZW503ycaTUIdMOiJrVg1MkEjDyOReUg8s8D18aJ4Q==}
cpu: [arm64]
os: [linux]
turbo-windows-64@1.13.4:
resolution: {integrity: sha512-OFFhXHOFLN7A78vD/dlVuuSSVEB3s9ZBj18Tm1hk3aW1HTWTuAw0ReN6ZNlVObZUHvGy8d57OAGGxf2bT3etQw==}
turbo-windows-64@2.0.6:
resolution: {integrity: sha512-+9u4EPrpoeHYCQ46dRcou9kbkSoelhOelHNcbs2d86D6ruYD/oIAHK9qgYK8LeARRz0jxhZIA/dWYdYsxJJWkw==}
cpu: [x64]
os: [win32]
turbo-windows-arm64@1.13.4:
resolution: {integrity: sha512-u5A+VOKHswJJmJ8o8rcilBfU5U3Y1TTAfP9wX8bFh8teYF1ghP0EhtMRLjhtp6RPa+XCxHHVA2CiC3gbh5eg5g==}
turbo-windows-arm64@2.0.6:
resolution: {integrity: sha512-rdrKL+p+EjtdDVg0wQ/7yTbzkIYrnb0Pw4IKcjsy3M0RqUM9UcEi67b94XOAyTa5a0GqJL1+tUj2ebsFGPgZbg==}
cpu: [arm64]
os: [win32]
turbo@1.13.4:
resolution: {integrity: sha512-1q7+9UJABuBAHrcC4Sxp5lOqYS5mvxRrwa33wpIyM18hlOCpRD/fTJNxZ0vhbMcJmz15o9kkVm743mPn7p6jpQ==}
turbo@2.0.6:
resolution: {integrity: sha512-/Ftmxd5Mq//a9yMonvmwENNUN65jOVTwhhBPQjEtNZutYT9YKyzydFGLyVM1nzhpLWahQSMamRc/RDBv5EapzA==}
hasBin: true
type-check@0.4.0:
@ -15108,32 +15108,32 @@ snapshots:
dependencies:
safe-buffer: 5.2.1
turbo-darwin-64@1.13.4:
turbo-darwin-64@2.0.6:
optional: true
turbo-darwin-arm64@1.13.4:
turbo-darwin-arm64@2.0.6:
optional: true
turbo-linux-64@1.13.4:
turbo-linux-64@2.0.6:
optional: true
turbo-linux-arm64@1.13.4:
turbo-linux-arm64@2.0.6:
optional: true
turbo-windows-64@1.13.4:
turbo-windows-64@2.0.6:
optional: true
turbo-windows-arm64@1.13.4:
turbo-windows-arm64@2.0.6:
optional: true
turbo@1.13.4:
turbo@2.0.6:
optionalDependencies:
turbo-darwin-64: 1.13.4
turbo-darwin-arm64: 1.13.4
turbo-linux-64: 1.13.4
turbo-linux-arm64: 1.13.4
turbo-windows-64: 1.13.4
turbo-windows-arm64: 1.13.4
turbo-darwin-64: 2.0.6
turbo-darwin-arm64: 2.0.6
turbo-linux-64: 2.0.6
turbo-linux-arm64: 2.0.6
turbo-windows-64: 2.0.6
turbo-windows-arm64: 2.0.6
type-check@0.4.0:
dependencies:

View File

@ -1,6 +1,6 @@
{
"$schema": "https://turbo.build/schema.json",
"pipeline": {
"tasks": {
"build": {
"dependsOn": [
"^build"
@ -13,15 +13,17 @@
"*.d.ts",
"*.d.ts.map"
],
"outputMode": "new-only"
"outputLogs": "new-only"
},
"clean": {
"cache": false
},
"dev": {
"persistent": true,
"cache": false
},
"start": {
"persistent": true,
"cache": false
},
"lint": {
@ -37,6 +39,7 @@
"cache": false
},
"test": {
"persistent": true,
"cache": false
},
"test:watch": {