From 8df48060fa8b3ab4d11b6d1832777f632e9fdc70 Mon Sep 17 00:00:00 2001 From: Mikael Finstad Date: Wed, 30 Jul 2025 18:42:48 +0200 Subject: [PATCH] Fix turbo scripts (#5859) [always run yarn build before watch](https://github.com/transloadit/uppy/commit/2507302e29d9594f7082f38803adc9bea58d53ec) or else everything doesn't get built closes https://github.com/transloadit/uppy/issues/5858 --- package.json | 4 ++-- turbo.json | 10 ---------- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/package.json b/package.json index ccff15df2..b021e00b1 100644 --- a/package.json +++ b/package.json @@ -13,8 +13,8 @@ ], "scripts": { "build": "turbo run build build:css --filter='./packages/@uppy/*' --filter='./packages/uppy'", - "build:clean": "cp .gitignore .gitignore.bak && printf '!node_modules\n!**/node_modules/**/*\n' >> .gitignore; git clean -Xfd packages e2e .parcel-cache coverage; mv .gitignore.bak .gitignore", - "build:watch": "turbo watch build build:css --filter='./packages/@uppy/*'", + "build:clean": "cp .gitignore .gitignore.bak && printf '!node_modules\n!**/node_modules/**/*\n' >> .gitignore; git clean -Xfd packages e2e .parcel-cache coverage .turbo; mv .gitignore.bak .gitignore", + "build:watch": "yarn build && turbo watch build build:css --filter='./packages/@uppy/*' --filter='./packages/uppy'", "migrate:components": "yarn workspace @uppy/components migrate", "check": "yarn exec biome check --write", "check:ci": "yarn exec biome ci", diff --git a/turbo.json b/turbo.json index d4b27cff7..8b4eab539 100644 --- a/turbo.json +++ b/turbo.json @@ -23,11 +23,6 @@ ], "outputs": ["lib/**", "dist/**"] }, - "build:watch": { - "outputLogs": "new-only", - "persistent": true, - "cache": false - }, "build:css": { "outputLogs": "new-only", "inputs": ["src/**/*.scss"], @@ -41,11 +36,6 @@ "test": { "outputLogs": "errors-only", "dependsOn": ["^test"] - }, - "test:watch": { - "outputLogs": "new-only", - "persistent": true, - "cache": false } } }