remove main from package.json (#5950)

redo of #5943 , forgot to add changesets , reverted in #5949
This commit is contained in:
Prakash 2025-09-04 17:39:50 +05:30 committed by GitHub
parent d65e6e4179
commit 975317dd17
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
40 changed files with 14 additions and 38 deletions

View file

@ -0,0 +1,13 @@
---
"@uppy/angular": patch
"@uppy/google-photos-picker": patch
"@uppy/google-drive-picker": patch
"@uppy/thumbnail-generator": patch
"@uppy/companion-client": patch
"@uppy/golden-retriever": patch
"@uppy/provider-views": patch
"@uppy/remote-sources": patch
"@uppy/screen-capture": patch
---
Removed "main" from package.json, since export maps serve as the contract for the public API.

View file

@ -3,6 +3,7 @@
"extends": "../../../tsconfig.json",
"compilerOptions": {
"outDir": "../../../out-tsc/lib",
"moduleResolution": "bundler",
"declaration": true,
"declarationMap": true,
"inlineSources": true,

View file

@ -3,7 +3,6 @@
"description": "Uppy plugin that records audio using the devices microphone.",
"version": "3.0.0",
"license": "MIT",
"main": "lib/index.js",
"style": "dist/style.min.css",
"keywords": [
"file uploader",

View file

@ -3,7 +3,6 @@
"description": "Upload to Amazon S3 with Uppy",
"version": "5.0.0",
"license": "MIT",
"main": "lib/index.js",
"type": "module",
"sideEffects": false,
"scripts": {

View file

@ -3,7 +3,6 @@
"description": "Import files from Box, into Uppy.",
"version": "4.0.0",
"license": "MIT",
"main": "lib/index.js",
"type": "module",
"sideEffects": false,
"scripts": {

View file

@ -3,7 +3,6 @@
"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": {

View file

@ -2,7 +2,6 @@
"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",

View file

@ -3,7 +3,6 @@
"description": "Headless Uppy components, made in Preact",
"version": "1.0.1",
"license": "MIT",
"main": "lib/index.js",
"type": "module",
"sideEffects": [
"*.css"

View file

@ -3,7 +3,6 @@
"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",

View file

@ -3,7 +3,6 @@
"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": [

View file

@ -3,7 +3,6 @@
"description": "Universal UI plugin for Uppy.",
"version": "5.0.1",
"license": "MIT",
"main": "lib/index.js",
"style": "dist/style.min.css",
"type": "module",
"sideEffects": [

View file

@ -3,7 +3,6 @@
"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": [

View file

@ -3,7 +3,6 @@
"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"

View file

@ -3,7 +3,6 @@
"description": "Import files from Dropbox, into Uppy.",
"version": "5.0.0",
"license": "MIT",
"main": "lib/index.js",
"type": "module",
"sideEffects": false,
"scripts": {

View file

@ -3,7 +3,6 @@
"description": "Import files from Facebook, into Uppy.",
"version": "5.0.0",
"license": "MIT",
"main": "lib/index.js",
"type": "module",
"sideEffects": false,
"scripts": {

View file

@ -3,7 +3,6 @@
"description": "Connect Uppy to an existing HTML <form>.",
"version": "5.0.0",
"license": "MIT",
"main": "lib/index.js",
"type": "module",
"sideEffects": false,
"scripts": {

View file

@ -3,7 +3,6 @@
"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": {

View file

@ -3,7 +3,6 @@
"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": {

View file

@ -3,7 +3,6 @@
"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": {

View file

@ -3,7 +3,6 @@
"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": {

View file

@ -3,7 +3,6 @@
"description": "Image editor and cropping UI",
"version": "4.0.0",
"license": "MIT",
"main": "lib/index.js",
"style": "dist/style.min.css",
"type": "module",
"sideEffects": [

View file

@ -3,7 +3,6 @@
"description": "Import photos and videos from Instagram, into Uppy.",
"version": "5.0.0",
"license": "MIT",
"main": "lib/index.js",
"type": "module",
"sideEffects": false,
"scripts": {

View file

@ -3,7 +3,6 @@
"description": "Import files from OneDrive, into Uppy.",
"version": "5.0.0",
"license": "MIT",
"main": "lib/index.js",
"type": "module",
"sideEffects": false,
"scripts": {

View file

@ -3,7 +3,6 @@
"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": [

View file

@ -3,7 +3,6 @@
"description": "React component wrappers around Uppy's official UI plugins.",
"version": "5.0.2",
"license": "MIT",
"main": "lib/index.js",
"type": "module",
"sideEffects": [
"*.css"

View file

@ -3,7 +3,6 @@
"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": {

View file

@ -3,7 +3,6 @@
"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": [

View file

@ -3,7 +3,6 @@
"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": [

View file

@ -3,7 +3,6 @@
"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": {

View file

@ -3,7 +3,6 @@
"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": {

View file

@ -3,7 +3,6 @@
"description": "Resumable uploads for Uppy using Tus.io",
"version": "5.0.0",
"license": "MIT",
"main": "lib/index.js",
"type": "module",
"sideEffects": false,
"scripts": {

View file

@ -3,7 +3,6 @@
"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": {

View file

@ -3,7 +3,6 @@
"description": "The Url plugin lets users import files from the Internet. Paste any URL and itll be added!",
"version": "5.0.0",
"license": "MIT",
"main": "lib/index.js",
"style": "dist/style.min.css",
"type": "module",
"sideEffects": [

View file

@ -4,7 +4,6 @@
"version": "7.0.1",
"license": "MIT",
"type": "module",
"main": "./lib/index.js",
"sideEffects": false,
"scripts": {
"build": "tsc --build tsconfig.build.json",

View file

@ -6,7 +6,6 @@
"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",

View file

@ -3,7 +3,6 @@
"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": [

View file

@ -3,7 +3,6 @@
"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,

View file

@ -3,7 +3,6 @@
"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": {

View file

@ -3,7 +3,6 @@
"description": "Import files from zoom, into Uppy.",
"version": "4.0.0",
"license": "MIT",
"main": "lib/index.js",
"type": "module",
"sideEffects": false,
"scripts": {

View file

@ -3,7 +3,6 @@
"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",