uppy/examples/reactrouter/package.json
prakash 9fa8886a2a
chore(deps): upgrade TypeScript to 6
Moves all 43 workspaces to typescript ^6.0.3 (@uppy/companion was already
pinned to 6.0.3). The two Angular workspaces stay on their own lines,
~5.7.3 and ~5.9.3, because the Angular compiler pins its supported range.

TypeScript 6 reports TS2882 for side-effect imports of files it has no
declarations for, which the browser tests in @uppy/dashboard,
@uppy/golden-retriever and @uppy/xhr-upload hit when importing plugin CSS.
Each gets a one-line ambient declaration.

Nothing else changed: no source, no config, no lockfile churn beyond the
compiler itself.

Verified: yarn build (54/54), yarn typecheck (75/75), yarn check:ci,
yarn test (19/19).
2026-07-26 02:45:03 +05:30

40 lines
1.1 KiB
JSON

{
"name": "example-reactrouter",
"version": "1.0.0",
"private": true,
"description": "React Router + Uppy upload example with TUS and XHR support",
"type": "module",
"scripts": {
"dev": "tsx ./server.ts",
"typecheck": "react-router typegen && tsc"
},
"dependencies": {
"@mjackson/file-storage": "^0.7.0",
"@mjackson/form-data-parser": "^0.9.1",
"@react-router/express": "^7.12.0",
"@tus/file-store": "latest",
"@tus/server": "latest",
"@uppy/core": "workspace:*",
"@uppy/dashboard": "workspace:*",
"@uppy/react": "workspace:*",
"@uppy/transloadit": "workspace:*",
"@uppy/tus": "workspace:*",
"@uppy/xhr-upload": "workspace:*",
"express": "^5.2.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router": "^7.12.0"
},
"devDependencies": {
"@react-router/dev": "^7.12.0",
"@types/express": "^5.0.6",
"@types/react": "^18.2.20",
"@types/react-dom": "^18.2.7",
"tsx": "^4.0.0",
"typescript": "^6.0.3",
"vite": "^6.3.6"
},
"engines": {
"node": ">=20.0.0"
}
}