Deduplicate dependencies & resolve all yarn warnings (#5848)

- Deduplicate Vite versions, always use 7.x (except for sveltekit, which
does not allow 7 yet)
- Add missing dev deps
- Fix react-native requested deps versions
- Fix companion @types/node
- Fix "engines" in root package.json

No more yarn warnings 🎉
This commit is contained in:
Merlijn Vos 2025-07-29 16:27:32 +02:00 committed by GitHub
parent 49e98ab30f
commit 0e178aea68
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
21 changed files with 2068 additions and 4221 deletions

View file

@ -19,10 +19,13 @@
"@angular/router": "^18.0.0",
"@uppy/angular": "workspace:*",
"@uppy/core": "workspace:*",
"@uppy/dashboard": "workspace:*",
"@uppy/drag-drop": "workspace:*",
"@uppy/google-drive": "workspace:*",
"@uppy/progress-bar": "workspace:*",
"@uppy/status-bar": "workspace:*",
"@uppy/tus": "workspace:*",
"@uppy/utils": "workspace:*",
"@uppy/webcam": "workspace:*",
"rxjs": "~7.8.0",
"tslib": "^2.3.0",

View file

@ -18,7 +18,7 @@
"express": "^4.19.2",
"express-session": "^1.17.3",
"npm-run-all": "^4.1.5",
"vite": "^5.4.17"
"vite": "^7.0.6"
},
"private": true,
"engines": {

View file

@ -22,7 +22,7 @@
"express": "^4.19.2",
"express-session": "^1.15.6",
"npm-run-all": "^4.1.2",
"vite": "^5.4.17"
"vite": "^7.0.6"
},
"scripts": {
"start": "npm-run-all --parallel start:server start:client",

View file

@ -12,7 +12,7 @@
"devDependencies": {
"dotenv": "^16.0.1",
"express": "^4.19.2",
"vite": "^5.4.17"
"vite": "^7.0.6"
},
"private": true,
"scripts": {

View file

@ -10,24 +10,24 @@
"eject": "expo eject"
},
"dependencies": {
"@react-native-async-storage/async-storage": "~1.15.0",
"@react-native-async-storage/async-storage": "1.23.1",
"@uppy/core": "workspace:*",
"@uppy/dashboard": "workspace:*",
"@uppy/instagram": "workspace:*",
"@uppy/react": "workspace:*",
"@uppy/react-native": "workspace:*",
"@uppy/tus": "workspace:*",
"@uppy/url": "workspace:*",
"@uppy/xhr-upload": "workspace:*",
"base64-js": "^1.3.0",
"expo": "~43.0.2",
"expo-file-system": "~13.0.3",
"expo-status-bar": "~1.1.0",
"expo": "~52.0.0",
"expo-file-system": "~18.0.12",
"expo-status-bar": "~2.0.0",
"preact": "^10.5.13",
"preact-render-to-string": "^5.1.0",
"react": "17.0.1",
"react-dom": "17.0.1",
"react-native": "0.64.3",
"react-native-web": "0.17.1"
"react": "18.3.1",
"react-dom": "18.3.1",
"react-native": "0.76.9",
"react-native-web": "~0.19.13"
},
"devDependencies": {
"@babel/core": "^7.12.9"

View file

@ -9,7 +9,7 @@
"serve": "vite preview"
},
"dependencies": {
"@tailwindcss/vite": "^4.0.9",
"@tailwindcss/vite": "^4.1.11",
"@uppy/core": "workspace:*",
"@uppy/react": "workspace:*",
"@uppy/remote-sources": "workspace:*",
@ -27,7 +27,7 @@
"@vitest/browser": "^3.2.4",
"playwright": "^1.53.2",
"typescript": "^5.7.3",
"vite": "^7.0.3",
"vite": "^7.0.6",
"vitest": "^3.2.4",
"vitest-browser-react": "^1.0.0"
}

View file

@ -12,7 +12,7 @@
"redux-logger": "^3.0.6"
},
"devDependencies": {
"vite": "^5.4.17"
"vite": "^7.0.6"
},
"private": true,
"scripts": {

View file

@ -4,7 +4,7 @@
"type": "module",
"devDependencies": {
"npm-run-all": "^4.1.5",
"vite": "^5.4.17"
"vite": "^7.0.6"
},
"dependencies": {
"@uppy/core": "workspace:*",

View file

@ -22,11 +22,11 @@
"vue": "^3.5.14"
},
"devDependencies": {
"@tailwindcss/vite": "^4.0.0",
"@vitejs/plugin-vue": "^5.0.0",
"@tailwindcss/vite": "^4.1.11",
"@vitejs/plugin-vue": "^6.0.1",
"@vitest/browser": "^3.2.4",
"tailwindcss": "^4.0.0",
"vite": "^6.2.0",
"vite": "^7.0.6",
"vitest": "^3.2.4",
"vitest-browser-vue": "^1.0.0"
}

View file

@ -11,7 +11,7 @@
},
"devDependencies": {
"npm-run-all": "^4.1.5",
"vite": "^5.4.17"
"vite": "^7.0.6"
},
"private": true,
"scripts": {

View file

@ -11,7 +11,7 @@
},
"devDependencies": {
"npm-run-all": "^4.1.3",
"vite": "^5.4.17"
"vite": "^7.0.6"
},
"private": true,
"scripts": {

View file

@ -10,7 +10,7 @@
},
"devDependencies": {
"npm-run-all": "^4.1.3",
"vite": "^5.4.17"
"vite": "^7.0.6"
},
"private": true,
"scripts": {

View file

@ -10,7 +10,7 @@
},
"devDependencies": {
"npm-run-all": "^4.1.3",
"vite": "^5.4.17"
"vite": "^7.0.6"
},
"private": true,
"scripts": {

View file

@ -37,7 +37,6 @@
},
"packageManager": "yarn@4.4.1+sha224.fd21d9eb5fba020083811af1d4953acc21eeb9f6ff97efd1b3f9d4de",
"engines": {
"node": "^16.15.0 || >=18.0.0",
"yarn": "3.6.1"
"node": ">=20.19.0"
}
}

View file

@ -30,6 +30,9 @@
"@types/jasmine": "~5.1.0",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"@typescript-eslint/types": "^7.2.0",
"@typescript-eslint/utils": "^7.2.0",
"eslint": "^8.57.0",
"jasmine-core": "~5.1.0",
"karma": "~6.4.0",
"karma-chrome-launcher": "~3.2.0",

View file

@ -81,7 +81,7 @@
"@types/lodash": "4.14.191",
"@types/morgan": "1.7.37",
"@types/ms": "0.7.31",
"@types/node": "^20.0.0",
"@types/node": "^20.19.0",
"@types/react": "^18.0.0",
"@types/request": "2.48.8",
"@types/webpack": "^5.28.0",

View file

@ -46,12 +46,15 @@ const styleText =
/**
* message log
*
* @typedef {import('node:util').styleText} styleText
* @typedef {Parameters<styleText>[0]} Colors
*
* @param {object} params
* @param {string | Error} params.arg the message or error to log
* @param {string} params.tag a unique tag to easily search for this message
* @param {string} params.level error | info | debug
* @param {string} [params.traceId] a unique id to easily trace logs tied to a request
* @param {string[]} [params.color] Format(s) that can be passed to `util.styleText`.
* @param {Colors} [params.color] Format(s) that can be passed to `util.styleText`.
*/
const log = ({ arg, tag = '', level, traceId = '', color = [] }) => {
const time = new Date().toISOString()

View file

@ -24,14 +24,14 @@
"@uppy/core": "workspace:*",
"@uppy/instagram": "workspace:^",
"@uppy/url": "workspace:^",
"expo-document-picker": "^10.3.0",
"expo-image-picker": "^13.3.1",
"react-native-super-grid": "*"
"expo-document-picker": "^12.0.0",
"expo-image-picker": "^15.0.0",
"react-native-super-grid": "^6.0.0"
},
"devDependencies": {
"expo": ">=33.0.0",
"expo": ">=52.0.0",
"react": "^18.0.0",
"react-native": "^0.64.0"
"react-native": "^0.76.0"
},
"peerDependencies": {
"expo": ">=33.0.0",

View file

@ -30,11 +30,12 @@
"@uppy/components": "workspace:^",
"@uppy/utils": "workspace:^",
"preact": "^10.5.13",
"use-sync-external-store": "^1.2.0"
"use-sync-external-store": "^1.2.2"
},
"devDependencies": {
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.2.2",
"@testing-library/react": "^16.0.0",
"@types/react": "^18.0.8",
"@types/use-sync-external-store": "^0.0.6",
"@uppy/core": "workspace:^",

View file

@ -10,7 +10,7 @@
"@uppy/companion": "workspace:^"
},
"devDependencies": {
"vite": "^7.0.2"
"vite": "^7.0.6"
},
"private": true,
"type": "module",

6210
yarn.lock

File diff suppressed because it is too large Load diff