Commit graph

16 commits

Author SHA1 Message Date
Mikael Finstad
0c16fe44b9
Golden retriever refactor and UppyFile type improvements (#5978)
Probably best reviewed commit by commit.

I also split UppyFile into two intefaces distinguished by the `isRemote`
boolean:
- LocalUppyFile
- RemoteUppyFile

Also:
- Removed the TagFile type
- Don't re-upload completed files - fixes #5930
- Clean up stored files on `complete` event *only* if *all* files
succeeded (no failed files). this allows the user to retry failed files
if the browser & upload get interrupted - fixes #5927, closes #5955
- Only set `isGhost` for non-successful files. it doesn't make sense for
successfully uploaded files to be ghosted because they're already done.
#5930

fixes #6013

---------

Co-authored-by: Prakash <qxprakash@gmail.com>
2025-10-17 23:17:40 +08:00
Merlijn Vos
0294539af6
Fix object not extensible (#5835)
Closes #5829
2025-07-21 12:48:18 +02:00
Merlijn Vos
75c8007cf9
Isolate CSS building per package (#5799)
- Isolate CSS bundling per package
- Fix _all_ sass deprecation warnings
- Remove global scripts
- Run CSS building in parallel .

Is it repetitive? Yes a bit. But it's mono repo best practice and once
we introduce turbo each css build step can be individually cached. That
means when you edit scss in one package, only that needs to be rebuild,
not the TS of that package nor any other CSS. This PR lays the
groundwork for that.
2025-07-07 11:47:14 +02:00
Mikael Finstad
d183cea86d
fix ReferenceError: h is not defined 2025-07-03 16:36:35 +02:00
Merlijn Vos
78299475ae
Migrate from Eslint/Prettier/Stylelint to Biome (#5794) 2025-07-01 14:55:41 +02:00
Antoine du Hamel
c7bb57b7f8
dev: remove extensions from Vite aliases
This started causing issues as we are transitioning to TS. By removing the file extension, Vite is able to pick up the correct file.
2023-12-18 15:18:33 +01:00
Antoine du Hamel
773c8cb9a1
meta: add support for TypeScript plugins (#4640) 2023-10-17 15:38:15 +02:00
Antoine du Hamel
c223a1f204
@uppy/transloadit: remove IE 10 hack (#3777) 2022-05-30 18:32:53 +02:00
Antoine du Hamel
b01a52e368
meta: remove vite-plugin-jsx-commonjs plugin on dev env (#3749)
Now that we removed all JSX and CJS from `.js` files,
there's no need to run Babel on every files, which speeds up greatly the
time it takes for Vite to get ready.
2022-05-23 16:50:45 +02:00
Antoine du Hamel
3f5a03f504
@uppy/transloadit: refactor to ESM (#3725) 2022-05-17 15:17:50 +02:00
Antoine du Hamel
bc341351b3
meta: fix dev env Vite's config 2022-05-14 13:51:07 +02:00
Antoine du Hamel
994acffca2
meta: fix CJS interop in Vite config (#3543)
* meta: fix CJS interop in Vite config

* fixup! meta: fix CJS interop in Vite config
2022-03-08 18:37:53 +01:00
Antoine du Hamel
a6e36217ad
meta: add support for ESM sources in build script (#3468) 2022-02-15 17:46:14 +01:00
Merlijn Vos
6da874ed3a
meta: Make E2E Great Again (#3444)
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
2022-02-08 17:37:27 +01:00
Artur Paikin
18bd009771
Add PostCSS handling to Vite (#3467)
* Add postcss handling to Vite

* Update yarn.lock
2022-02-07 23:36:38 +00:00
Antoine du Hamel
b0bf1a3eb4
meta: move dev workspace to private/ (#3368)
* meta: move dev workspace to `private/`

* `DragDrop.html` -> `dragdrop.html`
2021-12-14 12:53:34 +01:00
Renamed from examples/dev/vite.config.js (Browse further)