Skip to content

Commit

Permalink
Merge pull request #186 from Haroenv/main-1
Browse files Browse the repository at this point in the history
docs(consuming): package -> packages
  • Loading branch information
danieldelcore authored Aug 10, 2023
2 parents 30a12e2 + 2eb5c5a commit 3583176
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/docs/consuming.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ To run a codeshift package, install and use the `@codeshift/cli`.
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:

```
codemod-cli --package @mylib/[email protected] project/path/to/src
codemod-cli --packages @mylib/[email protected] project/path/to/src
```

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

```
codemod-cli --package @mylib/[email protected] --sequence project/path/to/src
codemod-cli --packages @mylib/[email protected] --sequence project/path/to/src
```

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

0 comments on commit 3583176

Please sign in to comment.