diff --git a/RELEASING.md b/RELEASING.md index 5bb579c..56c7ee4 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -17,6 +17,7 @@ - Publishing is handled by GitHub Actions via `.github/workflows/publish.yml`. - npm publishing uses trusted publishing with GitHub OIDC; no long-lived npm token or PAT is required. +- Do not define package publish scripts in `package.json`; publish to npm only through the GitHub Actions workflow. - The publish job runs in the `npm-release` GitHub environment. - `package.json` must include a `repository.url` that exactly matches `https://github.com/ScopeLift/stealth-address-sdk`. - The npm package's trusted publisher settings must exactly match `ScopeLift/stealth-address-sdk`, workflow `publish.yml`, and environment `npm-release`. diff --git a/package.json b/package.json index a83e65a..206a0ac 100644 --- a/package.json +++ b/package.json @@ -32,8 +32,7 @@ "build": "bun run check && bun tsc", "watch": "bun test --watch src", "check": "biome check .", - "fix": "biome check --apply .", - "publish": "bun run build && npm publish --access public" + "fix": "biome check --apply ." }, "devDependencies": { "@biomejs/biome": "1.6.4",