uppy/packages/@uppy/components/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

75 lines
1.7 KiB
JSON

{
"name": "@uppy/components",
"description": "Headless Uppy components, made in Preact",
"version": "1.2.0",
"license": "MIT",
"type": "module",
"sideEffects": [
"*.css"
],
"keywords": [
"uppy",
"uppy-plugin",
"headless",
"components",
"preact"
],
"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"
],
"scripts": {
"build": "tsc --build tsconfig.build.json",
"build:css": "tailwindcss -m -i ./src/input.css -o ./dist/styles.css && postcss ../image-editor/src/cropper.scss -u cssnano -o ./dist/image-editor.css",
"migrate": "node migrate.mjs",
"typecheck": "tsc --build"
},
"exports": {
".": "./lib/index.js",
"./css/style.css": "./dist/styles.css",
"./css/image-editor.css": "./dist/image-editor.css",
"./package.json": "./package.json"
},
"dependencies": {
"clsx": "^2.1.1",
"dequal": "^2.0.3",
"preact": "^10.29.2",
"pretty-bytes": "^7.1.0"
},
"devDependencies": {
"@tailwindcss/cli": "^4.0.6",
"@uppy/core": "workspace:^",
"cssnano": "^8.0.1",
"postcss": "^8.5.15",
"postcss-cli": "^11.0.1",
"tailwindcss": "^4.0.6",
"typescript": "^6.0.3"
},
"peerDependencies": {
"@uppy/core": "workspace:^",
"@uppy/image-editor": "workspace:^",
"@uppy/screen-capture": "workspace:^",
"@uppy/webcam": "workspace:^"
},
"peerDependenciesMeta": {
"@uppy/image-editor": {
"optional": true
},
"@uppy/screen-capture": {
"optional": true
},
"@uppy/webcam": {
"optional": true
}
}
}