refactor(core): merge @uppy/companion-client into core via ./companion-client export

This commit is contained in:
prakash 2026-06-15 13:29:02 +05:30
parent 156b87ec17
commit b3aa4cdd6c
No known key found for this signature in database
86 changed files with 77 additions and 684 deletions

View file

@ -4,7 +4,6 @@
"private": true,
"type": "module",
"dependencies": {
"@uppy/companion-client": "workspace:*",
"@uppy/core": "workspace:*",
"@uppy/dashboard": "workspace:*",
"@uppy/google-drive": "workspace:*",

View file

@ -37,9 +37,6 @@
".": "./lib/index.js",
"./package.json": "./package.json"
},
"dependencies": {
"@uppy/companion-client": "workspace:^"
},
"devDependencies": {
"@aws-sdk/client-s3": "^3.362.0",
"@aws-sdk/s3-request-presigner": "^3.362.0",

View file

@ -1,4 +1,3 @@
import { RequestClient } from '@uppy/companion-client'
import {
BasePlugin,
type DefinePluginOpts,
@ -6,6 +5,7 @@ import {
type PluginOpts,
type Uppy,
} from '@uppy/core'
import { RequestClient } from '@uppy/core/companion-client'
import type {
Body,
LocalUppyFile,

View file

@ -7,9 +7,6 @@
"include": ["./src/**/*.*"],
"exclude": ["./src/**/*.test.ts"],
"references": [
{
"path": "../companion-client/tsconfig.build.json"
},
{
"path": "../core/tsconfig.build.json"
}

View file

@ -7,9 +7,6 @@
},
"include": ["./package.json", "./src/**/*.*"],
"references": [
{
"path": "../companion-client/tsconfig.build.json"
},
{
"path": "../core/tsconfig.build.json"
}

View file

@ -34,7 +34,6 @@
"./package.json": "./package.json"
},
"dependencies": {
"@uppy/companion-client": "workspace:^",
"@uppy/provider-views": "workspace:^",
"preact": "^10.29.2"
},

View file

@ -1,9 +1,3 @@
import {
type CompanionPluginOptions,
getAllowedHosts,
Provider,
tokenStorage,
} from '@uppy/companion-client'
import type {
AsyncStore,
Body,
@ -13,6 +7,12 @@ import type {
UppyFile,
} from '@uppy/core'
import { UIPlugin, type Uppy } from '@uppy/core'
import {
type CompanionPluginOptions,
getAllowedHosts,
Provider,
tokenStorage,
} from '@uppy/core/companion-client'
import type { LocaleStrings } from '@uppy/core/utils'
import { ProviderViews } from '@uppy/provider-views'
// biome-ignore lint/style/useImportType: h is not a type

View file

@ -7,9 +7,6 @@
"include": ["./src/**/*.*"],
"exclude": ["./src/**/*.test.ts"],
"references": [
{
"path": "../companion-client/tsconfig.build.json"
},
{
"path": "../provider-views/tsconfig.build.json"
},

View file

@ -6,9 +6,6 @@
},
"include": ["./package.json", "./src/**/*.*"],
"references": [
{
"path": "../companion-client/tsconfig.build.json"
},
{
"path": "../provider-views/tsconfig.build.json"
},

View file

@ -1 +0,0 @@
tsconfig.*

View file

@ -1,301 +0,0 @@
# @uppy/companion-client
## 5.1.1
### Patch Changes
- 0c16fe4: - Split UppyFile into two intefaces distinguished by the `isRemote` boolean:
- LocalUppyFile
- RemoteUppyFile
- Updated dependencies [0c16fe4]
- @uppy/core@5.1.1
- @uppy/utils@7.1.1
## 5.1.0
### Minor Changes
- 5ba2c1c: Introduce the concept of server-side search and add support for it for the Dropbox provider. Previously, only client-side filtering in the currently viewed folder was possible, which was limiting. Now users using Companion with Dropbox can perform a search across their entire account.
### Patch Changes
- Updated dependencies [5ba2c1c]
- @uppy/utils@7.1.0
- @uppy/core@5.1.0
## 5.0.1
### Patch Changes
- 975317d: Removed "main" from package.json, since export maps serve as the contract for the public API.
- Updated dependencies [4b6a76c]
- Updated dependencies [975317d]
- Updated dependencies [9bac4c8]
- @uppy/core@5.0.2
- @uppy/utils@7.0.2
## 5.0.0
### Major Changes
- c5b51f6: ### Export maps for all packages
All packages now have export maps. This is a breaking change in two cases:
1. The css imports have changed from `@uppy[package]/dist/styles.min.css` to `@uppy[package]/css/styles.min.css`
2. You were importing something that wasn't exported from the root, for instance `@uppy/core/lib/foo.js`. You can now only import things we explicitly exported.
#### Changed imports for `@uppy/react`, `@uppy/vue`, and `@uppy/svelte`
Some components, like Dashboard, require a peer dependency to work but since all components were exported from a single file you were forced to install all peer dependencies. Even if you never imported, for instance, the status bar component.
Every component that requires a peer dependency has now been moved to a subpath, such as `@uppy/react/dashboard`, so you only need to install the peer dependencies you need.
**Example for `@uppy/react`:**
**Before:**
```javascript
import { Dashboard, StatusBar } from "@uppy/react";
```
**Now:**
```javascript
import Dashboard from "@uppy/react/dashboard";
import StatusBar from "@uppy/react/status-bar";
```
### Patch Changes
- Updated dependencies [d301c01]
- Updated dependencies [c5b51f6]
- @uppy/utils@7.0.0
- @uppy/core@5.0.0
## 4.5.2
### Patch Changes
- 1b1a9e3: Define "files" in package.json
- Updated dependencies [1b1a9e3]
- @uppy/utils@6.2.2
- @uppy/core@4.5.2
## 4.5.0
### Minor Changes
- 0c24c5a: Use TypeScript compiler instead of Babel
### Patch Changes
- Updated dependencies [0c24c5a]
- Updated dependencies [0c24c5a]
- @uppy/core@4.5.0
- @uppy/utils@6.2.0
## 4.4.2
Released: 2025-05-18
Included in: Uppy v4.16.0
- @uppy/companion-client: don't reject on incorrect origin (Mikael Finstad / #5736)
## 4.4.0
Released: 2025-01-06
Included in: Uppy v4.11.0
- @uppy/angular,@uppy/audio,@uppy/aws-s3,@uppy/box,@uppy/companion-client,@uppy/compressor,@uppy/core,@uppy/dashboard,@uppy/drag-drop,@uppy/drop-target,@uppy/dropbox,@uppy/facebook,@uppy/file-input,@uppy/form,@uppy/golden-retriever,@uppy/google-drive-picker,@uppy/google-drive,@uppy/google-photos-picker,@uppy/google-photos,@uppy/image-editor,@uppy/informer,@uppy/instagram,@uppy/locales,@uppy/onedrive,@uppy/progress-bar,@uppy/provider-views,@uppy/react,@uppy/remote-sources,@uppy/screen-capture,@uppy/status-bar,@uppy/thumbnail-generator,@uppy/transloadit,@uppy/tus,@uppy/unsplash,@uppy/url,@uppy/vue,@uppy/webcam,@uppy/webdav,@uppy/xhr-upload,@uppy/zoom: Remove "paths" from all tsconfig's (Merlijn Vos / #5572)
## 4.2.0
Released: 2024-12-05
Included in: Uppy v4.8.0
- @uppy/companion-client: Fix allowed origins (Mikael Finstad / #5536)
- @uppy/audio,@uppy/aws-s3,@uppy/box,@uppy/companion-client,@uppy/compressor,@uppy/core,@uppy/dashboard,@uppy/drag-drop,@uppy/drop-target,@uppy/dropbox,@uppy/facebook,@uppy/file-input,@uppy/form,@uppy/golden-retriever,@uppy/google-drive,@uppy/google-photos,@uppy/image-editor,@uppy/informer,@uppy/instagram,@uppy/locales,@uppy/onedrive,@uppy/progress-bar,@uppy/provider-views,@uppy/react,@uppy/remote-sources,@uppy/screen-capture,@uppy/status-bar,@uppy/store-default,@uppy/thumbnail-generator,@uppy/transloadit,@uppy/tus,@uppy/unsplash,@uppy/url,@uppy/utils,@uppy/vue,@uppy/webcam,@uppy/xhr-upload,@uppy/zoom: cleanup tsconfig (Mikael Finstad / #5520)
## 4.1.1
Released: 2024-10-31
Included in: Uppy v4.6.0
- @uppy/aws-s3,@uppy/box,@uppy/companion-client,@uppy/core,@uppy/dashboard,@uppy/drag-drop,@uppy/dropbox,@uppy/facebook,@uppy/file-input,@uppy/form,@uppy/golden-retriever,@uppy/google-drive,@uppy/google-photos,@uppy/image-editor,@uppy/informer,@uppy/instagram,@uppy/locales,@uppy/onedrive,@uppy/progress-bar,@uppy/provider-views,@uppy/react-native,@uppy/react,@uppy/redux-dev-tools,@uppy/screen-capture,@uppy/status-bar,@uppy/store-default,@uppy/store-redux,@uppy/svelte,@uppy/thumbnail-generator,@uppy/transloadit,@uppy/tus,@uppy/unsplash,@uppy/url,@uppy/utils,@uppy/vue,@uppy/webcam,@uppy/xhr-upload,@uppy/zoom: Fix links (Anthony Veaudry / #5492)
## 4.0.0
Released: 2024-07-10
Included in: Uppy v4.0.0
- docs,@uppy/companion-client: don't close socket when pausing (Mikael Finstad / #4821)
## 4.0.0-beta.7
Released: 2024-06-04
Included in: Uppy v4.0.0-beta.10
- @uppy/companion-client: do not allow boolean `RequestOptions` (Mikael Finstad / #5198)
- @uppy/companion-client: remove deprecated options (Mikael Finstad / #5198)
- @uppy/companion-client: make `supportsRefreshToken` default (Mikael Finstad / #5198)
- @uppy/companion-client: remove optional chaining (Mikael Finstad / #5198)
- @uppy/companion-client: remove `Socket` (Mikael Finstad / #5198)
## 4.0.0-beta.6
Released: 2024-05-14
Included in: Uppy v4.0.0-beta.7
- @uppy/companion-client,@uppy/dropbox,@uppy/screen-capture,@uppy/unsplash,@uppy/url,@uppy/webcam: Use `title` consistently from locales (Merlijn Vos / #5134)
## 4.0.0-beta.1
Released: 2024-03-28
Included in: Uppy v4.0.0-beta.1
- @uppy/companion-client,@uppy/provider-views,@uppy/status-bar: fix type imports (Antoine du Hamel / #5038)
- @uppy/companion-client: Replace Provider.initPlugin with composition (Merlijn Vos / #4977)
## 3.8.0
Released: 2024-03-27
Included in: Uppy v3.24.0
- @uppy/box,@uppy/companion-client,@uppy/provider-views,@uppy/status-bar: fix type imports (Antoine du Hamel / #5038)
- @uppy/companion-client: Replace Provider.initPlugin with composition (Merlijn Vos / #4977)
## 3.7.4
Released: 2024-02-28
Included in: Uppy v3.23.0
- @uppy/companion-client,@uppy/utils,@uppy/xhr-upload: improvements for #4922 (Mikael Finstad / #4960)
## 3.7.3
Released: 2024-02-22
Included in: Uppy v3.22.2
- @uppy/companion-client: fix body/url on upload-success (Merlijn Vos / #4922)
- @uppy/companion-client: remove unnecessary `'use strict'` directives (Antoine du Hamel / #4943)
- @uppy/companion-client: type changes for provider-views (Antoine du Hamel / #4938)
- @uppy/companion-client: update types (Antoine du Hamel / #4927)
## 3.7.1
Released: 2024-02-19
Included in: Uppy v3.22.0
- @uppy/aws-s3-multipart,@uppy/aws-s3,@uppy/companion-client,@uppy/tus,@uppy/xhr-upload: update `uppyfile` objects before emitting events (antoine du hamel / #4928)
- @uppy/companion-client: fix tests and linter (antoine du hamel / #4890)
- @uppy/companion-client: migrate to ts (merlijn vos / #4864)
- @uppy/companion-client: fix `typeerror` (antoine du hamel)
## 3.7.0
Released: 2023-12-12
Included in: Uppy v3.21.0
- @uppy/companion-client: avoid unnecessary preflight requests (Antoine du Hamel / #4462)
## 3.6.1
Released: 2023-11-24
Included in: Uppy v3.20.0
- @uppy/companion-client: fix log type error (Mikael Finstad / #4766)
- @uppy/companion-client: revert breaking change (Antoine du Hamel / #4801)
## 3.5.0
Released: 2023-10-20
Included in: Uppy v3.18.0
- @uppy/companion-client: fixup! Added Companion OAuth Key type (Murderlon / #4668)
- @uppy/companion-client: Added Companion OAuth Key type (Chris Pratt / #4668)
## 3.4.1
Released: 2023-09-29
Included in: Uppy v3.17.0
- @uppy/companion-client: fix a refresh token race condition (Mikael Finstad / #4695)
## 3.4.0
Released: 2023-09-05
Included in: Uppy v3.15.0
- @uppy/aws-s3-multipart,@uppy/aws-s3,@uppy/companion-client,@uppy/core,@uppy/tus,@uppy/utils,@uppy/xhr-upload: Move remote file upload logic into companion-client (Merlijn Vos / #4573)
## 3.3.0
Released: 2023-08-15
Included in: Uppy v3.14.0
- @uppy/companion-client,@uppy/provider-views: make authentication optional (Dominik Schmidt / #4556)
## 3.1.2
Released: 2023-04-04
Included in: Uppy v3.7.0
- @uppy/companion-client: do not open socket more than once (Artur Paikin)
## 3.1.1
Released: 2022-11-16
Included in: Uppy v3.3.1
- @uppy/companion-client: treat `*` the same as missing header (Antoine du Hamel / #4221)
## 3.1.0
Released: 2022-11-10
Included in: Uppy v3.3.0
- @uppy/companion-client: add support for `AbortSignal` (Antoine du Hamel / #4201)
- @uppy/companion-client: prevent preflight race condition (Mikael Finstad / #4182)
## 3.0.2
Released: 2022-09-25
Included in: Uppy v3.1.0
- @uppy/audio,@uppy/aws-s3-multipart,@uppy/aws-s3,@uppy/box,@uppy/companion-client,@uppy/companion,@uppy/compressor,@uppy/core,@uppy/dashboard,@uppy/drag-drop,@uppy/drop-target,@uppy/dropbox,@uppy/facebook,@uppy/file-input,@uppy/form,@uppy/golden-retriever,@uppy/google-drive,@uppy/image-editor,@uppy/informer,@uppy/instagram,@uppy/locales,@uppy/onedrive,@uppy/progress-bar,@uppy/provider-views,@uppy/react,@uppy/redux-dev-tools,@uppy/remote-sources,@uppy/screen-capture,@uppy/status-bar,@uppy/store-default,@uppy/store-redux,@uppy/svelte,@uppy/thumbnail-generator,@uppy/transloadit,@uppy/tus,@uppy/unsplash,@uppy/url,@uppy/utils,@uppy/vue,@uppy/webcam,@uppy/xhr-upload,@uppy/zoom: add missing entries to changelog for individual packages (Antoine du Hamel / #4092)
## 3.0.0
Released: 2022-08-22
Included in: Uppy v3.0.0
- Switch to ESM
## 2.2.0
Released: 2022-05-30
Included in: Uppy v2.11.0
- @uppy/companion-client: Revert "Revert "@uppy/companion-client: refactor to ESM"" (Antoine du Hamel / #3730)
## 2.1.0
Released: 2022-05-14
Included in: Uppy v2.10.0
- @uppy/companion-client: refactor to ESM (Antoine du Hamel / #3693)
## 2.0.6
Released: 2022-04-07
Included in: Uppy v2.9.2
- @uppy/aws-s3,@uppy/companion-client,@uppy/transloadit,@uppy/utils: Propagate `isNetworkError` through error wrappers (Renée Kooi / #3620)
## 2.0.5
Released: 2022-02-14
Included in: Uppy v2.5.0
- @uppy/companion-client,@uppy/companion,@uppy/provider-views,@uppy/robodog: Finishing touches on Companion dynamic Oauth (Renée Kooi / #2802)

View file

@ -1,21 +0,0 @@
The MIT License (MIT)
Copyright (c) 2018 Transloadit
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View file

@ -1,55 +0,0 @@
# @uppy/companion-client
<img src="https://uppy.io/img/logo.svg" width="120" alt="Uppy logo: a smiling puppy above a pink upwards arrow" align="right">
[![npm version](https://img.shields.io/npm/v/@uppy/companion-client.svg?style=flat-square)](https://www.npmjs.com/package/@uppy/companion-client)
![CI status for Uppy tests](https://github.com/transloadit/uppy/workflows/CI/badge.svg)
![CI status for Companion tests](https://github.com/transloadit/uppy/workflows/Companion/badge.svg)
![CI status for browser tests](https://github.com/transloadit/uppy/workflows/End-to-end%20tests/badge.svg)
Client library for communication with Companion. Intended for use in Uppy
plugins.
Uppy is being developed by the folks at [Transloadit](https://transloadit.com),
a versatile file encoding service.
## Example
```js
import Uppy from '@uppy/core'
import { Provider, RequestClient, Socket } from '@uppy/companion-client'
const uppy = new Uppy()
const client = new RequestClient(uppy, {
companionUrl: 'https://uppy.mywebsite.com/',
})
client.get('/drive/list').then(() => {})
const provider = new Provider(uppy, {
companionUrl: 'https://uppy.mywebsite.com/',
provider: providerPluginInstance,
})
provider.checkAuth().then(() => {})
const socket = new Socket({ target: 'wss://uppy.mywebsite.com/' })
socket.on('progress', () => {})
```
## Installation
> Unless you are writing a custom provider plugin, you do not need to install
> this.
```bash
$ npm install @uppy/companion-client
```
## Documentation
Documentation for this plugin can be found on the
[Uppy website](https://uppy.io/docs/companion).
## License
[The MIT License](./LICENSE).

View file

@ -1,50 +0,0 @@
{
"name": "@uppy/companion-client",
"description": "Client library for communication with Companion. Intended for use in Uppy plugins.",
"version": "5.1.1",
"license": "MIT",
"type": "module",
"sideEffects": false,
"scripts": {
"build": "tsc --build tsconfig.build.json",
"typecheck": "tsc --build",
"test": "vitest run --environment=jsdom --silent='passed-only'"
},
"keywords": [
"file uploader",
"uppy",
"uppy-plugin",
"companion",
"provider"
],
"homepage": "https://uppy.io",
"bugs": {
"url": "https://github.com/transloadit/uppy/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/transloadit/uppy.git"
},
"files": [
"src",
"lib",
"dist",
"CHANGELOG.md"
],
"exports": {
".": "./lib/index.js",
"./package.json": "./package.json"
},
"dependencies": {
"namespace-emitter": "^2.0.1",
"p-retry": "^6.1.0"
},
"devDependencies": {
"jsdom": "^29.1.1",
"typescript": "^5.8.3",
"vitest": "^4.1.6"
},
"peerDependencies": {
"@uppy/core": "workspace:^"
}
}

View file

@ -1,14 +0,0 @@
{
"extends": "../../../tsconfig.shared",
"compilerOptions": {
"outDir": "./lib",
"rootDir": "./src"
},
"include": ["./src/**/*.*"],
"exclude": ["./src/**/*.test.ts"],
"references": [
{
"path": "../core/tsconfig.build.json"
}
]
}

View file

@ -1,13 +0,0 @@
{
"extends": "../../../tsconfig.shared",
"compilerOptions": {
"emitDeclarationOnly": false,
"noEmit": true
},
"include": ["./package.json", "./src/**/*.*"],
"references": [
{
"path": "../core/tsconfig.build.json"
}
]
}

View file

@ -1,8 +0,0 @@
{
"extends": ["//"],
"tasks": {
"build": {
"dependsOn": ["^build", "@uppy/core#build"]
}
}
}

View file

@ -40,6 +40,7 @@
"./css/style.scss": "./src/style.scss",
"./store-default": "./lib/store/index.js",
"./utils": "./lib/utils/index.js",
"./companion-client": "./lib/companion-client/index.js",
"./package.json": "./package.json"
},
"dependencies": {
@ -48,6 +49,7 @@
"mime-match": "^1.0.2",
"namespace-emitter": "^2.0.1",
"nanoid": "^5.1.11",
"p-retry": "^6.1.0",
"preact": "^10.29.2"
},
"devDependencies": {

View file

@ -166,7 +166,7 @@ export interface BaseProviderPlugin {
* that uses the Companion-assisted OAuth flow.
* As the plugins are passed around throughout Uppy we need a generic type for this.
* It may seems like duplication, but this type safe. Changing the type of `storage`
* will error in the `Provider` class of @uppy/companion-client and vice versa.
* will error in the `Provider` class of @uppy/core/companion-client and vice versa.
*
* Note that this is the *plugin* class, not a version of the `Provider` class.
* `Provider` does operate on Companion plugins with `uppy.getPlugin()`.
@ -187,7 +187,7 @@ export type UnknownProviderPlugin<
* UnknownSearchProviderPlugin can be any search Companion plugin (such as Unsplash).
* As the plugins are passed around throughout Uppy we need a generic type for this.
* It may seems like duplication, but this type safe. Changing the type of `title`
* will error in the `SearchProvider` class of @uppy/companion-client and vice versa.
* will error in the `SearchProvider` class of @uppy/core/companion-client and vice versa.
*
* Note that this is the *plugin* class, not a version of the `SearchProvider` class.
* `SearchProvider` does operate on Companion plugins with `uppy.getPlugin()`.

View file

@ -1,4 +1,4 @@
import type { AsyncStore, UIPluginOptions } from '@uppy/core'
import type { AsyncStore, UIPluginOptions } from '../index.js'
export interface CompanionPluginOptions extends UIPluginOptions {
storage?: AsyncStore

View file

@ -4,12 +4,12 @@ import type {
PluginOpts,
UnknownProviderPlugin,
Uppy,
} from '@uppy/core'
} from '../index.js'
import {
type CompanionClientProvider,
getSocketHost,
type RequestOptions,
} from '@uppy/core/utils'
} from '../utils/index.js'
import type { CompanionPluginOptions } from './index.js'
import RequestClient, { authErrorStatusCode } from './RequestClient.js'

View file

@ -1,19 +1,19 @@
import type Uppy from '@uppy/core'
import pRetry, { AbortError } from 'p-retry'
import packageJson from '../../package.json' with { type: 'json' }
import type Uppy from '../index.js'
import type {
Body,
Meta,
RemoteUppyFile,
RequestOptions,
UppyFile,
} from '@uppy/core/utils'
} from '../utils/index.js'
import {
ErrorWithCause,
fetchWithNetworkError,
getSocketHost,
UserFacingApiError,
} from '@uppy/core/utils'
import pRetry, { AbortError } from 'p-retry'
import packageJson from '../package.json' with { type: 'json' }
} from '../utils/index.js'
import AuthError from './AuthError.js'
type CompanionHeaders = Record<string, string> | undefined

View file

@ -1,5 +1,5 @@
import type { Body, Meta, Uppy } from '@uppy/core'
import type { CompanionClientSearchProvider } from '@uppy/core/utils'
import type { Body, Meta, Uppy } from '../index.js'
import type { CompanionClientSearchProvider } from '../utils/index.js'
import RequestClient, { type Opts } from './RequestClient.js'
const getName = (id: string): string => {

View file

@ -11,7 +11,7 @@ export type RequestOptions = {
/**
* CompanionClientProvider is subset of the types of the `Provider`
* class from @uppy/companion-client.
* class from @uppy/core/companion-client.
*
* This is needed as the `Provider` class is passed around in Uppy and we
* need to have shared types for it. Although we are duplicating some types,

View file

@ -34,7 +34,6 @@
"./package.json": "./package.json"
},
"dependencies": {
"@uppy/companion-client": "workspace:^",
"@uppy/provider-views": "workspace:^",
"preact": "^10.29.2"
},

View file

@ -1,9 +1,3 @@
import {
type CompanionPluginOptions,
getAllowedHosts,
Provider,
tokenStorage,
} from '@uppy/companion-client'
import type {
AsyncStore,
Body,
@ -13,6 +7,12 @@ import type {
UppyFile,
} from '@uppy/core'
import { UIPlugin, type Uppy } from '@uppy/core'
import {
type CompanionPluginOptions,
getAllowedHosts,
Provider,
tokenStorage,
} from '@uppy/core/companion-client'
import type { LocaleStrings } from '@uppy/core/utils'
import { ProviderViews } from '@uppy/provider-views'
// biome-ignore lint/style/useImportType: h is not a type

View file

@ -7,9 +7,6 @@
"include": ["./src/**/*.*"],
"exclude": ["./src/**/*.test.ts"],
"references": [
{
"path": "../companion-client/tsconfig.build.json"
},
{
"path": "../provider-views/tsconfig.build.json"
},

View file

@ -6,9 +6,6 @@
},
"include": ["./package.json", "./src/**/*.*"],
"references": [
{
"path": "../companion-client/tsconfig.build.json"
},
{
"path": "../provider-views/tsconfig.build.json"
},

View file

@ -34,7 +34,6 @@
"./package.json": "./package.json"
},
"dependencies": {
"@uppy/companion-client": "workspace:^",
"@uppy/provider-views": "workspace:^",
"preact": "^10.29.2"
},

View file

@ -1,9 +1,3 @@
import {
type CompanionPluginOptions,
getAllowedHosts,
Provider,
tokenStorage,
} from '@uppy/companion-client'
import type {
AsyncStore,
Body,
@ -13,6 +7,12 @@ import type {
UppyFile,
} from '@uppy/core'
import { UIPlugin, type Uppy } from '@uppy/core'
import {
type CompanionPluginOptions,
getAllowedHosts,
Provider,
tokenStorage,
} from '@uppy/core/companion-client'
import type { LocaleStrings } from '@uppy/core/utils'
import { ProviderViews } from '@uppy/provider-views'
// biome-ignore lint/style/useImportType: h is not a type

View file

@ -7,9 +7,6 @@
"include": ["./src/**/*.*"],
"exclude": ["./src/**/*.test.ts"],
"references": [
{
"path": "../companion-client/tsconfig.build.json"
},
{
"path": "../provider-views/tsconfig.build.json"
},

View file

@ -6,9 +6,6 @@
},
"include": ["./package.json", "./src/**/*.*"],
"references": [
{
"path": "../companion-client/tsconfig.build.json"
},
{
"path": "../provider-views/tsconfig.build.json"
},

View file

@ -36,7 +36,6 @@
"./package.json": "./package.json"
},
"dependencies": {
"@uppy/companion-client": "workspace:^",
"@uppy/provider-views": "workspace:^",
"preact": "^10.29.2"
},

View file

@ -1,10 +1,10 @@
import type { AsyncStore, BaseProviderPlugin, Body, Meta } from '@uppy/core'
import { UIPlugin, type Uppy } from '@uppy/core'
import {
type CompanionPluginOptions,
RequestClient,
tokenStorage,
} from '@uppy/companion-client'
import type { AsyncStore, BaseProviderPlugin, Body, Meta } from '@uppy/core'
import { UIPlugin, type Uppy } from '@uppy/core'
} from '@uppy/core/companion-client'
import type { LocaleStrings } from '@uppy/core/utils'
import {
GoogleDriveIcon,

View file

@ -9,9 +9,6 @@
"include": ["./src/**/*.*"],
"exclude": ["./src/**/*.test.ts"],
"references": [
{
"path": "../companion-client/tsconfig.build.json"
},
{
"path": "../provider-views/tsconfig.build.json"
},

View file

@ -6,9 +6,6 @@
},
"include": ["./package.json", "./src/**/*.*"],
"references": [
{
"path": "../companion-client/tsconfig.build.json"
},
{
"path": "../provider-views/tsconfig.build.json"
},

View file

@ -35,7 +35,6 @@
"./package.json": "./package.json"
},
"dependencies": {
"@uppy/companion-client": "workspace:^",
"@uppy/provider-views": "workspace:^",
"preact": "^10.29.2"
},

View file

@ -1,9 +1,3 @@
import {
type CompanionPluginOptions,
getAllowedHosts,
Provider,
tokenStorage,
} from '@uppy/companion-client'
import type {
AsyncStore,
Body,
@ -13,6 +7,12 @@ import type {
UppyFile,
} from '@uppy/core'
import { UIPlugin, type Uppy } from '@uppy/core'
import {
type CompanionPluginOptions,
getAllowedHosts,
Provider,
tokenStorage,
} from '@uppy/core/companion-client'
import type { LocaleStrings } from '@uppy/core/utils'
import type { ProviderViews } from '@uppy/provider-views'
// biome-ignore lint/style/useImportType: h is not a type

View file

@ -7,9 +7,6 @@
"include": ["./src/**/*.*"],
"exclude": ["./src/**/*.test.ts"],
"references": [
{
"path": "../companion-client/tsconfig.build.json"
},
{
"path": "../provider-views/tsconfig.build.json"
},

View file

@ -6,9 +6,6 @@
},
"include": ["./package.json", "./src/**/*.*"],
"references": [
{
"path": "../companion-client/tsconfig.build.json"
},
{
"path": "../provider-views/tsconfig.build.json"
},

View file

@ -36,7 +36,6 @@
"./package.json": "./package.json"
},
"dependencies": {
"@uppy/companion-client": "workspace:^",
"@uppy/provider-views": "workspace:^",
"preact": "^10.29.2"
},

View file

@ -1,10 +1,10 @@
import type { AsyncStore, BaseProviderPlugin, Body, Meta } from '@uppy/core'
import { UIPlugin, type Uppy } from '@uppy/core'
import {
type CompanionPluginOptions,
RequestClient,
tokenStorage,
} from '@uppy/companion-client'
import type { AsyncStore, BaseProviderPlugin, Body, Meta } from '@uppy/core'
import { UIPlugin, type Uppy } from '@uppy/core'
} from '@uppy/core/companion-client'
import type { LocaleStrings } from '@uppy/core/utils'
import {
GooglePhotosIcon,

View file

@ -9,9 +9,6 @@
"include": ["./src/**/*.*"],
"exclude": ["./src/**/*.test.ts"],
"references": [
{
"path": "../companion-client/tsconfig.build.json"
},
{
"path": "../provider-views/tsconfig.build.json"
},

View file

@ -6,9 +6,6 @@
},
"include": ["./package.json", "./src/**/*.*"],
"references": [
{
"path": "../companion-client/tsconfig.build.json"
},
{
"path": "../provider-views/tsconfig.build.json"
},

View file

@ -34,7 +34,6 @@
"./package.json": "./package.json"
},
"dependencies": {
"@uppy/companion-client": "workspace:^",
"@uppy/provider-views": "workspace:^",
"preact": "^10.29.2"
},

View file

@ -1,9 +1,3 @@
import {
type CompanionPluginOptions,
getAllowedHosts,
Provider,
tokenStorage,
} from '@uppy/companion-client'
import type {
AsyncStore,
Body,
@ -13,6 +7,12 @@ import type {
UppyFile,
} from '@uppy/core'
import { UIPlugin, type Uppy } from '@uppy/core'
import {
type CompanionPluginOptions,
getAllowedHosts,
Provider,
tokenStorage,
} from '@uppy/core/companion-client'
import type { LocaleStrings } from '@uppy/core/utils'
import { ProviderViews } from '@uppy/provider-views'
// biome-ignore lint/style/useImportType: h is not a type

View file

@ -7,9 +7,6 @@
"include": ["./src/**/*.*"],
"exclude": ["./src/**/*.test.ts"],
"references": [
{
"path": "../companion-client/tsconfig.build.json"
},
{
"path": "../provider-views/tsconfig.build.json"
},

View file

@ -6,9 +6,6 @@
},
"include": ["./package.json", "./src/**/*.*"],
"references": [
{
"path": "../companion-client/tsconfig.build.json"
},
{
"path": "../provider-views/tsconfig.build.json"
},

View file

@ -1,5 +1,4 @@
import Box from '@uppy/box'
import type { CompanionPluginOptions } from '@uppy/companion-client'
import type {
Body,
DefinePluginOpts,
@ -8,6 +7,7 @@ import type {
Uppy,
} from '@uppy/core'
import { BasePlugin } from '@uppy/core'
import type { CompanionPluginOptions } from '@uppy/core/companion-client'
import Dropbox from '@uppy/dropbox'
import Facebook from '@uppy/facebook'
import GoogleDrive from '@uppy/google-drive'

View file

@ -7,9 +7,6 @@
"include": ["./src/**/*.*"],
"exclude": ["./src/**/*.test.ts"],
"references": [
{
"path": "../companion-client/tsconfig.build.json"
},
{
"path": "../provider-views/tsconfig.build.json"
},

View file

@ -6,9 +6,6 @@
},
"include": ["./package.json", "./src/**/*.*"],
"references": [
{
"path": "../companion-client/tsconfig.build.json"
},
{
"path": "../provider-views/tsconfig.build.json"
},

View file

@ -37,7 +37,6 @@
"./package.json": "./package.json"
},
"dependencies": {
"@uppy/companion-client": "workspace:^",
"tus-js-client": "^4.3.1"
},
"devDependencies": {

View file

@ -1,4 +1,3 @@
import type { RequestClient } from '@uppy/companion-client'
import type {
Body,
DefinePluginOpts,
@ -8,6 +7,7 @@ import type {
UppyFile,
} from '@uppy/core'
import { BasePlugin, EventManager } from '@uppy/core'
import type { RequestClient } from '@uppy/core/companion-client'
import {
filterFilesToEmitUploadStarted,
filterFilesToUpload,

View file

@ -7,9 +7,6 @@
"include": ["./src/**/*.*"],
"exclude": ["./src/**/*.test.ts"],
"references": [
{
"path": "../companion-client/tsconfig.build.json"
},
{
"path": "../core/tsconfig.build.json"
}

View file

@ -6,9 +6,6 @@
},
"include": ["./package.json", "./src/**/*.*"],
"references": [
{
"path": "../companion-client/tsconfig.build.json"
},
{
"path": "../core/tsconfig.build.json"
}

View file

@ -34,7 +34,6 @@
"./package.json": "./package.json"
},
"dependencies": {
"@uppy/companion-client": "workspace:^",
"@uppy/provider-views": "workspace:^",
"preact": "^10.29.2"
},

View file

@ -1,9 +1,3 @@
import {
type CompanionPluginOptions,
getAllowedHosts,
SearchProvider,
tokenStorage,
} from '@uppy/companion-client'
import type {
AsyncStore,
Body,
@ -13,6 +7,12 @@ import type {
UppyFile,
} from '@uppy/core'
import { UIPlugin, type Uppy } from '@uppy/core'
import {
type CompanionPluginOptions,
getAllowedHosts,
SearchProvider,
tokenStorage,
} from '@uppy/core/companion-client'
import type { LocaleStrings } from '@uppy/core/utils'
import { SearchProviderViews } from '@uppy/provider-views'
// biome-ignore lint/style/useImportType: h is not a type

View file

@ -7,9 +7,6 @@
"include": ["./src/**/*.*"],
"exclude": ["./src/**/*.test.ts"],
"references": [
{
"path": "../companion-client/tsconfig.build.json"
},
{
"path": "../provider-views/tsconfig.build.json"
},

View file

@ -6,9 +6,6 @@
},
"include": ["./package.json", "./src/**/*.*"],
"references": [
{
"path": "../companion-client/tsconfig.build.json"
},
{
"path": "../provider-views/tsconfig.build.json"
},

View file

@ -45,7 +45,6 @@
"./package.json": "./package.json"
},
"dependencies": {
"@uppy/companion-client": "workspace:^",
"nanoid": "^5.1.11",
"preact": "^10.29.2"
},

View file

@ -1,9 +1,9 @@
import type { Body, Meta } from '@uppy/core'
import { UIPlugin, type Uppy } from '@uppy/core'
import {
type CompanionPluginOptions,
RequestClient,
} from '@uppy/companion-client'
import type { Body, Meta } from '@uppy/core'
import { UIPlugin, type Uppy } from '@uppy/core'
} from '@uppy/core/companion-client'
import type {
LocaleStrings,
MinimalRequiredUppyFile,

View file

@ -7,9 +7,6 @@
"include": ["./src/**/*.*"],
"exclude": ["./src/**/*.test.ts"],
"references": [
{
"path": "../companion-client/tsconfig.build.json"
},
{
"path": "../core/tsconfig.build.json"
}

View file

@ -6,9 +6,6 @@
},
"include": ["./package.json", "./src/**/*.*"],
"references": [
{
"path": "../companion-client/tsconfig.build.json"
},
{
"path": "../core/tsconfig.build.json"
}

View file

@ -38,7 +38,6 @@
"./package.json": "./package.json"
},
"dependencies": {
"@uppy/companion-client": "workspace:^",
"@uppy/provider-views": "workspace:^",
"preact": "^10.29.2"
},

View file

@ -1,8 +1,3 @@
import {
type CompanionPluginOptions,
Provider,
tokenStorage,
} from '@uppy/companion-client'
import type {
AsyncStore,
Body,
@ -12,8 +7,12 @@ import type {
Uppy,
UppyFile,
} from '@uppy/core'
import { UIPlugin } from '@uppy/core'
import {
type CompanionPluginOptions,
Provider,
tokenStorage,
} from '@uppy/core/companion-client'
import type { I18n, LocaleStrings } from '@uppy/core/utils'
import { ProviderViews, SearchView } from '@uppy/provider-views'
// biome-ignore lint/style/useImportType: h is not a type

View file

@ -12,9 +12,6 @@
},
{
"path": "../provider-views/tsconfig.build.json"
},
{
"path": "../companion-client/tsconfig.build.json"
}
]
}

View file

@ -11,9 +11,6 @@
},
{
"path": "../provider-views/tsconfig.build.json"
},
{
"path": "../companion-client/tsconfig.build.json"
}
]
}

View file

@ -39,9 +39,6 @@
".": "./lib/index.js",
"./package.json": "./package.json"
},
"dependencies": {
"@uppy/companion-client": "workspace:^"
},
"devDependencies": {
"@uppy/core": "workspace:^",
"@uppy/dashboard": "workspace:^",

View file

@ -1,4 +1,3 @@
import type { RequestClient } from '@uppy/companion-client'
import type {
Body,
DefinePluginOpts,
@ -9,6 +8,7 @@ import type {
UppyFile,
} from '@uppy/core'
import { BasePlugin, EventManager } from '@uppy/core'
import type { RequestClient } from '@uppy/core/companion-client'
import {
type FetcherOptions,
fetcher,

View file

@ -7,9 +7,6 @@
"include": ["./src/**/*.*"],
"exclude": ["./src/**/*.test.ts"],
"references": [
{
"path": "../companion-client/tsconfig.build.json"
},
{
"path": "../core/tsconfig.build.json"
}

View file

@ -6,9 +6,6 @@
},
"include": ["./package.json", "./src/**/*.*"],
"references": [
{
"path": "../companion-client/tsconfig.build.json"
},
{
"path": "../core/tsconfig.build.json"
}

View file

@ -34,7 +34,6 @@
"./package.json": "./package.json"
},
"dependencies": {
"@uppy/companion-client": "workspace:^",
"@uppy/provider-views": "workspace:^",
"preact": "^10.29.2"
},

View file

@ -1,9 +1,3 @@
import {
type CompanionPluginOptions,
getAllowedHosts,
Provider,
tokenStorage,
} from '@uppy/companion-client'
import type {
AsyncStore,
Body,
@ -13,6 +7,12 @@ import type {
UppyFile,
} from '@uppy/core'
import { UIPlugin, type Uppy } from '@uppy/core'
import {
type CompanionPluginOptions,
getAllowedHosts,
Provider,
tokenStorage,
} from '@uppy/core/companion-client'
import type { LocaleStrings } from '@uppy/core/utils'
import { ProviderViews } from '@uppy/provider-views'
// biome-ignore lint/style/useImportType: h is not a type

View file

@ -7,9 +7,6 @@
"include": ["./src/**/*.*"],
"exclude": ["./src/**/*.test.ts"],
"references": [
{
"path": "../companion-client/tsconfig.build.json"
},
{
"path": "../provider-views/tsconfig.build.json"
},

View file

@ -6,9 +6,6 @@
},
"include": ["./package.json", "./src/**/*.*"],
"references": [
{
"path": "../companion-client/tsconfig.build.json"
},
{
"path": "../provider-views/tsconfig.build.json"
},

View file

@ -40,7 +40,6 @@
"@uppy/audio": "workspace:*",
"@uppy/aws-s3": "workspace:*",
"@uppy/box": "workspace:*",
"@uppy/companion-client": "workspace:*",
"@uppy/compressor": "workspace:*",
"@uppy/core": "workspace:*",
"@uppy/dashboard": "workspace:*",

View file

@ -10,7 +10,7 @@ export function Core() {
}
// Utilities
export * as server from '@uppy/companion-client'
export * as server from '@uppy/core/companion-client'
import * as ProviderView from '@uppy/provider-views'

View file

@ -16,9 +16,6 @@
{
"path": "../@uppy/box/tsconfig.build.json"
},
{
"path": "../@uppy/companion-client/tsconfig.build.json"
},
{
"path": "../@uppy/compressor/tsconfig.build.json"
},

View file

@ -15,9 +15,6 @@
{
"path": "../@uppy/box/tsconfig.build.json"
},
{
"path": "../@uppy/companion-client/tsconfig.build.json"
},
{
"path": "../@uppy/compressor/tsconfig.build.json"
},

View file

@ -9060,7 +9060,6 @@ __metadata:
"@aws-sdk/client-s3": "npm:^3.362.0"
"@aws-sdk/s3-request-presigner": "npm:^3.362.0"
"@types/node": "npm:^20.19.0"
"@uppy/companion-client": "workspace:^"
"@uppy/core": "workspace:^"
jsdom: "npm:^26.1.0"
nock: "npm:^13.1.0"
@ -9076,7 +9075,6 @@ __metadata:
version: 0.0.0-use.local
resolution: "@uppy/box@workspace:packages/@uppy/box"
dependencies:
"@uppy/companion-client": "workspace:^"
"@uppy/core": "workspace:^"
"@uppy/provider-views": "workspace:^"
preact: "npm:^10.29.2"
@ -9086,20 +9084,6 @@ __metadata:
languageName: unknown
linkType: soft
"@uppy/companion-client@workspace:*, @uppy/companion-client@workspace:^, @uppy/companion-client@workspace:packages/@uppy/companion-client":
version: 0.0.0-use.local
resolution: "@uppy/companion-client@workspace:packages/@uppy/companion-client"
dependencies:
jsdom: "npm:^29.1.1"
namespace-emitter: "npm:^2.0.1"
p-retry: "npm:^6.1.0"
typescript: "npm:^5.8.3"
vitest: "npm:^4.1.6"
peerDependencies:
"@uppy/core": "workspace:^"
languageName: unknown
linkType: soft
"@uppy/companion@workspace:*, @uppy/companion@workspace:^, @uppy/companion@workspace:packages/@uppy/companion":
version: 0.0.0-use.local
resolution: "@uppy/companion@workspace:packages/@uppy/companion"
@ -9240,6 +9224,7 @@ __metadata:
mime-match: "npm:^1.0.2"
namespace-emitter: "npm:^2.0.1"
nanoid: "npm:^5.1.11"
p-retry: "npm:^6.1.0"
postcss: "npm:^8.5.15"
postcss-cli: "npm:^11.0.1"
preact: "npm:^10.29.2"
@ -9315,7 +9300,6 @@ __metadata:
version: 0.0.0-use.local
resolution: "@uppy/dropbox@workspace:packages/@uppy/dropbox"
dependencies:
"@uppy/companion-client": "workspace:^"
"@uppy/core": "workspace:^"
"@uppy/provider-views": "workspace:^"
preact: "npm:^10.29.2"
@ -9329,7 +9313,6 @@ __metadata:
version: 0.0.0-use.local
resolution: "@uppy/facebook@workspace:packages/@uppy/facebook"
dependencies:
"@uppy/companion-client": "workspace:^"
"@uppy/core": "workspace:^"
"@uppy/provider-views": "workspace:^"
preact: "npm:^10.29.2"
@ -9372,7 +9355,6 @@ __metadata:
version: 0.0.0-use.local
resolution: "@uppy/google-drive-picker@workspace:packages/@uppy/google-drive-picker"
dependencies:
"@uppy/companion-client": "workspace:^"
"@uppy/core": "workspace:^"
"@uppy/provider-views": "workspace:^"
preact: "npm:^10.29.2"
@ -9386,7 +9368,6 @@ __metadata:
version: 0.0.0-use.local
resolution: "@uppy/google-drive@workspace:packages/@uppy/google-drive"
dependencies:
"@uppy/companion-client": "workspace:^"
"@uppy/core": "workspace:^"
"@uppy/provider-views": "workspace:^"
preact: "npm:^10.29.2"
@ -9400,7 +9381,6 @@ __metadata:
version: 0.0.0-use.local
resolution: "@uppy/google-photos-picker@workspace:packages/@uppy/google-photos-picker"
dependencies:
"@uppy/companion-client": "workspace:^"
"@uppy/core": "workspace:^"
"@uppy/provider-views": "workspace:^"
preact: "npm:^10.29.2"
@ -9459,7 +9439,6 @@ __metadata:
version: 0.0.0-use.local
resolution: "@uppy/onedrive@workspace:packages/@uppy/onedrive"
dependencies:
"@uppy/companion-client": "workspace:^"
"@uppy/core": "workspace:^"
"@uppy/provider-views": "workspace:^"
preact: "npm:^10.29.2"
@ -9657,7 +9636,6 @@ __metadata:
version: 0.0.0-use.local
resolution: "@uppy/tus@workspace:packages/@uppy/tus"
dependencies:
"@uppy/companion-client": "workspace:^"
"@uppy/core": "workspace:^"
jsdom: "npm:^29.1.1"
tus-js-client: "npm:^4.3.1"
@ -9672,7 +9650,6 @@ __metadata:
version: 0.0.0-use.local
resolution: "@uppy/unsplash@workspace:packages/@uppy/unsplash"
dependencies:
"@uppy/companion-client": "workspace:^"
"@uppy/core": "workspace:^"
"@uppy/provider-views": "workspace:^"
preact: "npm:^10.29.2"
@ -9686,7 +9663,6 @@ __metadata:
version: 0.0.0-use.local
resolution: "@uppy/url@workspace:packages/@uppy/url"
dependencies:
"@uppy/companion-client": "workspace:^"
"@uppy/core": "workspace:^"
"@vitest/browser": "npm:^4.1.6"
"@vitest/browser-playwright": "npm:^4.1.6"
@ -9755,7 +9731,6 @@ __metadata:
version: 0.0.0-use.local
resolution: "@uppy/webdav@workspace:packages/@uppy/webdav"
dependencies:
"@uppy/companion-client": "workspace:^"
"@uppy/core": "workspace:^"
"@uppy/provider-views": "workspace:^"
preact: "npm:^10.29.2"
@ -9769,7 +9744,6 @@ __metadata:
version: 0.0.0-use.local
resolution: "@uppy/xhr-upload@workspace:packages/@uppy/xhr-upload"
dependencies:
"@uppy/companion-client": "workspace:^"
"@uppy/core": "workspace:^"
"@uppy/dashboard": "workspace:^"
"@vitest/browser": "npm:^4.1.6"
@ -9788,7 +9762,6 @@ __metadata:
version: 0.0.0-use.local
resolution: "@uppy/zoom@workspace:packages/@uppy/zoom"
dependencies:
"@uppy/companion-client": "workspace:^"
"@uppy/core": "workspace:^"
"@uppy/provider-views": "workspace:^"
preact: "npm:^10.29.2"
@ -13493,7 +13466,6 @@ __metadata:
resolution: "example-companion-custom-provider@workspace:examples/companion-custom-provider"
dependencies:
"@uppy/companion": "workspace:*"
"@uppy/companion-client": "workspace:*"
"@uppy/core": "workspace:*"
"@uppy/dashboard": "workspace:*"
"@uppy/google-drive": "workspace:*"
@ -23399,7 +23371,6 @@ __metadata:
"@uppy/audio": "workspace:*"
"@uppy/aws-s3": "workspace:*"
"@uppy/box": "workspace:*"
"@uppy/companion-client": "workspace:*"
"@uppy/compressor": "workspace:*"
"@uppy/core": "workspace:*"
"@uppy/dashboard": "workspace:*"