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
{{ message }}
This repository was archived by the owner on Jan 11, 2019. It is now read-only.
Copy file name to clipboardExpand all lines: readme.md
+19-1Lines changed: 19 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,9 @@
4
4
5
5
Codemods to simplify upgrading [AVA](https://ava.li) versions.
6
6
7
+
Codemods are small programs that help you automate changes to your codebase. Think of them as search and replace on steroids.
8
+
9
+
This module contains a set of codemods that enable you to upgrade your code between various AVA releases. It is maintained by the AVA team, and will be updated anytime we introduce breaking API changes. We plan to eventually introduce codemods that allow you to switch from other popular Runners like `mocha` and `tap`.
Simply run `ava-codemods` in your terminal and answer a few questions.
20
+
```
21
+
$ ava-codemods --help
22
+
23
+
Codemods to simplify upgrading AVA versions
24
+
25
+
Usage
26
+
$ ava-codemods [<file|glob> ...]
27
+
28
+
Options
29
+
--force, -f Bypass safety checks and forcibly run codemods
30
+
31
+
Available upgrades
32
+
- 0.13.x → 0.14.x
33
+
```
34
+
35
+
Simply run `ava-codemods` in your terminal and answer a few questions. You can pass a filename directly to the CLI. If you do not, you will be prompted for one.
18
36
19
37
Ensure you have a backup of your tests or commit the latest changes before running this.
0 commit comments