You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/docs/building-codemods/package-requirements.mdx
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ The structure of the codemod package can vary based on the codemod engine used.
13
13
14
14
## Supported codemod engines
15
15
16
-
Codemod platform currently supports the following codemod engines: [`ast-grep`](https://github.com/ast-grep/ast-grep), [`filemod`](https://github.com/codemod-com/codemod/tree/main/packages/filemod), [`jscodeshift`](https://github.com/facebook/jscodeshift), [`ts-morph`](https://github.com/dsherret/ts-morph), and [`piranha`](https://github.com/uber/piranha).
16
+
Codemod platform currently supports the following codemod engines: [`ast-grep`](https://github.com/ast-grep/ast-grep), [`jscodeshift`](https://github.com/facebook/jscodeshift), [`ts-morph`](https://github.com/dsherret/ts-morph), [`Workflow Engine`](/deploying-codemods/workflow-engine), and [`piranha`](https://github.com/uber/piranha).
17
17
18
18
## `.codemodrc.json` reference
19
19
@@ -38,10 +38,10 @@ The `.codemodrc.json` configuration file includes several metafields that can be
38
38
<ResponseFieldname="engine"type="string"required>
39
39
Specifies the engine used to run the codemod.
40
40
Can be any of:
41
-
-`filemod`
41
+
-`ast-grep`
42
42
-`jscodeshift`
43
43
-`ts-morph`
44
-
-`ast-grep`
44
+
-`Workflow Engine`
45
45
-`piranha` (requires additional `language` field that specifies one of the supported piranha languages:
46
46
`java`, `kt`, `go`, `py`, `swift`, `ts`, `tsx`, or `scala`)
47
47
-`recipe` (requires additional `names` field, which is an ordered array of codemod names that will be executed)
@@ -124,7 +124,7 @@ The `.codemodrc.json` configuration file includes several metafields that can be
124
124
Below, you can find the required codemod package structure for each codemod engine supported by Codemod platform.
125
125
126
126
<Tabs>
127
-
<Tabtitle="jscodeshift, ts-morph, and filemod">
127
+
<Tabtitle="jscodeshift and ts-morph">
128
128
```bash
129
129
├── dist
130
130
│ ├── index.cjs # built codemod file. when someone runs your codemod, this file will be executed.
@@ -145,7 +145,7 @@ Below, you can find the required codemod package structure for each codemod engi
0 commit comments