uppy/packages/@uppy/components/src
Merlijn Vos 72d2d68ea3
Fix various deps and peer deps in packages (#6030)
**Fixes**

- `@uppy/components` incorrectly had a lot of packages in `dependencies`
while they should be `peerDependencies`. Also removed `remote-sources`
completely as this drags in a lot of plugins and we don't even need it
there.
- `@uppy/{react,vue,svelte}` now has to have the same `peerDependencies`
as `components` as the requirement has been moved up. We also mark them
as optional, they are only needed if you use a hook such as `useWebcam`
needing `@uppy/webcam`.
- Remove `companion-client` and `provider-views` from `transloadit`.
Those are never used by the package.
- Remove `@uppy/utils` from `@uppy/angular` and `@uppy/react`, we can
just use imports from `core`
- Place `@uppy/status-bar` back in peer deps. This is critical but
forgotten when status bar was put back inside frameworks.

**Implications**
- Moving peer deps to deps in `@uppy/components` now requires people to
install these dependencies. However, they kind of had to anyway before
as we require people to install the plugin on uppy (`.use(Webcam')`) if
you want to use `useWebcam` and if you try to import a dep you did not
install they would have gotten an error already.
- Note: this is not the same situation as with importing dashboard
component from @uppy/react which causes a runtime crash because
@uppy/dashboard is missing. In this case we only depend on _types_, so
we don't have this problem.
2025-10-28 09:55:21 +01:00
..
hooks Fix various deps and peer deps in packages (#6030) 2025-10-28 09:55:21 +01:00
Dropzone.tsx Run biome check on main (#5896) 2025-08-11 10:06:21 +02:00
FilesGrid.tsx @uppy/components: add imageThumbnail prop to FilesList/FilesGrid (#5985) 2025-09-29 11:03:12 +02:00
FilesList.tsx @uppy/components: add imageThumbnail prop to FilesList/FilesGrid (#5985) 2025-09-29 11:03:12 +02:00
index.ts Migrate from Eslint/Prettier/Stylelint to Biome (#5794) 2025-07-01 14:55:41 +02:00
input.css Use turbo for building and watching concurrently (#5808) 2025-07-10 13:21:18 +02:00
ProviderIcon.tsx Run biome check on main (#5896) 2025-08-11 10:06:21 +02:00
Thumbnail.tsx Golden retriever refactor and UppyFile type improvements (#5978) 2025-10-17 23:17:40 +08:00
types.ts Add useDropzone & useFileInput (#5735) 2025-06-09 10:54:28 +02:00
UploadButton.tsx Run biome check on main (#5896) 2025-08-11 10:06:21 +02:00
uppyEventAdapter.ts Migrate from Eslint/Prettier/Stylelint to Biome (#5794) 2025-07-01 14:55:41 +02:00