From 2eb5c5a438ea5aa00587fca44c371c266def33da Mon Sep 17 00:00:00 2001 From: Haroen Viaene Date: Thu, 10 Aug 2023 10:32:18 +0200 Subject: [PATCH] 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` --- website/docs/consuming.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/docs/consuming.mdx b/website/docs/consuming.mdx index d60874a45..e2346a06b 100644 --- a/website/docs/consuming.mdx +++ b/website/docs/consuming.mdx @@ -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/button@14.0.0 project/path/to/src +codemod-cli --packages @mylib/button@14.0.0 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/button@14.0.0 --sequence project/path/to/src +codemod-cli --packages @mylib/button@14.0.0 --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`.