chore: prepare JavaScript SDK for npm publish
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user