Skip to content

Commit

Permalink
Update Dart 2 codemod guidance
Browse files Browse the repository at this point in the history
  • Loading branch information
greglittlefield-wf authored Nov 3, 2023
1 parent ac5ff4e commit 84685b9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,13 @@ For more information, please see the [INTL Message Codemod Readme](docs/intl_mes

The `dart2_upgrade` codemod that used to be provided by this package is no longer available.

To use it, activate over_react_codemod 1.12.1 instead of the latest:
To use it, you'll need over_react_codemod 1.1.0 instead of the latest, which also must be used with Dart 2.1.0:
```sh
dart pub global activate over_react_codemod ^1.12.1
asdf install dart 2.1.0
asdf shell dart 2.1.0
pub global activate over_react_codemod 1.1.0
```
and see its documentation: https://github.com/Workiva/over_react_codemod/tree/1.12.1#dart-1-to-dart-2-codemod
Once that's set up, see the `dart2_upgrade` documentation here: https://github.com/Workiva/over_react_codemod/tree/1.1.0#dart-1-to-dart-2-codemod

## Checking for Regressions

Expand Down

0 comments on commit 84685b9

Please sign in to comment.