You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
with new --allow-publish/--allow-staged-publish the minimum version
of npm needed for the trust command has changed
(cherry picked from commit aac80dc)
Copy file name to clipboardExpand all lines: docs/lib/content/commands/npm-trust.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ description: Manage trusted publishing relationships between packages and CI/CD
12
12
13
13
Before using npm trust commands, ensure the following requirements are met:
14
14
15
-
***npm version**: `npm@11.10.0` or above is required. Use `npm install -g npm@^11.10.0` to update if needed.
15
+
***npm version**: `npm@11.15.0` or above is required. Use `npm install -g npm@^11.15.0` to update if needed.
16
16
***Write permissions on the package**: You must have write access to the package you're configuring.
17
17
***2FA enabled on account**: Two-factor authentication must be enabled at the account level. Even if it's not currently enabled, you must enable it to use trust commands.
18
18
***Supported authentication methods**: Granular Access Tokens (GAT) with the bypass 2FA option are not supported. Legacy basic auth (username and password) credentials will not work for trust commands or endpoints.
0 commit comments