From 6cf044504af14e2009e172aeacfb197395ad30ad Mon Sep 17 00:00:00 2001 From: Adnan Bacic Date: Tue, 3 Dec 2024 10:36:58 +0100 Subject: [PATCH] chore: add homepage to JavaScript client package (#4192) Co-authored-by: shortcuts --- clients/algoliasearch-client-javascript/package.json | 1 + .../packages/client-common/package.json | 1 + .../packages/logger-console/package.json | 1 + .../packages/requester-browser-xhr/package.json | 1 + .../packages/requester-fetch/package.json | 1 + .../packages/requester-node-http/package.json | 1 + .../packages/requester-testing/package.json | 1 + templates/javascript/clients/package.mustache | 3 ++- 8 files changed, 9 insertions(+), 1 deletion(-) diff --git a/clients/algoliasearch-client-javascript/package.json b/clients/algoliasearch-client-javascript/package.json index 2c56ee7149..292752336f 100644 --- a/clients/algoliasearch-client-javascript/package.json +++ b/clients/algoliasearch-client-javascript/package.json @@ -1,6 +1,7 @@ { "name": "algoliasearch-client-javascript", "private": true, + "homepage": "https://github.com/algolia/algoliasearch-client-javascript#readme", "type": "module", "workspaces": [ "packages/*" diff --git a/clients/algoliasearch-client-javascript/packages/client-common/package.json b/clients/algoliasearch-client-javascript/packages/client-common/package.json index 86a0573929..66e76ea9da 100644 --- a/clients/algoliasearch-client-javascript/packages/client-common/package.json +++ b/clients/algoliasearch-client-javascript/packages/client-common/package.json @@ -6,6 +6,7 @@ "type": "git", "url": "git+https://github.com/algolia/algoliasearch-client-javascript.git" }, + "homepage": "https://github.com/algolia/algoliasearch-client-javascript#readme", "license": "MIT", "author": "Algolia", "type": "module", diff --git a/clients/algoliasearch-client-javascript/packages/logger-console/package.json b/clients/algoliasearch-client-javascript/packages/logger-console/package.json index c2930066c6..8bfc9c4abe 100644 --- a/clients/algoliasearch-client-javascript/packages/logger-console/package.json +++ b/clients/algoliasearch-client-javascript/packages/logger-console/package.json @@ -6,6 +6,7 @@ "type": "git", "url": "git://github.com/algolia/algoliasearch-client-javascript.git" }, + "homepage": "https://github.com/algolia/algoliasearch-client-javascript#readme", "license": "MIT", "author": "Algolia", "type": "module", diff --git a/clients/algoliasearch-client-javascript/packages/requester-browser-xhr/package.json b/clients/algoliasearch-client-javascript/packages/requester-browser-xhr/package.json index efd23afaff..af11e282f5 100644 --- a/clients/algoliasearch-client-javascript/packages/requester-browser-xhr/package.json +++ b/clients/algoliasearch-client-javascript/packages/requester-browser-xhr/package.json @@ -6,6 +6,7 @@ "type": "git", "url": "git+https://github.com/algolia/algoliasearch-client-javascript.git" }, + "homepage": "https://github.com/algolia/algoliasearch-client-javascript#readme", "license": "MIT", "author": "Algolia", "type": "module", diff --git a/clients/algoliasearch-client-javascript/packages/requester-fetch/package.json b/clients/algoliasearch-client-javascript/packages/requester-fetch/package.json index cd97733e80..bdb8ef131d 100644 --- a/clients/algoliasearch-client-javascript/packages/requester-fetch/package.json +++ b/clients/algoliasearch-client-javascript/packages/requester-fetch/package.json @@ -6,6 +6,7 @@ "type": "git", "url": "git+https://github.com/algolia/algoliasearch-client-javascript.git" }, + "homepage": "https://github.com/algolia/algoliasearch-client-javascript#readme", "license": "MIT", "author": "Algolia", "type": "module", diff --git a/clients/algoliasearch-client-javascript/packages/requester-node-http/package.json b/clients/algoliasearch-client-javascript/packages/requester-node-http/package.json index b3c7678b4c..c6cb805dbc 100644 --- a/clients/algoliasearch-client-javascript/packages/requester-node-http/package.json +++ b/clients/algoliasearch-client-javascript/packages/requester-node-http/package.json @@ -6,6 +6,7 @@ "type": "git", "url": "git+https://github.com/algolia/algoliasearch-client-javascript.git" }, + "homepage": "https://github.com/algolia/algoliasearch-client-javascript#readme", "license": "MIT", "author": "Algolia", "type": "module", diff --git a/clients/algoliasearch-client-javascript/packages/requester-testing/package.json b/clients/algoliasearch-client-javascript/packages/requester-testing/package.json index 228b6899ae..6709bac2b8 100644 --- a/clients/algoliasearch-client-javascript/packages/requester-testing/package.json +++ b/clients/algoliasearch-client-javascript/packages/requester-testing/package.json @@ -7,6 +7,7 @@ "type": "git", "url": "git+https://github.com/algolia/algoliasearch-client-javascript.git" }, + "homepage": "https://github.com/algolia/algoliasearch-client-javascript#readme", "license": "MIT", "author": "Algolia", "type": "module", diff --git a/templates/javascript/clients/package.mustache b/templates/javascript/clients/package.mustache index b13f988344..0aaf87f361 100644 --- a/templates/javascript/clients/package.mustache +++ b/templates/javascript/clients/package.mustache @@ -4,6 +4,7 @@ "type": "git", "url": "git+https://github.com/algolia/algoliasearch-client-javascript.git" }, + "homepage": "https://github.com/algolia/algoliasearch-client-javascript/packages/{{packageName}}#readme", "type": "module", "license": "MIT", "author": "Algolia", @@ -145,4 +146,4 @@ "engines": { "node": ">= 14.0.0" } -} +} \ No newline at end of file