Skip to content

Commit 26d621c

Browse files
covolute-releaseAleksy Rybicki
and
Aleksy Rybicki
authored
docs: add v1 to v2 automated migration link + cli command (#930)
Co-authored-by: Aleksy Rybicki <[email protected]>
1 parent 44fd439 commit 26d621c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/blog/v2.md

+8
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,14 @@ The only change in v2 is that Shiki will now **emit warnings when you use deprec
4141

4242
Expect v3.0.0 to be released soon after v2.0.0.
4343

44+
## Automated Migration
45+
46+
To help with the migration process, community member [Covolute](https://covolute.com/registry/shiki/v1-to-v2) provides an automated codemod that handles most of the API changes from v1 to v2. You can run it directly with:
47+
48+
```bash
49+
npx covolute@latest shiki/v1-to-v2
50+
```
51+
4452
## Deprecations
4553

4654
We highly recommend you to migrate the depreactions as soon as possible, with the warning messages as a guide.

0 commit comments

Comments
 (0)