Skip to content

meta: define package identity - #166

Merged
ovflowd merged 1 commit into
nodejs:mainfrom
dcavalcante:meta/package-metadata
Oct 5, 2026
Merged

ovflowd merged 1 commit into
nodejs:mainfrom
dcavalcante:meta/package-metadata

Conversation

@dcavalcante

Copy link
Copy Markdown
Contributor

package-lock.json has the root package identified as learn, but package.json did not define a package name.

Without an explicit name, npm can derive it from the checkout directory, which can cause the lockfile name to change depending on where the repository is cloned.

This adds:

  • "name": "learn" to make the existing package identity explicit and stable.
  • "private": true because this repository is not intended to be published to npm.

Follow-up to #164.

Signed-off-by: Daniel Cavalcante <dcavalcante@gmail.com>
Copilot AI balanced review requested due to automatic review settings October 5, 2026 02:09
@dcavalcante
dcavalcante requested a review from a team as a code owner October 5, 2026 02:09
@vercel

vercel Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
nodejs-learn Ready Ready Preview Oct 5, 2026 2:09am UTC

Request Review

@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown

👋 Codeowner Review Request

The following codeowners have been identified for the changed files:

Team reviewers: @nodejs/nodejs-website

Please review the changes when you have a chance. Thank you! 🙏

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.

Copilot review overview

🟢 Approval recommended

The manifest and lockfile changes are consistent, valid, and fulfill the stated purpose.

Review effort: Balanced
Findings: None

What changed in this PR

Defines a stable npm package identity and prevents accidental publication.

Changes:

  • Adds "name": "learn" and "private": true.
  • Synchronizes the lockfile’s root package metadata.
File Description
package.json Defines package identity and marks it private.
package-lock.json Records the root package name.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@ovflowd
ovflowd added this pull request to the merge queue Oct 5, 2026
Merged via the queue into nodejs:main with commit b40bed5 Oct 5, 2026
7 of 8 checks passed

This branch was successfully deployed

1 active deployment
Preview — 74dbb888 Deployed Oct 5, 2026 by vercel[bot]
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.

5 participants