From 8351ecd75a73af1600b3f6f504c367ac0fd2ee9c Mon Sep 17 00:00:00 2001 From: Nicolas Ayral Seydoux Date: Wed, 18 Sep 2024 14:23:13 +0200 Subject: [PATCH 1/2] Align repository URLs with other libraries As of 2024-09-18, a change in NPM (?) results in `npm view @inrupt/solid-client-authn repository.url` not showing the `git+...` URL of the repo, but shows `https://...` instead. This is an attempt at making this command consistent accross all of our repositories. --- packages/browser/package.json | 3 ++- packages/core/package.json | 3 ++- packages/node/package.json | 3 ++- packages/oidc-browser/package.json | 4 ++++ 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/packages/browser/package.json b/packages/browser/package.json index 14567ab20..7b66254a9 100644 --- a/packages/browser/package.json +++ b/packages/browser/package.json @@ -8,7 +8,8 @@ "module": "dist/index.mjs", "bundle": "dist/solid-client-authn.bundle.js", "repository": { - "url": "https://github.com/inrupt/solid-client-authn" + "type": "git", + "url": "https://github.com/inrupt/solid-client-authn.git" }, "exports": { ".": { diff --git a/packages/core/package.json b/packages/core/package.json index c0995ee15..1e2ad39c1 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -25,7 +25,8 @@ } }, "repository": { - "url": "https://github.com/inrupt/solid-client-authn" + "type": "git", + "url": "https://github.com/inrupt/solid-client-authn.git" }, "scripts": { "prepublishOnly": "npm run build", diff --git a/packages/node/package.json b/packages/node/package.json index ec22c3519..d03a9b90b 100644 --- a/packages/node/package.json +++ b/packages/node/package.json @@ -6,7 +6,8 @@ "types": "dist/index.d.ts", "module": "dist/index.mjs", "repository": { - "url": "https://github.com/inrupt/solid-client-authn" + "type": "git", + "url": "https://github.com/inrupt/solid-client-authn.git" }, "exports": { ".": { diff --git a/packages/oidc-browser/package.json b/packages/oidc-browser/package.json index 1b2da3970..bf6a86a65 100644 --- a/packages/oidc-browser/package.json +++ b/packages/oidc-browser/package.json @@ -8,6 +8,10 @@ "module": "dist/index.es.js", "types": "dist/index.d.ts", "sideEffects": false, + "repository": { + "type": "git", + "url": "https://github.com/inrupt/solid-client-authn.git" + }, "scripts": { "prepublishOnly": "npm run build", "build": "rollup --config rollup.config.mjs", From 77570a2d34e285db20249f014b01760b2f7f8976 Mon Sep 17 00:00:00 2001 From: Nicolas Ayral Seydoux Date: Wed, 18 Sep 2024 14:29:27 +0200 Subject: [PATCH 2/2] fixup! Align repository URLs with other libraries --- packages/browser/package.json | 2 +- packages/core/package.json | 2 +- packages/node/package.json | 2 +- packages/oidc-browser/package.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/browser/package.json b/packages/browser/package.json index 7b66254a9..313bc1507 100644 --- a/packages/browser/package.json +++ b/packages/browser/package.json @@ -9,7 +9,7 @@ "bundle": "dist/solid-client-authn.bundle.js", "repository": { "type": "git", - "url": "https://github.com/inrupt/solid-client-authn.git" + "url": "https://github.com/inrupt/solid-client-authn-js.git" }, "exports": { ".": { diff --git a/packages/core/package.json b/packages/core/package.json index 1e2ad39c1..b15c77571 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -26,7 +26,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/inrupt/solid-client-authn.git" + "url": "https://github.com/inrupt/solid-client-authn-js.git" }, "scripts": { "prepublishOnly": "npm run build", diff --git a/packages/node/package.json b/packages/node/package.json index d03a9b90b..402170249 100644 --- a/packages/node/package.json +++ b/packages/node/package.json @@ -7,7 +7,7 @@ "module": "dist/index.mjs", "repository": { "type": "git", - "url": "https://github.com/inrupt/solid-client-authn.git" + "url": "https://github.com/inrupt/solid-client-authn-js.git" }, "exports": { ".": { diff --git a/packages/oidc-browser/package.json b/packages/oidc-browser/package.json index bf6a86a65..2037bafab 100644 --- a/packages/oidc-browser/package.json +++ b/packages/oidc-browser/package.json @@ -10,7 +10,7 @@ "sideEffects": false, "repository": { "type": "git", - "url": "https://github.com/inrupt/solid-client-authn.git" + "url": "https://github.com/inrupt/solid-client-authn-js.git" }, "scripts": { "prepublishOnly": "npm run build",