Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/sourcegraph/codemod
- Owner: sourcegraph
- License: apache-2.0
- Created: 2021-07-23T07:39:20.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-15T22:52:18.000Z (7 months ago)
- Last Synced: 2024-04-16T15:43:07.352Z (7 months ago)
- Language: TypeScript
- Size: 1.09 MB
- Stars: 24
- Watchers: 48
- Forks: 5
- Open Issues: 54
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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:watchyarn test
yarn format
yarn format:check
yarn lint
```