mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-17 16:50:22 +00:00
Part of the dev-dependency major-version upgrades. These required code changes so they're split out from the no-code-change batch (#6315). **AI Disclaimer** : AI Used - **glob 8 → 13** — `@uppy/locales` scripts: the callback API was removed, so `getPaths()` uses the promise form and `test.mjs` uses the named `globSync`. - **npm-packlist 5 → 11** — `upload-to-cdn.js`: v7+ takes an `@npmcli/arborist` tree instead of `{ path }`; loads the tree and passes it to `packlist()`. Adds `@npmcli/arborist` as a devDependency. - **nock 13 → 14** (`@uppy/companion`) — the v14 @mswjs/interceptors rewrite crashed the SSRF tests in `http-agent.test.ts`; nock interception is now kept off by default and only activated for the one test that mocks a host. - **@types/use-sync-external-store 0 → 1** — `@uppy/react`: v1's exports map only exposes extensionless subpaths, so imports use `use-sync-external-store/shim` and `/with-selector` (runtime supports both).
87 lines
2.2 KiB
JSON
87 lines
2.2 KiB
JSON
{
|
|
"name": "@uppy/react",
|
|
"description": "React component wrappers around Uppy's official UI plugins.",
|
|
"version": "5.2.0",
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"sideEffects": [
|
|
"*.css"
|
|
],
|
|
"scripts": {
|
|
"build": "tsc --build tsconfig.build.json",
|
|
"build:css": "mkdir -p dist && cp ../components/dist/styles.css dist/styles.css && cp ../components/dist/image-editor.css dist/image-editor.css",
|
|
"typecheck": "tsc --build",
|
|
"test": "vitest run --environment=jsdom --silent='passed-only'"
|
|
},
|
|
"keywords": [
|
|
"file uploader",
|
|
"uppy",
|
|
"uppy-plugin",
|
|
"react",
|
|
"react-components"
|
|
],
|
|
"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"
|
|
],
|
|
"dependencies": {
|
|
"@uppy/components": "workspace:^",
|
|
"preact": "^10.29.2",
|
|
"use-sync-external-store": "^1.6.0"
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/dom": "^10.4.0",
|
|
"@testing-library/jest-dom": "^6.4.2",
|
|
"@testing-library/react": "^16.0.0",
|
|
"@types/react": "^19.2.14",
|
|
"@types/use-sync-external-store": "^1.5.0",
|
|
"@uppy/core": "workspace:^",
|
|
"jsdom": "^26.1.0",
|
|
"react": "^19.2.6",
|
|
"react-dom": "^19.2.6",
|
|
"typescript": "^5.8.3",
|
|
"vitest": "^4.1.6"
|
|
},
|
|
"exports": {
|
|
".": "./lib/index.js",
|
|
"./css/style.css": "./dist/styles.css",
|
|
"./css/image-editor.css": "./dist/image-editor.css",
|
|
"./dashboard": "./lib/Dashboard.js",
|
|
"./status-bar": "./lib/StatusBar.js",
|
|
"./dashboard-modal": "./lib/DashboardModal.js",
|
|
"./package.json": "./package.json"
|
|
},
|
|
"peerDependencies": {
|
|
"@uppy/core": "workspace:^",
|
|
"@uppy/dashboard": "workspace:^",
|
|
"@uppy/screen-capture": "workspace:^",
|
|
"@uppy/status-bar": "workspace:^",
|
|
"@uppy/webcam": "workspace:^",
|
|
"react": "^18.0.0 || ^19.0.0",
|
|
"react-dom": "^18.0.0 || ^19.0.0"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"@uppy/dashboard": {
|
|
"optional": true
|
|
},
|
|
"@uppy/screen-capture": {
|
|
"optional": true
|
|
},
|
|
"@uppy/status-bar": {
|
|
"optional": true
|
|
},
|
|
"@uppy/webcam": {
|
|
"optional": true
|
|
}
|
|
}
|
|
}
|