-
Notifications
You must be signed in to change notification settings - Fork 70
Closed
Description
Summary
publishConfig
can be defined in package.json
& later used when running npm publish
. Users may not be aware they have separate config defined for this operation making it confusing to debug or troubleshoot.
Exit Criteria
-
npm config list
should log thepublishConfig
configuration if it exists in the cwdpackage.json
(notably, there should be some meaningful distinction to explain & delineate this output similar to how we log user-level config) - ensure config/values are normalized & private information (ex. basic auth in a registry config) is redacted prior to logging
Example
; "publish" config from package.json
registry = "npm.pkg.github.com"
Metadata
Metadata
Assignees
Labels
No labels