mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-17 16:50:22 +00:00
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:
parent
acdc683d47
commit
8df48060fa
2 changed files with 2 additions and 12 deletions
|
|
@ -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",
|
||||
|
|
|
|||
10
turbo.json
10
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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue