From 81f1dbf460af34987d8651ba40b2a3c8c8f5b56a Mon Sep 17 00:00:00 2001 From: Kito Ho Date: Thu, 20 Feb 2025 11:44:22 +0800 Subject: [PATCH 1/2] Fix: the license display incorrectly on npmjs.com --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 93300bf..6518baf 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "icloud" ], "author": "Vojtech Novak (hello@react-native-training.eu)", - "license": "see LICENSE file", + "license": "MIT", "bugs": { "url": "https://github.com/react-native-documents/document-picker/issues" }, From a6e4c68c83f5247812605c0b8159f462bef66de8 Mon Sep 17 00:00:00 2001 From: Kito Ho Date: Thu, 20 Feb 2025 17:58:11 +0800 Subject: [PATCH 2/2] Update the license field in all the package.json files --- packages/document-picker/package.json | 2 +- packages/document-viewer/package.json | 2 +- packages/example/package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/document-picker/package.json b/packages/document-picker/package.json index 036cfe0..8bc5fc7 100644 --- a/packages/document-picker/package.json +++ b/packages/document-picker/package.json @@ -50,7 +50,7 @@ "url": "git+https://github.com/react-native-documents/document-picker.git" }, "author": "Vojtech Novak (hello@react-native-training.eu)", - "license": "see LICENSE file", + "license": "MIT", "bugs": { "url": "https://github.com/react-native-documents/document-picker/issues" }, diff --git a/packages/document-viewer/package.json b/packages/document-viewer/package.json index bf66d5e..a65d2db 100644 --- a/packages/document-viewer/package.json +++ b/packages/document-viewer/package.json @@ -48,7 +48,7 @@ "url": "git+https://github.com/react-native-documents/document-picker.git" }, "author": "Vojtech Novak (hello@react-native-training.eu)", - "license": "see LICENSE file", + "license": "MIT", "bugs": { "url": "https://github.com/react-native-documents/document-picker/issues" }, diff --git a/packages/example/package.json b/packages/example/package.json index 49fbf33..fce2213 100644 --- a/packages/example/package.json +++ b/packages/example/package.json @@ -22,7 +22,7 @@ "private": true, "repository": "https://github.com/react-native-documents/sponsors-only", "author": "Vojtech Novak (hello@react-native-training.eu)", - "license": "see LICENSE file", + "license": "MIT", "bugs": { "url": "https://github.com/react-native-documents/sponsors-only/issues" },