-
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #186 from Haroenv/main-1
docs(consuming): package -> packages
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|
@@ -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`. | ||
|