Skip to content

Align repository URLs with the renamed GitHub repo#80

Merged
ctate merged 2 commits into
mainfrom
fix/npm-platform-repository-urls
Jul 9, 2026
Merged

Align repository URLs with the renamed GitHub repo#80
ctate merged 2 commits into
mainfrom
fix/npm-platform-repository-urls

Conversation

@ctate

@ctate ctate commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

Bug

The v0.4.1 Release run failed publishing the first package: npm rejects the publish because repository.url (git+https://github.com/vercel-labs/zero-native.git) doesn't match the provenance repository (vercel-labs/native). #78 updated only the main CLI package; all eight platform packages under npm/*/ were missed. Nothing was published, so merging this retries the full 0.4.1 publish (Release runs on every main push and skips already-published versions).

Fix

  • repository.urlvercel-labs/native and homepagenative-sdk.dev in all eight platform packages (and homepage in the main package)
  • check-version-sync.js now asserts platform repository.url/homepage match the main package — the release workflow runs this before publishing, so a half-landed rename can't reach npm again
  • Swept remaining vercel-labs/zero-native links and zero-native.dev domains across README/CONTRIBUTING/RELEASING, docs site config (github star API, sitemap, robots), generated-CI templates, CEF download URL, and test fixtures

Left alone deliberately: CHANGELOG history, the eval-sandbox container image path (registry namespace, not a GitHub URL), and the vercel link project name — the latter two flagged for follow-up.

Verification

  • scripts:check, version:check ("Versions in sync: 0.4.1"), npm pack --dry-run all pass
  • Guard negative-tested (stale URL in one platform package → exits 1)
  • Repo gate, canvas-preview smoke, and docs build green

Note: the npm trusted-publisher config for the nine packages must point at repository vercel-labs/native post-rename (RELEASING.md now says so).

- Point repository.url at vercel-labs/native in all eight platform packages so npm provenance validation passes (the v0.4.1 publish failed on the first package)
- Guard in check-version-sync.js: platform repository.url and homepage must match the main package
- Sweep remaining vercel-labs/zero-native links and zero-native.dev domains across docs, templates, and fixtures to the new canonical names
@vercel

vercel Bot commented Jul 9, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
native-sdk Ready Ready Preview, Comment Jul 9, 2026 3:24pm

Comment thread packages/native-sdk/scripts/check-version-sync.js
- version:sync now stamps repository and homepage from the main package into each platform package, making the check script's remediation hint accurate
@ctate ctate merged commit c17c64e into main Jul 9, 2026
21 checks passed
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.

2 participants