From 2e3b56be444cef73919d728f1ddd121d433d9993 Mon Sep 17 00:00:00 2001 From: braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Fri, 30 Aug 2024 12:57:38 +0200 Subject: [PATCH] feat(react,svelte): add homepage, repo and issues links to package.json --- packages/react/package.json | 14 +++++++++----- packages/svelte/package.json | 9 +++++++++ 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/packages/react/package.json b/packages/react/package.json index 8229c1e4..c7826eca 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -11,6 +11,15 @@ "react-flow", "xyflow" ], + "repository": { + "type": "git", + "url": "https://github.com/xyflow/xyflow.git", + "directory": "packages/react" + }, + "homepage": "https://reactflow.dev", + "bugs": { + "url": "https://github.com/xyflow/xyflow/issues" + }, "files": [ "dist" ], @@ -34,11 +43,6 @@ "publishConfig": { "access": "public" }, - "repository": { - "type": "git", - "url": "https://github.com/xyflow/xyflow.git", - "directory": "packages/react" - }, "scripts": { "dev": "concurrently \"rollup --config node:@xyflow/rollup-config --watch\" pnpm:css-watch", "build": "rollup --config node:@xyflow/rollup-config --environment NODE_ENV:production && npm run css", diff --git a/packages/svelte/package.json b/packages/svelte/package.json index 7ba0304d..3ec0e727 100644 --- a/packages/svelte/package.json +++ b/packages/svelte/package.json @@ -11,6 +11,15 @@ "svelte-flow", "xyflow" ], + "repository": { + "type": "git", + "url": "https://github.com/xyflow/xyflow.git", + "directory": "packages/svelte" + }, + "homepage": "https://svelteflow.dev", + "bugs": { + "url": "https://github.com/xyflow/xyflow/issues" + }, "scripts": { "dev": "concurrently \"svelte-kit sync && svelte-package -o dist/lib -w\" pnpm:css-watch", "build": "svelte-kit sync && svelte-package -o dist/lib && pnpm css",