Fix turbo scripts (#5859)

[always run yarn build before
watch](2507302e29)

or else everything doesn't get built
closes https://github.com/transloadit/uppy/issues/5858
This commit is contained in:
Mikael Finstad 2025-07-30 18:42:48 +02:00 committed by GitHub
parent acdc683d47
commit 8df48060fa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 12 deletions

View file

@ -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",

View file

@ -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
}
}
}