-
Notifications
You must be signed in to change notification settings - Fork 2
/
LICENCE
22 lines (14 loc) · 981 Bytes
/
LICENCE
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Codemod Commons
Codemods, public or private, are preferred to reside in repositories owned by the main organization of their respective projects.
This repository serves as a catch-all for some codemod sources that still have not found thier way to their ideal home or for Codemod-compatible forks of existing codemods for easier publishing.
## Usage
> [!CAUTION]
> These scripts change source code. Commit any unsaved changes before running them. Failing to do so may ruin your day.
To run the transform scripts use [`codemod`](https://go.codemod.com/github) command below:
```console
$ npx codemod <transform> --target <path> [...options]
```
- `transform` - name of transform. see available transforms below.
- `path` - directory to transform. defaults to the current directory.
See the [codemod CLI doc](https://go.codemod.com/cli-docs) for a full list of available commands.
All codemods are also available in the [Codemod Registry](https://go.codemod.com/registry).