open-index/open-npm huggingface dataset:
npm package: @sourcegraph/codemod-transforms
Description: @sourcegraph/codemod-transforms
Latest version: 1.0.2

# Transforms

Transform functions built with toolkits defined in this repo.

## Adding new transform

1. Each transform has its own folder.
2. A transform module should have one named export that the CLI package will use to run it over multiple files.
3. For `typescript` transforms use `runTransform` helper defined in `@sourcegraph/toolkit-ts`.
npm package: @sourcegraph/cody-cli
Description: Cody CLI (experimental)
Latest version: 0.0.1

# Cody CLI (experimental)

Cody CLI is an experimental command-line interface for Cody.

## Getting started

```shell
pnpm run build
```

Then ask a question:

<pre><code>
$ <strong>export SRC_ACCESS_TOKEN=sgp_aaaaaaaaaaaaaaaa</strong> # Sourcegraph access token
$ <strong>dist/cody</strong>

✔ What do you want to ask Cody? … <strong>Where is data stored?</strong>
 Data in Sourcegraph is stored in the following places:

...
</code></pre>

Or have it write a commit message for your Git changes:

```shell
$ dist/cody commit --dry-run
```

Use `--help` for more information.

## Development

```shell
pnpm run start
```

### Release

To publish a new release of the `@sourcegraph/cody-cli` package:

1. Increment the `version` in [`package.json`](package.json).
1. Commit the version increment.
1. `git tag cli-v$(jq -r .version package.json)`
1. `git push --tags`
1. Wait for the [cli-release workflow](https://github.com/sourcegraph/cody/actions/workflows/cli-release.yml) to finish.
npm package: @sourcegraph/cody-context-filters-test-dataset
Description: Cody context filters test dataset
Latest version: 1.0.0

# Cody context filters test dataset

This package includes a copy of the dataset used for testing the Cody context filtering logic on the backend.
The dataset is exported so that Cody clients can ensure consistency in how Cody context filters are handled across
both the server and clients.
npm package: @sourcegraph/cody-web
Description: Cody standalone web app
Latest version: 0.41.0

# Cody standalone web app

**Status:** experimental (currently is used by Sourcegraph Web client)

The `@sourcegraph/cody-web` package implements a standalone web app/components for Cody Web.

To run demo standalone web app: 
- Run `pnpm dev` 
- Then open http://localhost:5777 and enter a Sourcegraph.com access token.

If the demo app doesn't load, it could be because there's an invalid token stored in local storage
or in your IndexDB.

To clear the token, open the browser dev tools and run `localStorage.removeItem('accessToken')`.
To clear tokens in IndexDB, open browser dev tools and go to applications tab and clear 
IndexDB tables for http://localhost:5777 domain.

## How to run within Sourcegraph client 

- Build `@sourcegraph/cody-web` package by running `pnpm build`
- Register package local link with `pnpm link --global`
- Go to the Sourcegraph repository and create a link with `pnpm link @sourcegraph/cody-web --global`
- Run Sourcegraph `sg start` or `sg start web-standalone`
npm package: @sourcegraph/create
Description: CLI to bootstrap Sourcegraph npm packages
Latest version: 1.9.2

# Sourcegraph package creator

[![npm](https://img.shields.io/npm/v/@sourcegraph/create.svg)](https://www.npmjs.com/package/@sourcegraph/create)
[![downloads](https://img.shields.io/npm/dt/@sourcegraph/create.svg)](https://www.npmjs.com/package/@sourcegraph/create)
[![build](https://img.shields.io/github/workflow/status/sourcegraph/create/build/master)](https://github.com/sourcegraph/create/actions?query=branch%3Amaster+workflow%3Abuild)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier)
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)

CLI tool to interactively create a repo for a `@sourcegraph` npm package, add all the needed boilerplate and set up CI.

It's idempotent, so you can run it on half-initialized repositories too and it will skip steps already done.

## Use it

```
mkdir my-new-package
cd my-new-package

yarn create @sourcegraph
# or
npm init @sourcegraph
```