Skip to content

chore: add npm bugs metadata and fix repository field format in @auth/core and next-auth#13452

Open
XananasX7 wants to merge 1 commit into
nextauthjs:mainfrom
XananasX7:fix/npm-package-metadata
Open

chore: add npm bugs metadata and fix repository field format in @auth/core and next-auth#13452
XananasX7 wants to merge 1 commit into
nextauthjs:mainfrom
XananasX7:fix/npm-package-metadata

Conversation

@XananasX7

Copy link
Copy Markdown

Problem

Both @auth/core and next-auth packages have two npm metadata issues:

  1. repository is set to a plain URL string, which publint warns is not valid:

    pkg.repository is https://github.com/nextauthjs/next-auth.git which isn't a
    valid shorthand value supported by npm.
    
  2. bugs field is missing entirely.

Reproduction:

npm pack @auth/core --silent && npx publint@0.3.21 run auth-core-*.tgz --level warning
npm view @auth/core bugs   # returns empty
npm view next-auth bugs    # returns empty

Fix

For both packages:

  • Convert repository from plain URL string to standard npm object with type, url, and directory fields
  • Add bugs.url pointing to the GitHub issue tracker

Metadata-only change — no runtime behaviour is affected.

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.
@vercel

vercel Bot commented Jun 15, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
auth-docs Ready Ready Preview, Comment Jun 15, 2026 5:53pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
next-auth-docs Ignored Ignored Preview Jun 15, 2026 5:53pm

Request Review

@vercel

vercel Bot commented Jun 15, 2026

Copy link
Copy Markdown

@XananasX7 is attempting to deploy a commit to the authjs Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant