Open aomarks opened 6 years ago
I don't know about as a default for all users, but definitely for us / via a CLI argument / via a prompt
All that's required is adding
"publishConfig": {
"access": "public"
}
to the package.json
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
By default, scoped packages on NPM are private. So the first time you publish an element (e.g. a new element to
@polymer
), it may fail because that scope may not be signed up for private packages (and if it was, you'd probably not want the private default).https://docs.npmjs.com/getting-started/scoped-packages#publishing-a-scoped-package
This cropped up with the
3.0.0-pre.6
round of Polymer element conversions because@polymer/app-media
had never been published:Maybe we should just add
--access public
to https://github.com/PolymerLabs/polymer-workspaces/blob/master/src/npm.ts.