Skip to content

Commit

Permalink
@uppy/tus: fix dependencies (#3923)
Browse files Browse the repository at this point in the history
`@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
(cherry picked from commit f5d5e8b)
  • Loading branch information
aduh95 committed Aug 18, 2022
1 parent 8195b22 commit 45bebfe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion packages/@uppy/tus/package.json
Expand Up @@ -27,8 +27,10 @@
"@uppy/utils": "workspace:^",
"tus-js-client": "^3.0.0"
},
"devDependencies": {
"@jest/globals": "^28.0.0"
},
"peerDependencies": {
"@jest/globals": "^28.0.0",
"@uppy/core": "workspace:^"
}
}
2 changes: 1 addition & 1 deletion yarn.lock
Expand Up @@ -9186,11 +9186,11 @@ __metadata:
version: 0.0.0-use.local
resolution: "@uppy/tus@workspace:packages/@uppy/tus"
dependencies:
"@jest/globals": ^28.0.0
"@uppy/companion-client": "workspace:^"
"@uppy/utils": "workspace:^"
tus-js-client: ^3.0.0
peerDependencies:
"@jest/globals": ^28.0.0
"@uppy/core": "workspace:^"
languageName: unknown
linkType: soft
Expand Down

0 comments on commit 45bebfe

Please sign in to comment.