Skip to content

chore: normalize package repository urls and the mcp bin path - #911

Merged
Aymericr merged 1 commit into
mainfrom
chore/manifest-hygiene
Sep 22, 2026
Merged

Aymericr merged 1 commit into
mainfrom
chore/manifest-hygiene

Conversation

@Aymericr

@Aymericr Aymericr commented Sep 22, 2026 •

Copy link
Copy Markdown
Contributor

What does this PR do?

npm 11 rewrites two manifest fields at publish time and warns on every release run: repository.url without the git+ prefix, and the mcp bin path with a leading ./ (npm's warning even claims the bin "was invalid and removed", though it keeps the normalized path). Ship the manifests in the form npm publishes so the release log stays clean. @pascal-app/editor gains the same repository field as its siblings.

Seen in the 1.0.3 dry run: https://github.com/pascalorg/editor/actions/runs/35776677972

How to test

  1. jq .repository.url packages/*/package.json → all git+https://github.com/pascalorg/editor.git; jq .bin packages/mcp/package.json → dist/bin/pascal-mcp.js.
  2. Next release dry run logs no repository.url or bin[...] warnings.

Screenshots / screen recording

N/A — manifest metadata only.

Checklist

  • I've tested this locally with bun dev
  • My code follows the existing code style (run bun check to verify)
  • I've updated relevant documentation (if applicable)
  • This PR targets the main branch

Note

Low Risk
Metadata-only manifest tweaks with no runtime, API, or publish behavior changes beyond quieter npm 11 release logs.

Overview
Aligns published package manifests with npm 11’s normalized form so release dry runs stop warning about rewritten metadata.

Across core, ifc-converter, mcp, nodes, and viewer, repository.url now uses the git+https://… prefix instead of a bare HTTPS URL. @pascal-app/editor gets the same monorepo repository block (with directory: packages/editor) that the other packages already had.

In @pascal-app/mcp, the pascal-mcp bin entry drops the leading ./ (dist/bin/pascal-mcp.js), matching what npm emits at publish time.

Reviewed by Cursor Bugbot for commit aa38f31. Bugbot is set up for automated code reviews on this repo. Configure here.

npm 11 rewrites these at publish time and warns on every run:
repository.url without the git+ prefix and a bin path with a leading
./ (its warning even says the bin was removed, though it keeps the
normalized path). Ship the manifests in the form npm publishes so the
release log stays clean; @pascal-app/editor gains the same repository
field as its siblings.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@pascal

pascal Bot commented Sep 22, 2026

Copy link
Copy Markdown

I hit an error while handling your request (Model unavailable on AI Gateway free tier: Free tier users do not have access to this model. Upgrade to paid credits at https://vercel.com/d?to=%2F%5Bteam%5D%2F%7E%2Fai%3Fmodal%3Dtop-up for unrestricted…).

Please try again, rephrase, or reach out if it keeps failing.

Error id: 9a1d7ec9-51d6-4194-a0ab-3645f247f1cd

@Aymericr
Aymericr merged commit bcc2020 into main Sep 22, 2026
4 checks passed
@Aymericr
Aymericr deleted the chore/manifest-hygiene branch September 22, 2026 20:17
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.

1 participant