{"action":"closed","issue":{"url":"https://api.github.com/repos/rlidwka/sinopia/issues/240","labels_url":"https://api.github.com/repos/rlidwka/sinopia/issues/240/labels{/name}","comments_url":"https://api.github.com/repos/rlidwka/sinopia/issues/240/comments","events_url":"https://api.github.com/repos/rlidwka/sinopia/issues/240/events","html_url":"https://github.com/rlidwka/sinopia/issues/240","id":71525555,"number":240,"title":"solution to prevent accidental publishing to external registry","user":{"login":"iamstarkov","id":559321,"avatar_url":"https://avatars.githubusercontent.com/u/559321?v=3","gravatar_id":"","url":"https://api.github.com/users/iamstarkov","html_url":"https://github.com/iamstarkov","followers_url":"https://api.github.com/users/iamstarkov/followers","following_url":"https://api.github.com/users/iamstarkov/following{/other_user}","gists_url":"https://api.github.com/users/iamstarkov/gists{/gist_id}","starred_url":"https://api.github.com/users/iamstarkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamstarkov/subscriptions","organizations_url":"https://api.github.com/users/iamstarkov/orgs","repos_url":"https://api.github.com/users/iamstarkov/repos","events_url":"https://api.github.com/users/iamstarkov/events{/privacy}","received_events_url":"https://api.github.com/users/iamstarkov/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-28T08:40:14Z","updated_at":"2015-04-28T13:14:56Z","closed_at":"2015-04-28T13:14:56Z","body":"Is there any solution to prevent accidental publishing to external registry? Since Sinopia is good on proxying, then we don’t need external registry for access packages. Since we have a reason to have Sinopia as a internal registry for private and _simple_ hosting our packages, then we don’t want to accidentally publish them to external registry. Is there any solution?\r\n\r\n\"accidentally\" means if newly hired programmer will not logged in into internal Sinopia and will have access to the package and will run `npm publish` — shit will happen. Also experienced user also can accidentally publish packages into external registry if smth bad will happen with their `~/.npmrc` files"}}