Skip to content

Link package homepages to their subdirectories - #1881

Merged
Dirk Bäumer (dbaeumer) merged 3 commits into
microsoft:mainfrom
trivikr:link-homepage
Oct 19, 2026
Merged

Dirk Bäumer (dbaeumer) merged 3 commits into
microsoft:mainfrom
trivikr:link-homepage

Conversation

@trivikr

@trivikr Trivikram Kamat (trivikr) commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Set homepage in each package's package.json so the npm page links to the package's own directory instead of the monorepo root.

Without homepage, npm derives it from repository.url, so every package currently links to https://github.com/Microsoft/vscode-languageserver-node#readme.

The repository.directory is only used for the "Repository" link, not the homepage.
The npm pages update on each package's next release.

@trivikr

Copy link
Copy Markdown
Contributor Author

cc Raymond Zhao (@rzhao271) for review

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

The published @vscode/tsconfig-gen package still needs its package-specific homepage.

1 open finding
What changed in this PR

Adds package-specific npm homepage links for published monorepo packages.

Changes:

  • Adds GitHub subdirectory URLs to six package manifests.
  • Leaves the published tsconfig-gen package uncovered.
File Description
types/​package.json Links to the types directory.
textDocument/​package.json Links to the textDocument directory.
server/​package.json Links to the server directory.
protocol/​package.json Links to the protocol directory.
jsonrpc/​package.json Links to the jsonrpc directory.
client/​package.json Links to the client directory.

🧠 Review effort: Balanced


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

Comment thread types/package.json

@dbaeumer Dirk Bäumer (dbaeumer) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Trivikram Kamat (@trivikr) can you please address the Copilot comment

@trivikr

Copy link
Copy Markdown
Contributor Author

can you please address the Copilot comment

Dirk Bäumer (@dbaeumer) Addressed.

npm derives the homepage from repository.url when none is set, so
every package linked to the monorepo root. Set homepage explicitly
to each package's directory on main.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

All seven homepage URLs match their package directories, and the metadata-only changes have no unresolved findings.

0 open findings

1 resolved since last review

🧠 Review effort: Balanced

Copilot AI balanced review requested due to automatic review settings October 19, 2026 14:39

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

All seven metadata-only additions target the corresponding package directories, with no unresolved issues.

No open issues 🎉

Review effort: Balanced

@dbaeumer
Dirk Bäumer (dbaeumer) enabled auto-merge (squash) October 19, 2026 15:57
@dbaeumer
Dirk Bäumer (dbaeumer) merged commit 8e797f4 into microsoft:main Oct 19, 2026
5 checks passed
@trivikr
Trivikram Kamat (trivikr) deleted the link-homepage branch October 19, 2026 16:21
@dbaeumer Dirk Bäumer (dbaeumer) added this to the 3.18.5 milestone Oct 21, 2026
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.

6 participants