Open darcyclarke opened 2 years ago
Example / Reference
npm init
package.json
{
"private": "true"
}
# only applies to scoped packages today
npm publish --access=public
# --init-private=false
npm init
package.json
{}
# should be able to publish scoped packages publicly without --access=public
npm publish
What's the opposite config? There should be a way to set it to either private or public, so that folks can insulate themselves fro a breaking change when the default changes.
Summary
Add config for
npm init
that makesprivate
configurable (defaults to--init-private=false
)Exit Criteria