@uppy/tus: fix dependencies (#3923)

`@jest/globals` should be in the `devDependencies` list, not in the
`peerDependencies`.

Refs: https://community.transloadit.com/t/why-is-jest-globals-a-peer-dependency-of-every-uppy-package/16182/1
This commit is contained in:
Antoine du Hamel 2022-07-31 15:50:19 +02:00 committed by GitHub
parent 6531df67df
commit f5d5e8bb09
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View file

@ -27,8 +27,10 @@
"@uppy/utils": "workspace:^",
"tus-js-client": "^2.1.1"
},
"devDependencies": {
"@jest/globals": "^27.4.2"
},
"peerDependencies": {
"@jest/globals": "^27.4.2",
"@uppy/core": "workspace:^"
}
}

View file

@ -10498,11 +10498,11 @@ __metadata:
version: 0.0.0-use.local
resolution: "@uppy/tus@workspace:packages/@uppy/tus"
dependencies:
"@jest/globals": ^27.4.2
"@uppy/companion-client": "workspace:^"
"@uppy/utils": "workspace:^"
tus-js-client: ^2.1.1
peerDependencies:
"@jest/globals": ^27.4.2
"@uppy/core": "workspace:^"
languageName: unknown
linkType: soft