From ea671c9d9ab67e9b94712f4140882a9aa882c86e Mon Sep 17 00:00:00 2001 From: Mark Lundin Date: Mon, 28 Apr 2025 16:26:06 +0100 Subject: [PATCH] Update package metadata and repository links - Added license information as "MIT" to both package.json files for compliance. - Updated repository URLs to point to the main repository instead of specific directories, improving clarity and accessibility. --- package.json | 3 ++- packages/lib/package.json | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 24b7f070..bfd2330d 100644 --- a/package.json +++ b/package.json @@ -2,9 +2,10 @@ "name": "playcanvas-react-monorepo", "description": "A monorepo for PlayCanvas React renderer and examples. Please see the packages directory for more information.", "private": true, + "license": "MIT", "repository": { "type": "git", - "url": "https://github.com/playcanvas/react/tree/main/packages/lib" + "url": "https://github.com/playcanvas/react" }, "workspaces": [ "packages/*" diff --git a/packages/lib/package.json b/packages/lib/package.json index 055592fa..a1c62dc6 100644 --- a/packages/lib/package.json +++ b/packages/lib/package.json @@ -3,6 +3,7 @@ "description": "A React renderer for PlayCanvas – build interactive 3D applications using React's declarative paradigm.", "homepage": "https://playcanvas-react.vercel.app", "version": "0.3.0", + "license": "MIT", "type": "module", "sideEffects": false, "main": "dist/index.js", @@ -35,7 +36,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/playcanvas/react/tree/main/packages/lib" + "url": "https://github.com/playcanvas/react", + "directory": "packages/lib" }, "files": [ "dist"