Skip to content

Commit 2eb5c5a

Browse files
authored
docs(consuming): package -> packages
Not sure if package is also meant to work (would be useful IMO), but I could only get a proper output with `packages`
1 parent 30a12e2 commit 2eb5c5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

website/docs/consuming.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ To run a codeshift package, install and use the `@codeshift/cli`.
2323
For example, say we want to run transforms for `@mylib/button` and migrate from version 13 to the latest version 14, we could run the following:
2424

2525
```
26-
codemod-cli --package @mylib/button@14.0.0 project/path/to/src
26+
codemod-cli --packages @mylib/button@14.0.0 project/path/to/src
2727
```
2828

2929
The following sequence of events will follow:
@@ -41,7 +41,7 @@ It's also possible to run a series of codemods, one after the other, to migrate
4141
This is done my providing the `--sequence` (or `-s`) flag to `@codeshift/cli`.
4242

4343
```
44-
codemod-cli --package @mylib/button@14.0.0 --sequence project/path/to/src
44+
codemod-cli --packages @mylib/button@14.0.0 --sequence project/path/to/src
4545
```
4646

4747
This time around, we use the provided version (14.0.0) as the start of a semver range between `14.0.0-@latest`.

0 commit comments

Comments
 (0)