fix broken build:clean

It kept mysteriously deleting `packages/@uppy/companion/node_modules/webdav/dist/node/compat/env.js`
turns out it was because of the line `env.*` in `packages/@uppy/companion/.gitignore`
This commit is contained in:
Mikael Finstad 2025-08-06 23:20:22 +02:00
parent 250806a63b
commit 2508068551
No known key found for this signature in database
GPG key ID: 25AB36E3E81CBC26

View file

@ -12,8 +12,8 @@
"private/*"
],
"scripts": {
"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": "turbo run --no-daemon build build:css --filter='./packages/@uppy/*' --filter='./packages/uppy'",
"build:clean": "git clean -Xfd packages e2e .parcel-cache coverage .turbo -e '!node_modules' -e '!**/node_modules/**/*'",
"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",