Skip to content

chore: regenerate package-lock to drop stale next-auth (#283) - #284

Merged
NoopDog merged 1 commit into
mainfrom
fran/283-regenerate-package-lock-drop-next-auth
Jun 30, 2026
Merged

NoopDog merged 1 commit into
mainfrom
fran/283-regenerate-package-lock-drop-next-auth

Conversation

@frano-m

@frano-m frano-m commented Jun 30, 2026

Copy link
Copy Markdown
Collaborator

Summary

Closes #283

Regenerates package-lock.json via a clean install (rm -rf node_modules package-lock.json && npm install) to drop a stale, resolved next-auth@4.24.14 package node.

next-auth was being carried in the lock and installed into node_modules/ even though:

  • this repo's package.json does not declare it, and
  • findable-ui now lists next-auth only as an optional peerDependency (not in dependencies) — the findable-ui #953 fix is present.

It was leftover cruft from a lock generated before that fix landed. Note npm ci cannot clear this — it installs exactly what the lock specifies and never regenerates it; a lock regeneration via npm install is required.

Verification (after clean install)

  • No resolved node_modules/next-auth entry in package-lock.json ✅
  • next-auth absent from node_modules/ ✅
  • npm ls next-auth → (empty) ✅
  • Only remaining lock references are findable-ui's optional-peer declaration (harmless metadata)

Note

The pre-commit prettier hook also flagged three pre-existing, unrelated files (catalog/build/ts/build-catalog.ts, catalog/build/ts/entities.ts, catalog/schema/generated/schema.ts); they were reformatted to let the commit pass.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@frano-m
frano-m requested a review from Copilot June 30, 2026 04:18
@frano-m
frano-m marked this pull request as ready for review June 30, 2026 04:18

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR refreshes the repository’s dependency lockfile to remove a stale next-auth resolved/installable node that was being carried forward in package-lock.json despite not being declared in package.json, aligning the lock with @databiosphere/findable-ui’s current optional peer dependency posture.

Changes:

  • Regenerated package-lock.json via a clean npm install to drop the stale next-auth resolved package node (leaving only optional peer metadata).
  • Prettier-driven reformatting in a few pre-existing catalog build/schema TypeScript files to satisfy pre-commit hooks.
  • Minor formatting-only adjustments to union type declarations and map() call formatting (no functional logic changes apparent in the reviewed hunks).

Reviewed changes

Copilot reviewed 2 out of 4 changed files in this pull request and generated no comments.

File Description
package-lock.json Regenerated lockfile to remove stale resolved next-auth while keeping only optional peer metadata from @databiosphere/findable-ui.
catalog/build/ts/build-catalog.ts Prettier formatting of mapping logic for samples and alignments.
catalog/build/ts/entities.ts Prettier formatting of union type definitions for source key types.
catalog/schema/generated/schema.ts Prettier formatting of a union type declaration in generated schema types.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@NoopDog
NoopDog merged commit ae620fe into main Jun 30, 2026
3 checks passed
@NoopDog
NoopDog deleted the fran/283-regenerate-package-lock-drop-next-auth branch June 30, 2026 04:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore: regenerate package-lock to drop stale next-auth

3 participants