chore: prepare JavaScript SDK for npm publish

This commit is contained in:
Mo Elzubeir
2026-05-29 13:46:11 -05:00
parent c860cf6d88
commit d820a39223
4 changed files with 91 additions and 3 deletions
+6 -1
View File
@@ -99,6 +99,11 @@ pnpm build
Publishing:
Preferred publish path is the release workflow, which runs with npm provenance from CI. Before publishing, verify npm authentication and `@socialhose` scope access:
```bash
npm publish --access public --provenance
npm whoami
npm publish --dry-run --access public --provenance
```
For the actual release, publish from CI with provenance enabled. If you must publish locally, first confirm whether npm provenance is supported in that environment.