Skip to content

Commit 3726209

Browse files
Phil Whittakerclaude
andcommitted
Fix npm publish error by adding --access public flag
Resolves "402 Payment Required" error when publishing scoped package. Scoped packages (@organization/package) are private by default and require the --access public flag to publish as public packages. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent c4c8b21 commit 3726209

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,6 @@ stages:
9090
fi
9191
9292
echo "Publishing version ${version} with tag ${tag}"
93-
npm publish "${files[0]}" --tag $tag
93+
npm publish "${files[0]}" --tag $tag --access public
9494
displayName: Push to npm with dynamic tagging
9595
workingDirectory: $(Pipeline.Workspace)/npm-package

0 commit comments

Comments
 (0)