-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: added relevant migration section (#3576)
- Loading branch information
Showing
1 changed file
with
10 additions
and
0 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 |
---|---|---|
|
@@ -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. |