Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sourcegraph/codemod

A collection of codemods powered by TS-Morph and PostCSS
https://github.com/sourcegraph/codemod

Last synced: 3 months ago
JSON representation

A collection of codemods powered by TS-Morph and PostCSS

Awesome Lists containing this project

README

        

# @sourcegraph/codemod

A toolkit for writing codemods powered by [ts-morph](https://github.com/dsherret/ts-morph) and [PostCSS](https://github.com/postcss/postcss).

## Docs

Extended documentation is coming to the project. In the meantime, take a look at [the RFC](https://docs.google.com/document/d/1SMxtA4O9vDVqBlAUFwFdxG2wXnDOId2gjAOWtdp3Zas/edit?usp=sharing), which contains all the background information.

## Setup

```sh
yarn
```

## Use

```sh
yarn transform --help
```

## Other commands

```sh
yarn build
yarn build:clean
yarn build:watch

yarn test
yarn format
yarn format:check
yarn lint
```