mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
chore: add pkg managers to codemod command
This commit is contained in:
parent
bdb22b3cd3
commit
a3ce89870e
@ -38,9 +38,16 @@ Additionally, we want to avoid any confusion about our library being created or
|
||||
|
||||
We've worked for months to make the migration as seamless as possible. You only need to run one command in your project's root folder:
|
||||
|
||||
```bash
|
||||
npx @heroui/codemod@latest migrate
|
||||
```
|
||||
|
||||
<PackageManagers
|
||||
commands={{
|
||||
npm: "npx @heroui/codemod@latest migrate",
|
||||
pnpm: "pnpm dlx @heroui/codemod@latest migrate",
|
||||
yarn: "yarn dlx @heroui/codemod@latest migrate",
|
||||
bun: "bunx --bun @heroui/codemod@latest migrate"
|
||||
}}
|
||||
/>
|
||||
|
||||
|
||||
This will automatically update your project to use HeroUI.
|
||||
|
||||
|
||||
@ -21,9 +21,15 @@ The easiest way to migrate your NextUI project to HeroUI is using our official c
|
||||
|
||||
Execute the codemod in your project directory:
|
||||
|
||||
```bash
|
||||
npx @heroui/codemod@latest migrate
|
||||
```
|
||||
<PackageManagers
|
||||
commands={{
|
||||
npm: "npx @heroui/codemod@latest migrate",
|
||||
pnpm: "pnpm dlx @heroui/codemod@latest migrate",
|
||||
yarn: "yarn dlx @heroui/codemod@latest migrate",
|
||||
bun: "bunx --bun @heroui/codemod@latest migrate"
|
||||
}}
|
||||
/>
|
||||
|
||||
|
||||
> **Note:** If you're using a monorepo, run the codemod from the root directory
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user