Skip to content

Commit

Permalink
docs: added relevant migration section (#3576)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfranzke authored Dec 9, 2024
1 parent 5d10018 commit f0c9706
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/migration/v0.5.x-to-v0.6.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,13 @@ We changed some properties for components to align with Figma properties:

- `variant="hidden"` ➡️ `showLabel="true/false"` - Defaults to `true`
- `customValidity` ➡️ `validation`

## Automate migration via CLI

We provide a cli tool to auto migrate your source code. Use this command in your repository:

```shell
npx @db-ui/[email protected] migration --type=v005_v006 --src=./src
```

Please check the changes made in your codebase afterwards, as this is mainly a simple search & replace and there might be unexpected changes of similar wordings to our icon names for any other methods, or further code occurrences that don't even refer to icons.

0 comments on commit f0c9706

Please sign in to comment.