Skip to content

fix: node sdk publish - #3419

Merged
portuu3 merged 2 commits into
mainfrom
hotfix/node-sdk-publish
Jun 26, 2025
Merged

fix: node sdk publish#3419
portuu3 merged 2 commits into
mainfrom
hotfix/node-sdk-publish

Conversation

@dnechay

@dnechay dnechay commented Jun 26, 2025

Copy link
Copy Markdown
Collaborator

Issue tracking

No

Context behind the change

SDK package fails to be installed because its "core" package dependency isn't replaced properly while doing "publish". It's due to CI using some custom publish action instead of relying on native mechanism in yarn that should properly replace deps when doing publish in workspaces (ref).

Also had to change core package resolution to be workspace:x instead of workspace:* in order to:

  • support local core version for development
  • get proper replacement with semver "catch-all" syntax for the package when publishing, because if we use workspace:* - yarn will replace it with the exact version from core's package.json when packing; as an alternative could be workspace:>=0.0.0

How has this been tested?

  • use semver calculator to check if new version matcher works as expected
  • yarn pack from SDK workspace and check that resulting package.json has "@human-protocol/core": "x" in its deps

Release plan

Merge & release 4.1.2

Potential risks; What to monitor; Rollback plan

We need to run action to see if it works, but in worst case it just fails

@vercel

vercel Bot commented Jun 26, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
human-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 26, 2025 2:16pm
human-dashboard-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 26, 2025 2:16pm
staking-dashboard ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 26, 2025 2:16pm
2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
faucet-frontend ⬜️ Ignored (Inspect) Visit Preview Jun 26, 2025 2:16pm
faucet-server ⬜️ Ignored (Inspect) Visit Preview Jun 26, 2025 2:16pm

@portuu3
portuu3 merged commit 181d410 into main Jun 26, 2025
20 checks passed
@github-project-automation github-project-automation Bot moved this from In Review to Done in Core-tech - 2025 Jun 26, 2025
@portuu3
portuu3 deleted the hotfix/node-sdk-publish branch June 26, 2025 14:23
@portuu3
portuu3 restored the hotfix/node-sdk-publish branch June 26, 2025 14:23
@dnechay
dnechay deleted the hotfix/node-sdk-publish branch June 26, 2025 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants