From dee96cca42d7deabb216bd0b385c996f02dbcb0e Mon Sep 17 00:00:00 2001 From: XananasX7 Date: Mon, 15 Jun 2026 17:47:28 +0000 Subject: [PATCH] chore: add npm bugs metadata and fix repository field format The @auth/core and next-auth packages set repository to a plain URL string, which publint warns is not a valid shorthand value supported by npm. Also, both packages are missing the bugs metadata field. Changes: - Convert repository from plain string to proper {type, url, directory} object - Add bugs.url pointing to https://github.com/nextauthjs/next-auth/issues Fixes publint warnings: pkg.repository is https://... which isn't a valid shorthand value supported by npm. --- packages/core/package.json | 9 ++++++++- packages/next-auth/package.json | 9 ++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/packages/core/package.json b/packages/core/package.json index d20e37490d..f0bc69dd58 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -14,7 +14,11 @@ "webapi" ], "homepage": "https://authjs.dev", - "repository": "https://github.com/nextauthjs/next-auth.git", + "repository": { + "type": "git", + "url": "git+https://github.com/nextauthjs/next-auth.git", + "directory": "packages/core" + }, "author": "Balázs Orbán ", "contributors": [ "Balázs Orbán ", @@ -110,5 +114,8 @@ "postcss-nesting": "^12.1.5", "typedoc": "^0.25.12", "typedoc-plugin-markdown": "4.0.0-next.53" + }, + "bugs": { + "url": "https://github.com/nextauthjs/next-auth/issues" } } diff --git a/packages/next-auth/package.json b/packages/next-auth/package.json index 21a960e480..1ab5c28644 100644 --- a/packages/next-auth/package.json +++ b/packages/next-auth/package.json @@ -3,7 +3,11 @@ "version": "5.0.0-beta.31", "description": "Authentication for Next.js", "homepage": "https://nextjs.authjs.dev", - "repository": "https://github.com/nextauthjs/next-auth.git", + "repository": { + "type": "git", + "url": "git+https://github.com/nextauthjs/next-auth.git", + "directory": "packages/next-auth" + }, "author": "Balázs Orbán ", "contributors": [ "Iain Collins ", @@ -112,5 +116,8 @@ "next": "15.5.18", "nodemailer": "^8.0.5", "react": "^18.2.0" + }, + "bugs": { + "url": "https://github.com/nextauthjs/next-auth/issues" } }