If your Sourcegraph instance is unable to connect to Sourcegraph.com (due to a firewall), or if you want to customize an extension, you need to publish a local copy to your Sourcegraph instance. To do so, follow these steps:
src
with the URL and an access token for your Sourcegraph instance.npm install
in the clone directory to install dependencies.src extensions publish -extension-id $USER/$NAME
in the clone directory to publish the extension locally to your Sourcegraph instance. Replace $USER
with your Sourcegraph username and $NAME
with with codecov
or typescript
.