pub fn configure(
source: Option<&Path>,
helper: Option<&Path>,
) -> Result<(PathBuf, bool), AuthError>Expand description
Configure pnpm without retrieving credentials or editing shared npm files.
Requires pnpm >=11.13.0, whose auth.ini supports trusted token helpers.
source optionally selects an additional .npmrc registry source.
helper optionally selects an installed executable instead of sibling/PATH discovery.
Returns the auth file and whether it changed. Project configuration is read only.
ยงErrors
Returns an error for unsupported pnpm versions, invalid registries, unsafe helper paths, project-local destinations, or conflicting more-specific credentials.