-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improve(codemod): @alipay/ob-ui => @oceanbase/ui for locale
- Loading branch information
1 parent
c9e0c1c
commit d430340
Showing
7 changed files
with
36 additions
and
15 deletions.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
packages/codemod/transforms/__testfixtures__/obui-to-oceanbase-design-and-ui/locale.input.js
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import enUS from '@alipay/ob-ui/es/locale/en-US'; | ||
import zhCN from '@alipay/ob-ui/es/locale/zh-CN'; | ||
|
||
const Demo = () => { | ||
return <div />; | ||
}; | ||
|
||
export default Demo; |
8 changes: 8 additions & 0 deletions
8
...ages/codemod/transforms/__testfixtures__/obui-to-oceanbase-design-and-ui/locale.output.js
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import enUS from '@oceanbase/ui/es/locale/en-US'; | ||
import zhCN from '@oceanbase/ui/es/locale/zh-CN'; | ||
|
||
const Demo = () => { | ||
return <div />; | ||
}; | ||
|
||
export default Demo; |
2 changes: 1 addition & 1 deletion
2
packages/codemod/transforms/__testfixtures__/obui-to-oceanbase-design-and-ui/obui.input.js
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
4 changes: 2 additions & 2 deletions
4
packages/codemod/transforms/__testfixtures__/obui-to-oceanbase-design-and-ui/obui.output.js
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
2 changes: 1 addition & 1 deletion
2
packages/codemod/transforms/__tests__/obui-to-oceanbase-design-and-ui.test.ts
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
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
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