diff --git a/packages/@uppy/angular/projects/uppy/angular/tsconfig.lib.json b/packages/@uppy/angular/projects/uppy/angular/tsconfig.lib.json index ea9c011e5..f73c766cf 100644 --- a/packages/@uppy/angular/projects/uppy/angular/tsconfig.lib.json +++ b/packages/@uppy/angular/projects/uppy/angular/tsconfig.lib.json @@ -3,7 +3,6 @@ "extends": "../../../tsconfig.json", "compilerOptions": { "outDir": "../../../out-tsc/lib", - "moduleResolution": "bundler", "declaration": true, "declarationMap": true, "inlineSources": true, diff --git a/packages/@uppy/audio/package.json b/packages/@uppy/audio/package.json index 6d8f2b45e..5f4f556d0 100644 --- a/packages/@uppy/audio/package.json +++ b/packages/@uppy/audio/package.json @@ -3,6 +3,7 @@ "description": "Uppy plugin that records audio using the device’s microphone.", "version": "3.0.0", "license": "MIT", + "main": "lib/index.js", "style": "dist/style.min.css", "keywords": [ "file uploader", diff --git a/packages/@uppy/aws-s3/package.json b/packages/@uppy/aws-s3/package.json index 806b4435b..d57da45c8 100644 --- a/packages/@uppy/aws-s3/package.json +++ b/packages/@uppy/aws-s3/package.json @@ -3,6 +3,7 @@ "description": "Upload to Amazon S3 with Uppy", "version": "5.0.0", "license": "MIT", + "main": "lib/index.js", "type": "module", "sideEffects": false, "scripts": { diff --git a/packages/@uppy/box/package.json b/packages/@uppy/box/package.json index fa172df67..bc64f831d 100644 --- a/packages/@uppy/box/package.json +++ b/packages/@uppy/box/package.json @@ -3,6 +3,7 @@ "description": "Import files from Box, into Uppy.", "version": "4.0.0", "license": "MIT", + "main": "lib/index.js", "type": "module", "sideEffects": false, "scripts": { diff --git a/packages/@uppy/companion-client/package.json b/packages/@uppy/companion-client/package.json index de16144e8..93f9f7e63 100644 --- a/packages/@uppy/companion-client/package.json +++ b/packages/@uppy/companion-client/package.json @@ -3,6 +3,7 @@ "description": "Client library for communication with Companion. Intended for use in Uppy plugins.", "version": "5.0.0", "license": "MIT", + "main": "lib/index.js", "type": "module", "sideEffects": false, "scripts": { diff --git a/packages/@uppy/companion/package.json b/packages/@uppy/companion/package.json index c2243e998..5e810abe6 100644 --- a/packages/@uppy/companion/package.json +++ b/packages/@uppy/companion/package.json @@ -2,6 +2,7 @@ "name": "@uppy/companion", "version": "6.0.1", "description": "OAuth helper and remote fetcher for Uppy's (https://uppy.io) extensible file upload widget with support for drag&drop, resumable uploads, previews, restrictions, file processing/encoding, remote providers like Dropbox and Google Drive, S3 and more :dog:", + "main": "lib/companion.js", "types": "lib/companion.d.ts", "author": "Transloadit.com", "license": "MIT", diff --git a/packages/@uppy/components/package.json b/packages/@uppy/components/package.json index b0db68381..fcf02a081 100644 --- a/packages/@uppy/components/package.json +++ b/packages/@uppy/components/package.json @@ -3,6 +3,7 @@ "description": "Headless Uppy components, made in Preact", "version": "1.0.1", "license": "MIT", + "main": "lib/index.js", "type": "module", "sideEffects": [ "*.css" diff --git a/packages/@uppy/compressor/package.json b/packages/@uppy/compressor/package.json index 2b8010ad1..1ef80f78c 100644 --- a/packages/@uppy/compressor/package.json +++ b/packages/@uppy/compressor/package.json @@ -3,6 +3,7 @@ "description": "Uppy plugin that compresses images before upload, saving up to 60% in size", "version": "3.0.0", "license": "MIT", + "main": "lib/index.js", "keywords": [ "file uploader", "uppy", diff --git a/packages/@uppy/core/package.json b/packages/@uppy/core/package.json index 8978a0efc..9847a33c5 100644 --- a/packages/@uppy/core/package.json +++ b/packages/@uppy/core/package.json @@ -3,6 +3,7 @@ "description": "Core module for the extensible JavaScript file upload widget with support for drag&drop, resumable uploads, previews, restrictions, file processing/encoding, remote providers like Instagram, Dropbox, Google Drive, S3 and more :dog:", "version": "5.0.1", "license": "MIT", + "main": "lib/index.js", "style": "dist/style.min.css", "type": "module", "sideEffects": [ diff --git a/packages/@uppy/dashboard/package.json b/packages/@uppy/dashboard/package.json index 69f091f19..b4a0c948f 100644 --- a/packages/@uppy/dashboard/package.json +++ b/packages/@uppy/dashboard/package.json @@ -3,6 +3,7 @@ "description": "Universal UI plugin for Uppy.", "version": "5.0.1", "license": "MIT", + "main": "lib/index.js", "style": "dist/style.min.css", "type": "module", "sideEffects": [ diff --git a/packages/@uppy/drag-drop/package.json b/packages/@uppy/drag-drop/package.json index 737e97bc9..3ebb9be4b 100644 --- a/packages/@uppy/drag-drop/package.json +++ b/packages/@uppy/drag-drop/package.json @@ -3,6 +3,7 @@ "description": "Droppable zone UI for Uppy. Drag and drop files into it to upload.", "version": "5.0.1", "license": "MIT", + "main": "lib/index.js", "style": "dist/style.min.css", "type": "module", "sideEffects": [ diff --git a/packages/@uppy/drop-target/package.json b/packages/@uppy/drop-target/package.json index 6d48a685f..e9bf53686 100644 --- a/packages/@uppy/drop-target/package.json +++ b/packages/@uppy/drop-target/package.json @@ -3,6 +3,7 @@ "description": "Lets your users drag and drop files on a DOM element", "version": "4.0.0", "license": "MIT", + "main": "lib/index.js", "type": "module", "sideEffects": [ "*.css" diff --git a/packages/@uppy/dropbox/package.json b/packages/@uppy/dropbox/package.json index 37a8c259d..a633f0205 100644 --- a/packages/@uppy/dropbox/package.json +++ b/packages/@uppy/dropbox/package.json @@ -3,6 +3,7 @@ "description": "Import files from Dropbox, into Uppy.", "version": "5.0.0", "license": "MIT", + "main": "lib/index.js", "type": "module", "sideEffects": false, "scripts": { diff --git a/packages/@uppy/facebook/package.json b/packages/@uppy/facebook/package.json index 021701588..fea15497f 100644 --- a/packages/@uppy/facebook/package.json +++ b/packages/@uppy/facebook/package.json @@ -3,6 +3,7 @@ "description": "Import files from Facebook, into Uppy.", "version": "5.0.0", "license": "MIT", + "main": "lib/index.js", "type": "module", "sideEffects": false, "scripts": { diff --git a/packages/@uppy/form/package.json b/packages/@uppy/form/package.json index 5910a8d5c..ffcc0a8be 100644 --- a/packages/@uppy/form/package.json +++ b/packages/@uppy/form/package.json @@ -3,6 +3,7 @@ "description": "Connect Uppy to an existing HTML
.", "version": "5.0.0", "license": "MIT", + "main": "lib/index.js", "type": "module", "sideEffects": false, "scripts": { diff --git a/packages/@uppy/golden-retriever/package.json b/packages/@uppy/golden-retriever/package.json index b97a5c24a..07735b959 100644 --- a/packages/@uppy/golden-retriever/package.json +++ b/packages/@uppy/golden-retriever/package.json @@ -3,6 +3,7 @@ "description": "The GoldenRetriever Uppy plugin saves selected files in browser cache to seamlessly resume uploding after browser crash or accidentally closed tab", "version": "5.0.0", "license": "MIT", + "main": "lib/index.js", "type": "module", "sideEffects": false, "scripts": { diff --git a/packages/@uppy/google-drive-picker/package.json b/packages/@uppy/google-drive-picker/package.json index e40a2cc78..1d5159340 100644 --- a/packages/@uppy/google-drive-picker/package.json +++ b/packages/@uppy/google-drive-picker/package.json @@ -3,6 +3,7 @@ "description": "The Google Drive Picker plugin for Uppy lets users import files from their Google Drive account", "version": "1.0.0", "license": "MIT", + "main": "lib/index.js", "type": "module", "sideEffects": false, "scripts": { diff --git a/packages/@uppy/google-drive/package.json b/packages/@uppy/google-drive/package.json index 67849f727..dcff1aabb 100644 --- a/packages/@uppy/google-drive/package.json +++ b/packages/@uppy/google-drive/package.json @@ -3,6 +3,7 @@ "description": "The Google Drive plugin for Uppy lets users import files from their Google Drive account", "version": "5.0.0", "license": "MIT", + "main": "lib/index.js", "type": "module", "sideEffects": false, "scripts": { diff --git a/packages/@uppy/google-photos-picker/package.json b/packages/@uppy/google-photos-picker/package.json index 29ef7359a..f4c61695e 100644 --- a/packages/@uppy/google-photos-picker/package.json +++ b/packages/@uppy/google-photos-picker/package.json @@ -3,6 +3,7 @@ "description": "The Google Photos Picker plugin for Uppy lets users import files from their Google Photos account", "version": "1.0.0", "license": "MIT", + "main": "lib/index.js", "type": "module", "sideEffects": false, "scripts": { diff --git a/packages/@uppy/image-editor/package.json b/packages/@uppy/image-editor/package.json index cb16b942c..fe908ed63 100644 --- a/packages/@uppy/image-editor/package.json +++ b/packages/@uppy/image-editor/package.json @@ -3,6 +3,7 @@ "description": "Image editor and cropping UI", "version": "4.0.0", "license": "MIT", + "main": "lib/index.js", "style": "dist/style.min.css", "type": "module", "sideEffects": [ diff --git a/packages/@uppy/instagram/package.json b/packages/@uppy/instagram/package.json index d9ab144fb..d6267de5c 100644 --- a/packages/@uppy/instagram/package.json +++ b/packages/@uppy/instagram/package.json @@ -3,6 +3,7 @@ "description": "Import photos and videos from Instagram, into Uppy.", "version": "5.0.0", "license": "MIT", + "main": "lib/index.js", "type": "module", "sideEffects": false, "scripts": { diff --git a/packages/@uppy/onedrive/package.json b/packages/@uppy/onedrive/package.json index aec27ceb2..c9b8d2c2a 100644 --- a/packages/@uppy/onedrive/package.json +++ b/packages/@uppy/onedrive/package.json @@ -3,6 +3,7 @@ "description": "Import files from OneDrive, into Uppy.", "version": "5.0.0", "license": "MIT", + "main": "lib/index.js", "type": "module", "sideEffects": false, "scripts": { diff --git a/packages/@uppy/provider-views/package.json b/packages/@uppy/provider-views/package.json index 08885fee4..b0bde6cc4 100644 --- a/packages/@uppy/provider-views/package.json +++ b/packages/@uppy/provider-views/package.json @@ -3,6 +3,7 @@ "description": "View library for Uppy remote provider plugins.", "version": "5.0.1", "license": "MIT", + "main": "lib/index.js", "style": "dist/style.min.css", "type": "module", "sideEffects": [ diff --git a/packages/@uppy/react/package.json b/packages/@uppy/react/package.json index c31eef0a9..fde81627b 100644 --- a/packages/@uppy/react/package.json +++ b/packages/@uppy/react/package.json @@ -3,6 +3,7 @@ "description": "React component wrappers around Uppy's official UI plugins.", "version": "5.0.2", "license": "MIT", + "main": "lib/index.js", "type": "module", "sideEffects": [ "*.css" diff --git a/packages/@uppy/remote-sources/package.json b/packages/@uppy/remote-sources/package.json index 7494c1ac2..f623a34e1 100644 --- a/packages/@uppy/remote-sources/package.json +++ b/packages/@uppy/remote-sources/package.json @@ -3,6 +3,7 @@ "description": "Uppy plugin that includes all remote sources that Uppy+Companion offer, like Instagram, Google Drive, Dropox, Box, Unsplash, Url etc", "version": "3.0.0", "license": "MIT", + "main": "lib/index.js", "type": "module", "sideEffects": false, "scripts": { diff --git a/packages/@uppy/screen-capture/package.json b/packages/@uppy/screen-capture/package.json index a81b8cde7..d3fa12066 100644 --- a/packages/@uppy/screen-capture/package.json +++ b/packages/@uppy/screen-capture/package.json @@ -3,6 +3,7 @@ "description": "Uppy plugin that captures video from display or application.", "version": "5.0.0", "license": "MIT", + "main": "lib/index.js", "style": "dist/style.min.css", "type": "module", "sideEffects": [ diff --git a/packages/@uppy/status-bar/package.json b/packages/@uppy/status-bar/package.json index 4c2e7b7f7..30d189ad4 100644 --- a/packages/@uppy/status-bar/package.json +++ b/packages/@uppy/status-bar/package.json @@ -3,6 +3,7 @@ "description": "A progress bar for Uppy, with many bells and whistles.", "version": "5.0.0", "license": "MIT", + "main": "lib/index.js", "style": "dist/style.min.css", "type": "module", "sideEffects": [ diff --git a/packages/@uppy/thumbnail-generator/package.json b/packages/@uppy/thumbnail-generator/package.json index e9bbadcba..bd2466e12 100644 --- a/packages/@uppy/thumbnail-generator/package.json +++ b/packages/@uppy/thumbnail-generator/package.json @@ -3,6 +3,7 @@ "description": "Uppy plugin that generates small previews of images to show on your upload UI.", "version": "5.0.0", "license": "MIT", + "main": "lib/index.js", "type": "module", "sideEffects": false, "scripts": { diff --git a/packages/@uppy/transloadit/package.json b/packages/@uppy/transloadit/package.json index f5bc6ba25..a6e46693d 100644 --- a/packages/@uppy/transloadit/package.json +++ b/packages/@uppy/transloadit/package.json @@ -3,6 +3,7 @@ "description": "The Transloadit plugin can be used to upload files to Transloadit for all kinds of processing, such as transcoding video, resizing images, zipping/unzipping, and more", "version": "5.0.0", "license": "MIT", + "main": "lib/index.js", "type": "module", "sideEffects": false, "scripts": { diff --git a/packages/@uppy/tus/package.json b/packages/@uppy/tus/package.json index ebc516f82..0571a6c0a 100644 --- a/packages/@uppy/tus/package.json +++ b/packages/@uppy/tus/package.json @@ -3,6 +3,7 @@ "description": "Resumable uploads for Uppy using Tus.io", "version": "5.0.0", "license": "MIT", + "main": "lib/index.js", "type": "module", "sideEffects": false, "scripts": { diff --git a/packages/@uppy/unsplash/package.json b/packages/@uppy/unsplash/package.json index eae17ae96..85e5142ea 100644 --- a/packages/@uppy/unsplash/package.json +++ b/packages/@uppy/unsplash/package.json @@ -3,6 +3,7 @@ "description": "Import files from Unsplash, the free stock photography resource, into Uppy", "version": "5.0.0", "license": "MIT", + "main": "lib/index.js", "type": "module", "sideEffects": false, "scripts": { diff --git a/packages/@uppy/url/package.json b/packages/@uppy/url/package.json index 43ae0eee9..8c8e65100 100644 --- a/packages/@uppy/url/package.json +++ b/packages/@uppy/url/package.json @@ -3,6 +3,7 @@ "description": "The Url plugin lets users import files from the Internet. Paste any URL and it’ll be added!", "version": "5.0.0", "license": "MIT", + "main": "lib/index.js", "style": "dist/style.min.css", "type": "module", "sideEffects": [ diff --git a/packages/@uppy/utils/package.json b/packages/@uppy/utils/package.json index a2fd9a478..322ef5079 100644 --- a/packages/@uppy/utils/package.json +++ b/packages/@uppy/utils/package.json @@ -4,6 +4,7 @@ "version": "7.0.1", "license": "MIT", "type": "module", + "main": "./lib/index.js", "sideEffects": false, "scripts": { "build": "tsc --build tsconfig.build.json", diff --git a/packages/@uppy/vue/package.json b/packages/@uppy/vue/package.json index 01645a86f..446894665 100644 --- a/packages/@uppy/vue/package.json +++ b/packages/@uppy/vue/package.json @@ -6,6 +6,7 @@ "sideEffects": [ "*.css" ], + "main": "lib/index.js", "scripts": { "build": "tsc --build tsconfig.build.json", "build:css": "mkdir -p dist && cp ../components/dist/styles.css dist/styles.css", diff --git a/packages/@uppy/webcam/package.json b/packages/@uppy/webcam/package.json index 2055546bd..8cad00328 100644 --- a/packages/@uppy/webcam/package.json +++ b/packages/@uppy/webcam/package.json @@ -3,6 +3,7 @@ "description": "Uppy plugin that takes photos or records videos using the device's camera.", "version": "5.0.0", "license": "MIT", + "main": "lib/index.js", "style": "dist/style.min.css", "type": "module", "sideEffects": [ diff --git a/packages/@uppy/webdav/package.json b/packages/@uppy/webdav/package.json index 6890b7bb1..7f9a0fa68 100644 --- a/packages/@uppy/webdav/package.json +++ b/packages/@uppy/webdav/package.json @@ -3,6 +3,7 @@ "description": "Import files from WebDAV into Uppy.", "version": "1.0.0", "license": "MIT", + "main": "lib/index.js", "types": "types/index.d.ts", "type": "module", "sideEffects": false, diff --git a/packages/@uppy/xhr-upload/package.json b/packages/@uppy/xhr-upload/package.json index 62cea15c5..8cd12f997 100644 --- a/packages/@uppy/xhr-upload/package.json +++ b/packages/@uppy/xhr-upload/package.json @@ -3,6 +3,7 @@ "description": "Plain and simple classic HTML multipart form uploads with Uppy, as well as uploads using the HTTP PUT method.", "version": "5.0.0", "license": "MIT", + "main": "lib/index.js", "type": "module", "sideEffects": false, "scripts": { diff --git a/packages/@uppy/zoom/package.json b/packages/@uppy/zoom/package.json index f015e3150..5b9e8951b 100644 --- a/packages/@uppy/zoom/package.json +++ b/packages/@uppy/zoom/package.json @@ -3,6 +3,7 @@ "description": "Import files from zoom, into Uppy.", "version": "4.0.0", "license": "MIT", + "main": "lib/index.js", "type": "module", "sideEffects": false, "scripts": { diff --git a/packages/uppy/package.json b/packages/uppy/package.json index ecf9b6f6c..63b0add6f 100644 --- a/packages/uppy/package.json +++ b/packages/uppy/package.json @@ -3,6 +3,7 @@ "description": "Extensible JavaScript file upload widget with support for drag&drop, resumable uploads, previews, restrictions, file processing/encoding, remote providers like Instagram, Dropbox, Google Drive, S3 and more :dog:", "version": "5.1.1", "license": "MIT", + "main": "lib/index.js", "module": "lib/index.js", "type": "module", "unpkg": "dist/uppy.min.js",