mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-18 00:55:35 +00:00
- The blocker was `@uppy/angular` — its build was failing because it
could not resolve modules and types for its dependencies
(`@uppy/dashboard`, `@uppy/utils`, `@uppy/provider-views`,
`@uppy/core`).
```typescript
------------------------------------------------------------------------------
Building entry point '@uppy/angular'
------------------------------------------------------------------------------
✖ Compiling with Angular sources in Ivy partial compilation mode.
../dashboard/lib/Dashboard.d.ts:1:106 - error TS2307: Cannot find module '@uppy/core' or its corresponding type declarations.
1 import type { Body, DefinePluginOpts, Meta, State, UIPluginOptions, UnknownPlugin, Uppy, UppyFile } from '@uppy/core';
~~~~~~~~~~~~
../dashboard/lib/Dashboard.d.ts:2:26 - error TS2307: Cannot find module '@uppy/core' or its corresponding type declarations.
2 import { UIPlugin } from '@uppy/core';
~~~~~~~~~~~~
../dashboard/lib/Dashboard.d.ts:3:35 - error TS2307: Cannot find module '@uppy/provider-views' or its corresponding type declarations.
```
Angular (TypeScript with moduleResolution: node) required a "main" or
"types" field in each dependency’s package.json, and ignored their
"exports" map.
53 lines
1.1 KiB
JSON
53 lines
1.1 KiB
JSON
{
|
|
"name": "@uppy/webdav",
|
|
"description": "Import files from WebDAV into Uppy.",
|
|
"version": "1.0.0",
|
|
"license": "MIT",
|
|
"types": "types/index.d.ts",
|
|
"type": "module",
|
|
"sideEffects": false,
|
|
"scripts": {
|
|
"build": "tsc --build tsconfig.build.json",
|
|
"typecheck": "tsc --build"
|
|
},
|
|
"keywords": [
|
|
"file uploader",
|
|
"uppy",
|
|
"uppy-plugin",
|
|
"webdav",
|
|
"provider",
|
|
"photos",
|
|
"videos"
|
|
],
|
|
"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"
|
|
],
|
|
"exports": {
|
|
".": "./lib/index.js",
|
|
"./package.json": "./package.json"
|
|
},
|
|
"dependencies": {
|
|
"@uppy/companion-client": "workspace:^",
|
|
"@uppy/provider-views": "workspace:^",
|
|
"@uppy/utils": "workspace:^",
|
|
"preact": "^10.5.13"
|
|
},
|
|
"peerDependencies": {
|
|
"@uppy/core": "workspace:^"
|
|
},
|
|
"devDependencies": {
|
|
"@uppy/core": "workspace:^",
|
|
"typescript": "^5.8.3"
|
|
}
|
|
}
|